Amazon S3 Introduction (associate) Flashcards
What are the Use cases for Amazon S3?
- Backup and storage
- Disaster recovery
- Archive
- Hybrid cloud storage
- Application hosting
- Media buying
- Data lakes & big data analytics
Etc
What are the different security for Amazon S3?
- User based
- IAM Policies: which API calls should be allowed for a specific user from IAM - Resource -Based
- Bucket policies : bucket wide rules from the the S3 console - allows Cross Account
- Object Access Control List (ACL): finer grain (can be disabled)
- Bucket access control list (ACL): less common (can be disabled)
- Encryption: encrypt object in Amazon S3 using encryption keys
An IAM principal can access an S3 object if what?
- The user IAM permissions allow it or the resource policy allows
- And there’s no explicit deny
The S3 bucket policies are _________ based policies
JSON
- Resource buckets and objects
- Effect allow/ deny
- Actions: set of API to allow or deny
- Principal: the account or user to apply the policy to
-Use S3 bucket for policy to grant public access to the bucket
__________ are setting that were created to prevent company data leaks
Block Public Access
S3 can host ____________ and have them accessible on the internet
Static websites
- If you get a 403 forbidden error, make sure the bucket policy allows public reads
What are some features of Amazon S3 versioning?
- You can version your files in Amazon S3
- It’s enabled at the bucket level
- Same key overwrite will change the “version”: 1,2,3
- It’s best practice to verison your buckets
- Protext against unintended deletes (ability to restore a version)
- Easy roll back to previous verison
- Any files that is not versioned prior to enabling versioning will have version “null”
- Suspending version g does not delete the previous versions
What are the different types of Amazon S3 replication & its use case?
- Must enable versions in source and destination buckets
- Cross - Region replication (CRR)
- Same region replication (SRR)
- Buckets can be in different AWS accounts
- Copying is asynchronous
- Must give proper IAM permission to S3
Use cases:
1. CRR- compliance, lower latency access, replication across accounts
- SRR- log aggregation, live replication between production & test accounts