IAM and S3 Flashcards
What is IAM and what does it offer?
Identity Access Management
- allows many security features such as MFA, Temporary Access, and Granular Permissions
Key terms for IAM: Users, Groups, Policies, Roles
Users - individual end user ex. employee
Groups - Collection of users, each user in group inherits group perms.
Policies - JSON documents that give perms to users, groups, and roles
Roles - roles are like permissions for AWS resources (i.e. you might give a VM in AWS to write files to S3)
Is IAM functionality regional or global?
Global
What is the root account
Main AWS account created at first setup. Has complete Admin Access (God mode)
Do new users have permissions when first created?
NO
What are the two types of access given to new users?
Console and Programmatic
Which service would you use to collect and monitor metrics such as billing information, and set alarms that watch those metrics?
CloudWatch
What does S3 Stand for?
Hint: SSS
Simple Storage Service
What kind of storage does S3 use?
Object based storage
Is S3 global? Can you create 2 buckets with the same name?
Yes. No.
In S3 what makes up an object?
Key(name), Value(data), Version ID, Metadata, Subresources(Access Control Lists, Torrents)
How does data consistency work for S3?
- Read after Write consistency for PUTS of new Objects (Can read objects right after saving them)
- Eventual Consistency for overwrite PUTS and DELETES (Takes some time for the object to be updated or deleted)
What are the S3 Storage Tiers and a brief description?
S3 Standard - standard tier with high availability and durability
S3 IA (Infrequently Accessed) - Cheaper than Standard but has a retrieval fee. Good for objects that need immediate access but rarely
S3 One Zone IA - Like IA but even cheaper because it is stored in only one availability zone and thus slightly less resilient
S3 Intelligent Tiering - Uses machine learning to move data to different tiers based on users use
S3 Glacier - Used for archiving. Very cheap with higher retrieval times.
S3 Glacier Deep Archive - Cheapest storage tier, also for archiving. Retrieval times of up to 12 hours.
Video: S3 Security and Encryption
Question: How does access control work for S3?
By default buckets are private.
You can create bucket policies as well as ACL’s for buckets and individual objects.
Video: S3 Security and Encryption
Question: What kinds of encryption at rest does S3 offer?
SSE-S3: S3 Managed Keys - Encryption keys are provided by AWS
SSE-KMS: AWS Key Management Service - Manage keys inside AWS
SSE-C: Customer Provided Keys - Encryption keys are provided by the user
Client Side Encryption - Upload already encrypted objects
NOTE: You can encrypt an entire S3 bucket