Storage Services Flashcards
Amazon Elastic Block Store (EBS)
- EBS volume data persists independently of the life of the
instance - EBS volumes do not need to be attached to an instance
- You can attach multiple EBS volumes to an instance
- You can use multi-attach to attach a volume to multiple instances but with some constraints
- EBS volumes must be in the same AZ as the instances they are attached to
- Root EBS volumes are deleted on termination by default
- Extra non-boot volumes are not deleted on termination by default
Amazon Elastic Block Store (EBS)
What happens to volumes upon termination of the instance?
- Root EBS volumes are deleted on termination by default
- EBS volumes are AZ specific but snapshots are region specific
EBS Snapshots
- Snapshots capture a point-in-time state of an instance
- Snapshots are stored on S3
- If you make periodic snapshots of a volume, the snapshots are incremental
- EBS volumes are AZ specific but snapshots are region specific
Data Lifecycle Manager (DLM)
DLM automates the creation, retention, and deletion of EBS
snapshots and EBS-backed AMIs
* DLM helps with the following:
* Protects valuable data by enforcing a regular backup schedule
* Create standardized AMIs that can be refreshed at regular intervals
* Retain backups as required by auditors or internal compliance
* Reduce storage costs by deleting outdated backups
* Create disaster recovery backup policies that back up data to
isolated accounts
Instance Store Volumes
- Instance store volumes are high performance local disks that are physically attached to the host computer on which an EC2 instance runs
- Instance stores are ephemeral which means the data is lost
when powered off (non-persistent) - Instances stores are ideal for temporary storage of
information that changes frequently, such as buffers, caches, or scratch data
Amazon Elastic File System (EFS)
File-based storage system
* Uses the NFS protocol
* Can connect many EC2 instance concurrently
* EC2 instances can be connected from multiple AZs
* Only available for Linux instances
* Can connect instances from other VPCs
Amazon Simple Storage Service (S3)
You can store any type of file in S3
* Files can be anywhere from 0 bytes to 5 TB
* There is unlimited storage available
* S3 is a universal namespace so bucket names must
be unique globally
* However, you create your buckets within a REGION
* It is a best practice to create buckets in regions that
are physically closest to your users to reduce latency
S3 Storage Classes
S3 Standard (durable, immediately available, frequently accessed)
* S3 Intelligent-Tiering (automatically moves data to the most cost- effective tier)
* S3 Standard-IA (durable, immediately available, infrequently
accessed)
* S3 One Zone-IA (lower cost for infrequently accessed data with less
resilience)
* S3 Glacier (archived data, retrieval times in minutes or hours)
* S3 Glacier Deep Archive (lowest cost storage class for long term
retention)
S3 Features
*Transfer acceleration – speeds up uploads using CloudFront
* Requester pays – the account requesting the objects pays
* Events – can trigger notifications to SNS, SQS and Lambda
* Static website hosting – setup a static website
* Encryption – encrypt objects in the bucket
* Replication – replicate within (SRR) or across (CRR) Regions
S3 Versioning
*Versioning is a means of keeping multiple variants of an object
in the same bucket
* Use versioning to preserve, retrieve, and restore every version
of every object stored in your Amazon S3 bucket
* Versioning-enabled buckets enable you to recover objects from
accidental deletion or overwrite
S3 Glacier
Extremely low cost and you pay only for what you need
with no commitments of upfront fees
* Two classes Glacier and Glacier Deep Archive
Options for access to archive
Expedited, Standard, Bulk
Data access time (Glacier): 1-5 minutes, 3-5 hours, 5-12 hours
Data access time (Deep Archive): N/A, 12 hours, 48 hours
S3 Object Lock
- Store objects using a write-once-read-many (WORM)
model - Prevent objects from being deleted or overwritten for a
fixed time or indefinitely
S3 Glacier Vault Lock
- Also used to enforce a write-once-read-many (WORM) model
- Can apply a policy and lock the policy from future edits
- Use for compliance objectives and data retention
AWS Storage Gateway
- Hybrid cloud storage service
- Access cloud storage from on-premises applications
- Enables access to proprietary object storage (S3) using
standard protocols
AWS Storage Gateway
Use cases?
- Moving backups to the cloud
- Using on-premises file shares backed by cloud storage
- Low latency access to data in AWS for on-premises applications
- Disaster recovery