Deck 2 Flashcards
S3 durability
99,999999999%
AWS storage gateway types
- Gateway-cached volumes: Store primary data and cache most
recently used data locally - Gateway-stored volumes: store entire dataset on site and
asynchronously replicate data back to S3 - Gateway-virtual tape library: Store your virtual tapes in either S3 or
Glazier.
Are you charged for EIPs?
- Used: free
- Instance stopped: charges
Is it possible to tag an EIP?
No
Services with automated backup
- RDS
- Elasticache (REDIS)
- Redshift
Services without automated backup
EC2
What happens with backups when you delete a RDS instance?
- Automated: erased
- Manual: preserved
Where are all backups (RDS, ElastiCache, Redshift, EC2) stored?
S3
Things to have in account with ElastiCache backups?
- For Redis only
- Entore cluster snapshotted
- Degrades performance
- Set up during least busy part of day
Elasticache Memcached. Is it possible to backup cluster?
No
Is it possible to have automated backups in EC2?
You can create your own automated backups by:
- Using command line
- Using Python scripts
Main diference between instance store and EBS
- Instance Store (ephemeral): non persistent
- EBS: persistent
Types of volumes
- Root volume: where OS is installed
* Additional volumes: other volumes (data)
Is it possible to stop an instance store instance?
No, only reboot or terminate
When is suitable to use ephemeral disks?
- Temporary storage (buffers, caches, etc)
- When data is replicated
Strategies to keep data safe
- Store in S3
- Using EBS volumes
Is it possible to disable “delete on termination” on EBS root volumes?
Only during instance creation
Which have a faster boot, instance store or EBS?
EBS is faster because when booting from instance store, the data is downloaded from S3 to the local disk.
Is it possible to attach an EBS to an instance in a different AZ?
No
Is it possible to attach an EBS to more than 1 instance?
No
Charges related with EBS-backed instance
- Instance usage
- EBS volume usage
- Storing AMI as EBS snapshot
Charges related with instance store-backed instance
- Instance usage
- Storing AMI as EBS snapshot
EBS volume size limit
16 TB
Instance store volume size limit
10 GB
Elements for a tiered backup solution
S3
Glacier
S3 max object size
5 TB
When you should use S3 multipath upload?
- Recommended if file is greater than 100MB
- Compulsory if is
greater than 5GB
Where to store logs?
- Using 3rd party centralized monitoring platform (logs can be stored in S3)
- Using Cloudwatch logs (Instances need permission to push logs to CWL)
- Using Access logging on S3 (S3 only)
What is OpsWorks?
Application management service that helps you automate operational tasks like: • Code Deployment • Package installations • Server scaling • Software configurations • Database setups
OpsWorks main elements
- Stack: Container (or group) of resources (ELB,RDS,EC2,etc)
* Layer: Exists within a stack. Consists in applayer, DBlayer,etc.