Section - S3 Flashcards
What is AWS S3?
AWS S3 stands for Amazon Simple Storage Service
- Object storage service for the cloud that is highly available
- Objects (Files) are stored in buckets (Directory)
- Objects can be Public or Private
- Store files up to 5TB per file.
- You can set security at the bucket level or individual object leverl using access control lists (ACLs), Bucket policies or access point policies.
- You can enable versioning to create multiple versions of your file in order to proctect against accidental deletion and to use a previous version.
-
AWS S3 is a regional service, but bucket names are globally unique
-
Example S3 URLs:
- https://bucket-name.s3.region.amazonaws.com/key-name
- https://mlankabucket.s3.us-east-1.amazonaws.com/iron-man.jpg
-
Example S3 URLs:
AWS S3 is a Key-Value Store?
- Key
- The name of the object, example iron-man.jpg
- Value
- This is the data itself, which is made up of a sequence of bytes.
- Version ID
- Important for storing multiple versions of the same object
- Metadata
- Data about the data you are stroing e.g. content-type, last-modified etc..
What is AWS S3 durability standard?
- Durability is important so your objects are never lost or compromised.
- Amazon S3 Standard is designed for 99.999999999%(11 9’s) of durability.
What is AWS S3 availability standard?
- Availability is important so you can access your data quickly when you need it.
- Amazon S3 Standard is designed for 99.99% of availability.
Characteristics of AWS S3 Standard class?
- S3 Standard
- General Purpose storage
- Data stored across multiple availability zones (>= 3AZs)
- Low latency and high throughput
- Recommended for frequenctly accessed files
- 99.9% Availability
- 99.99999999999% Durability (11 9’s)
- The default storage class
- use cases include websites, content distribution, mobile and gaming applications, and big data analytics
What ar ethe 7 AWS S3 Storage Classes?
- S3 Standard
- S3 intelligent-Tiering
- S3 Standard Infrequent Access (IA)
- S3 One Zone-Infrequent Access(IA)
- S3 Glacier
- S3 Glacier Deep Archive
- S3 Outpots
Characteristics of AWS S3 S3-IA Standard Infrequent Access (IA) class?
Standard Infrequent Access:
- Data accessed infrequently by requires rapid access.
- Cheaper than S3 standard
- Data stored across multiple availability zones
- 99.9% Availability
- 99.99999999999% Durability (11 9’s)
- recommended for:
- Long-lived data
- Infrequently accessed
- Millisecond access when needed.
Characteristics of AWS S3 Intelligent-Tiering class?
S3 intelligent-Tiering
- Automatically moves data to the most-cost effective storage class
- No retrieval fees
- Automatic cost savings
- Data stored across multiple availability zones
- recommended for data with unknown or changing access patterns.
Characteristics of AWS S3 Outposts class?
S3 Outposts:
- provides data storage on premise.
- single storage class
- Data stored accross multiple devices and servers.
- recommended for:
- Data needs to be kept local
Characteristics of AWS S3 One Zone-Infrequent Access(IA) class?
S3 One Zone-Infrequent Access(IA):
- Like S3 Standard-IA but stored in single availability zone.
- Cost 20% less than S3 standard-IA
- Data stored in this storage class can be lost.
- Availability 99.95%
- recommended for:
- Re-creatable data
- Availability and Durability are not essential
- Millisecond access when needed.
Characteristics of AWS S3 Glacier class?
S3 Glacier:
- Long-term data storage.
- data retrieval takes longer.
- 3 retrieval options:
- 1 - 5 Minutes
- 3 - 5 Hours
- 5 - 12 hours
- Data stored accross multiple availability zones.
- recommended for:
- Long-term backup
- Cheaper storage option
Characteristics of AWS S3 Glacier Deep Archive class?
Glacier Deep Archive:
- Like Glacier but longer access times.
- 2 retrieval options:
- 12 hours
- 48 hours
- Data stored accross multiple availability zones.
- Cheapest of all S3 Options
- recommended for:
- Long-term data archival accessed once or twice a year.
- Retaining data fro regulatory complience requirements
AWS S3 Encryption?
Types of Encryptions applied:
- Encryption in Transit
- SSL/TLS
- HTTPS
- Encryption At Rest - Server Encryption
- SSE-S3 - S3 managed keys, using AES 256-bit encryption
- SSE - KMS - AWS key Management service Keys
- SSE - C - Customer provided keys (You are incharge of managing the keys )
- Encryption at Rest - Client Side Encryption
- You encrypt the files yourself before you upload them into S3
AWS S3 Enforcing Server Side Encryption?
- AWS Console
- Select the encryption setting on your S3 bucket.
- Bucket Policy
- You can enforce encryption using a bucket policy.
When uploading file which requires enforcing of encryption server side, use the following options in your PUT headers request:
- x-amz-server-side-encryption: AES256 (SSE-S3 - S3 Managed keys)
- x-amz-server-side-encryption: aws:kms (SSE-KMS - KMS managed keys)
How AWS S3 Bucket Policies Work?
You can set up access control to your buckets using Bucket Policies.
- Applied at Bucket level
- The permissions granted by the policy apply to all of the objects within the bucket.
- Not Individual Objects
- You can’t attach a bucket policy to an individual object
- Group Files
- A Group of files which need to be accessed by the same people