S3 101 Flashcards
S3
Simple Storage Service
What is S3 for?
Its’ AWS primary storage service. Provides a secure, durable and highly scalable object storage
What are S3’s file size limits?
Files can go from 0 bytes to 5 TB’s
Does S3 have storage limitations?
S3 has unlimited storage
What is meant by “S3 is a universal namespace”?
S3 names must be unique globally
Where are objects?
An object is a file and any metadata that describes it
What is the format of object name?
A web address
What do you get in return upon a successful load of an object to S3?
You receive an HTTP 200 code
What is a Bucket?
It’s a root level folder you create in S3
What are the structural requirements when creating a Bucket?
You must specify the Region where the bucket to exist. Any objects loaded to the S3 bucket will be physically located in the data center in that Region
What is a good practice when creating a bucket?
Chose a Region that is physically closest to you to reduce transfer latency
What does an object consists of?
- Key (Name of the object)
- Value (data)
- Version ID (for versioning)
- Metadata
- Subresources
What does a subresource consist of?
- Access Control List (ACL)
2. Torrent
What is Access Control List (ACL)?
Permissions of the object at Bucket or object level
What is the data consistency model in S3?
- Read after write consistent for PUTS of new objects
2. Eventual consistency for overwrite PUTS and DELETES
What are S3 Guarantees?
- 99.99% S3 platform availability
- 99.9 availability
- 99.999999999% durability
What are S3 features?
- Tiered Storage
- Lifecycle Management
- Versioning
- Encryption
- MFA Delete
- Secure data using ACL’s and Bucket policies.
S3 Storage Classes
- Standard
- Infrequent access (IA)
- One Zone IA
- Intelligent Tiering
- Glacier
- Archive Glacier
S3 Standard
- Most expensive
- 99.99 availability 3. 99.999999999 durability
- Redundant storage across multiple facilities and devices
- Able to sustain the loss of facilities concurrently
S3 Infrequent Access
- For data less frequently accessed but requires rapid access
- Lower fees than standard
- Charged a retrieval fee
S3 One Zone Infrequent Access
- Lower cost than IA
2. No redundant data storage
Which is more resilient S3 Standard or S3 One Zone IA?
Standard S3 because data is spread across multiple availability zones.
S3 Intelligent Tiering
Automatically moves data to most cost effective access tier w/o performance impact or operational overhead
Glacier
- For data archiving
- Can store any amount of data
- Retrieval times can go from minutes to hours
Glacier Deep Archive
- Lowest cost storage
2. Retrieval times of up to 12 hours
What is object durability?
Is the percent over a one year time period that an object stored in S3 will not be lost
What is object availability ?
Is the percent over a one year period that an object stored in S3 will be accessible
S3 Charges
S3 Charges for:
- Storage
- Requests
- Storage Management
- Data Transfers
- Transfer acceleration
- Cross Region Replication
What is Transfer acceleration?
- Enables fast, easy and secure transfer of objects over long distances between end users and an S3 bucket
What is Cross Region Replication?
Replicates objects in buckets across regions (for high availability and disaster recovery)
How does Transfer Acceleration works?
It takes advantage of CloudFront global distribution and edge locations. As data arrives to edge locations data is routed to S3 over an optimized network path
By Default S3 Bucket and files within are…
not accessible to anyone unless they are set to public
What is a potential risk with S3 One Zone IA?
If zone fails you can lose data
When should you use S3 One Zone IA?
If there is not need to worry about redundancy
Generally, which one is a better option, Standard or Intelligent Tier?
Intelligent Tier may be a better option S3 standard because it can S3 standard and infrequent access (IA)
By default newly created buckets are….
Private
What tools can be leveraged to set up access controls to buckets?
- Bucket polices - for bucket level controls
2. Access Control List - for individual object level controls
What are S3 access logs?
Logs of all requests made to S3 bucket
What is S3 In Transit Encryption?
Protects data as it travels to and from Amazon S3 achieved by SSL/TLS
What is S3 At Rest Encryption?
Protects data stored on server side (disk) on Amazon data centers
Type of S3 Encryption
- In Transit
2. At Rest (On server side)
How is S3 Server side encryption managed?
- S3 Managed Keys - Amazon manages encrypt/decrypt keys (SSE-S3)
- AWS Kay Management Service - User and Amazon manage keys together (SSE-KMS)
- Server Side Encryption with Customer Provided Keys - User gives Amazon own keys that are managed by user (SSE-C)
- Client Side Encryption
Versioning
- Stores all version of an object (writes & deletes)
- Once enable, it cannot be disabled (only suspended)
- Integrates with Lifecycle rules
- MFA delete capability can be used to provide additional layer of security
- Great back up tool