S3 Flashcards
S3 ProTips
What does S3 means?
Simple Storage Service.
What are S3 File Size Limit ?
0B to 5 TB. Unlimited Storage
S3 Naming Convention / Buckets
- Names use a universal namespace.
- Names must be globally unique (not specific to a region)
- Buckets are similar to folders
- Data is stored in key-value pairs.
What is S3 Data Consistency Model?
- Read after write for PUTS of new objects
- Eventual consistency for overwrite PUTS and DELETES (it can take some time to propagate)
What are the storage classes/tiers of S3?
S3 Standard General purpuse, (Durable, immediately available, frequently accessed).
S3 - Intelligent Tiering - Designed to optimize cost of unknown or changing access patterns, by automatically moving data to the most cost-effective tier.
S3-IA (Infrequently accessed) (Durable, immediately available, infrequently accessed).
S3-IA One Zone (Durable, immediately available, infrequently accessed, only available in one availability Zone).
S3 - Glacier - Secure, durable and low-cost for data archiving, retrieval from minutes to hours.
S3 - Glacier Deep Archive - Lowest cost storage, with retrieval of 12 hours acceptable.
What are S3 Encryption Capabilities:
In transit:
SSL/TLS
At Rest:
On the server side:
- S3 Managed Keys SSE S3- Amazon manages all keys
- S3 Key Managed Service - SSE KMS - Customer and AWS
- S3 Customer Provided Keys - SSE - C
On the customer side:
- You upload everything encrypted.
1) Client Side Encryption 2) Server Side Encryption (SSE) 2a) Amazon S3 Managed keys (SSE-S3) 2b) KMS (SSE-KMS) (provides audit logs) 2c) Customer-Provided Keys (SSE-C)
How do you control Bucket Access ?
By default buckets are private and all objects stored inside them are private
You can grant access to them with:
1) Bucket ACLs
2) Bucket Policies
Describe S3 Versioning features.
- Stores all versions of an object. (inclusive of writes and deletes)
- A great backup tool
- Can be integrated with life-cycle rules
- You pay for each version of an object.
Can versioning be disabled?
No, versioning can never be disabled, only suspended.
How does Versioning works with MFA?
Versioning can integrate MFA with the delete option.
What does S3 CRR stands for?
Amazon S3 Cross Region Replication.
What is S3 Cross Region Replication (CRR)?
It’s a feature that can be enabled in S3, to replicate data from one bucket in one region to another bucket in another region. This can be done for Disaster Recovery
What are Cross Region Replication (CRR) Requirements?
- Versioning must be enabled on both the source and destination buckets.
- Regions must be unique.
- Existing Files in the bucket are not replicated automatically.
CRR Restrictions:
- You cannot replicate to multiple buckets.
- You cannot Daisy chain your multiple region buckets.
- Delete markers are not replicated, nor deleted versions.
- Deleting individual versions or delete markers will not be replicated.
What is S3 Lifecycle Management?
- It’s an S3 feature that allows to move objects accross storage classes, according to rules
- Can be used in conjunction with versioning
- Can be applied to current and previous versions.
Explain some usual S3 Lifecycle Management rules:
- Move objects from Standard to IA storage class after 30 days of creation.
- Archive to the Glacier storage Class after 30 days
- Permanent delete of old objects
If you are looking to reduce storage costs how would you go about doing this?
Enable Lifecycle Management
How can you Secure your S3 Buckets ?
- They are set to private by default.
- You can setup ACLs
- You can create Bucket Policies S3
- Buckets can be configured to create access logs which log all requests made to the S3 bucket.
What is Snowball?
AWS Snowball is a data transport solution that accelerates moving terabytes to petabytes of data into and out of AWS using storage appliances designed to be secure for physical transport
What is Snowball Edge ?
It is a snowball with compute functionality.
AWS DC in a box.
What is Snow Mobile?
- This is a container on a truck, designed for massive amounts of data migration.
- Peta and Exabyte sized storage.
- USA only
What is S3 transfer acceleration?
Its an S3 feature that allows the usage of CloudFront Edge Locations, and then AWS uses it’s backbone to transfer data to the actual bucket.
Once enabled, it creates a distinct URL to upload your files.