S3 Flashcards
What is an object in S3?
It is a file
What is a bucket in S3?
It is a directory
What are 2 things to remember when creating a new bucket?
- You must choose a globally unique name
- Buckets are defined at the region level
What are 4 restrictions when choosing a bucket name?
- No uppercase
- No underscore
- 3-63 chars long
- Not an IP
Are the really directories in S3?
No, the UI looks like it but there are only buckets and objects?
How do we access Objects?
We use the Key
What is the Object Key?
It is the full path after the bucket name
Example: s3://mybucket/
What is the max size of an object?
The max size is 5TB
What is the largest size that can be uploaded at once?
5GB
How do I upload a 5TB object if the max to upload in one time is 5GB?
Use Multi-part upload
Can I version my files in S3?
Yes
How do I enable versioning?
Versioning is enabled at the bucket level
Using versioning, what if I upload a new file using the same key?
It will not overwrite, it will create a new version of the file
What are the 4 methods of encryption for S3?
- SSE-S3: encrypts objects using keys managed by AWS
- SSE-KMS: uses AWS Key Management Service to manage encryption keys
- SSE-C: manage your own encryption keys
- Client Side encryption
How does SSE-S3 work?
Uses AWS keys to encrypt objects server side and uses the AES-256 encryption type