S3 Flashcards
(119 cards)
- Backup and storage
- Disaster Recovery
- Archive
- Hybrid Cloud storage * Application hosting
- Media hosting
- Data lakes & big data analytics * Software delivery
- Static website
Amazon S3 Use cases
Amazon S3 allows people to store __________ in ___________.
objects (files)
“buckets” (directories)
Buckets must have a ___________ (across all regions all accounts)
globally unique name
What level are Buckets defined at?
region level
Amazon S3 Objects (files) have a ______?
Key
What is the max size of an Object?
5TB (5000GB)
If uploading more than 5GB, must use _____________?
“multi-part upload”
3 things that an object can have other than the body??
- Metadata (list of text key / value pairs – system or user metadata)
- Tags (Unicode key / value pair – up to 10) – useful for security / lifecycle
- Version ID (if versioning is enabled)
2 ways to grant access to a S3 bucket?
User-Based
Resource-Based
Which API calls should be allowed for a specific user
IAM Policies (User-Based)
What are the 3 Resource-Based Amazon S3 – Security?
Bucket Policies
Object Access Control List (ACL)
Bucket Access Control List (ACL)
Bucket wide rules from the S3 console - allows cross account
Bucket Policies (Resource-Based)
Which resouce based security is finer grain and can be disabled
Object Access Control List (ACL) (Resource-Based)
Which resouce based security is less common and can be disabled
Bucket Access Control List (ACL) (Resource-Based)
an IAM principal can access an S3 object if …..
- The user IAM permissions ALLOW it OR the resource policy ALLOWS it
- AND there’s no explicit DENY
S3 Bucket Policies JSON based policies (4)
- Resources: buckets and objects
- Effect: Allow / Deny
- Actions: Set of API to Allow or Deny
- Principal:The account or user to apply the policy to
Bucket Policies JSON based policies - buckets and objects
Resources
Bucket Policies JSON based policies - Allow / Deny
Effect
Bucket Policies JSON based policies - Set of API to Allow or Deny
Actions
Bucket Policies JSON based policies - The account or user to apply the policy to
Principal
Use S3 bucket for policy to:
- Grant public access to the bucket
- Force objects to be encrypted at upload
- Grant access to another account (Cross Account)
Can be set at the account level
Bucket settings for Block Public Access
S3 can host __________ and have them accessible on the Internet
static websites
f you get a _________ error, make sure the bucket policy allows public reads!
403 Forbidden