S3 Flashcards
(96 cards)
S3
Simple Storage Service
What is S3
provides developers and IT Teams with secure, durable, highly-scalable object storage.
Object based storage
where you can store files, pictures, pdfs etc
Block Based Storage
EC2 - where you install operating system, databases or applications
File size that can be stored in S3
0 - 5 TB
S3 storage
unlimited
S3 Files are stored in
Buckets
S3 naming
universal namespace - it has be unique globally;
Sample of an S3 name
https://s3-eu-west-1.amazonaws.com/acloudguru
When you upload a file to S3, this will be returned when the upload is successful
HTTP 200
Data consistency model for S3
- Read after write consistency for PUTS of new objects
2. Eventual Consistency for overwrite PUTS and DELETES (can take sometime to propagate)
Read after Write consistency
Uploading a file and able to read/access it right away (millisecond after)
Eventual consistency
if we’re updating/deleting a file, we might get 2 files -old and new but eventually you’ll be able to get the new file (after a min) - delay is due to the fact that S3 is spread across multiple AZs
S3 is object based; objects consists of the following
- Key
- Value
- Version ID
- Metadata
- Subresources
Key
name of the object
Value
simply the data and is made up of sequence of bytes; it’s the data inside the files (hello cloud gurus)
Metadata
tags (owned by sales marketing etc)
Access Control List
putting individual permissions on a file
Version ID
important for versioning
S3 durability for all storage classes
99.99999999 (11x9s)
S3 Tiered Storage
storage classes
LIfecycle Management
archiving files; moving files from one storage tier to another based on how old the file is
Versioning
multiple versions of the file
Securing your data in S3 using:
- Access Control Lists
2. Bucket Policies