M7: Storage Flashcards
Module 7
EBS
Persistent storage
Automatically replicated within availability zone
Durable, detachable, block level storage
Directly attached to instances - low latency
Included in AMIs
Can be encrypted for no extra cost
Backup of EBS
Snapshot
Can recreate new volume from a snapshot at any time
Uses of EBS
Boot volumes and storage for EC2
Data storage with file system
Database hosts
Enterprise applications
EBS volume types
Provisioned IOPS SSD-backed EBS volumes
General purpose SSD
Magnetic
EBS costs
Volumes
IOPS
Snapshots
Data transfer
Amazon S3
Object level storage
Includes event notifications
S3 storage classes
Standard: high durability & availability for frequently accessed data
Intelligent tiering: automatically moves data to the most cost effective tier
Standard infrequent access: accessed less frequently but may require rapid access. Good for long term storage and backups
One zone infrequent access: as above but instead of the usual 3 availability zones. Secondary backups or easily recreatable data
Glacier: data archiving, 3 retrieval options, can upload data directly or use lifecycle policies
Glacier deep archive: for data accessed once or twice a year. 11 9s of durability. Restored within 12 hours.
S3 buckets
Data stored inside buckets Named uniquely Associated with a specific region Good for - application data - static website hosting - storage of backups of data (can be configured for cross region replication) - application hosting - media hosting
S3 payments
Storage type
Pay for what you use: amount of storage
Transfer out of region
Put, copy, post, list and get requests
Amazon EFS
Storage for EC2 instances that multiple virtual machines can access at the same time
Dynamically scales on demand
To create EFS
- Create EC2 resources and launch instance
- Create EFS
- In the appropriate subnets, create your mount targets.
- Connect to your amazon EC2 instance and mount the EFS
- Clean up your resources and protect your AWS account
Mount target properties
Mount target ID
Subnet ID for the FS where it was created
File system ID for the file system where it was created
An IP address where the file system can be mounted
The mount target state
Amazon S3 Glacier concepts
Archive: any object, has own ID
Vault: container for storing archives. Vault name & region.
Vault access policy: who can do what
Retrieval: expedited, standard, bulk
Lifecycle policy
Cycle data between different storage types at regular intervals
S3 vs S3 Glacier encryption
Can transfer securely over HTTPS
Data archived in S3 Glacier is encrypted by default
Server side encryption must be initiated by application for S3