Section 3 - IAM and S3 Flashcards
What is a Region?
Region: a physical location in the world which consists of 2 or more AZs
What is a AZ?
1 or more discrete data centres, each with: redundant power, networking and connectivity, housed in separate facilities
What is a Edge Location?
Endpoints for AWS which are used for caching content. Typically this consists of CloudFront - Amazon’s CDN
What are the IAM Categories
Users, Groups, Policies, Roles
Describe IAM Users
people, employees of an org
Describe IAM Groups
a collection of users. Each user in group will inherit permissions of group
Describe IAM Policies
made up of documents called policy documents. Formatted in JSON, give permissions as to what a user / group / role is able to do
Describe IAM Roles
you create roles and assign them to AWS resources
Does IAM apply to regions?
No, it is universal
What is the root account?
The “root” account is the account created when you first set up your AWS account. It has complete admin access
In what state is a new IAM user?
New users have NO PERMISSIONS when first created
New users are assigned ACCESS KEY ID + SECRET ACCESS KEYS when first created
These are not the same as a password. They cannot be used to sign in to the console. However, they can be used for programmatic access to access AWS via the API and CLI
You only get to view these once. If lost you have to regenerate them
Describe S3
Simple Storage Service
Provides developers and IT teams with secure, durable, highly-scalable object storage. Amazon S3 is easy to use, with a simple web services interface to store and retrieve any amount of data from anywhere on the web.
How do you know an upload to S3 was successful?
HTTP 200 Status Code
What are the Basics of S3?
E.g. what can you store, where can you store, how much can you store? Url of storage location
- Object-based - i.e. allows you to upload files
- Files can be from 0 bytes to 5TB
- There is unlimited storage
- Files are stored in buckets
- S3 is a universal namespace. Names must be unique globally. Bucket name examples:
https: //acloudguru.s3.amazonaws.com - N. Virginia default region
https: //acloudguru.us-west-1.amazonaws.com - other region
What do S3 objects consist of?
Think of objects just as files. Objects consist of the following:
Key - the name of the object
Value - the data, made up of a sequence of bytes
Version ID - important for versioning
Metadata - data about data you are storing - e.g. department ownership
Subresources
- Access control lists
- Torrent
Describe the S3 Data Consistency Model
- Read after Write Consistency for PUTs of new objects
If you write a new file and read it immediately afterwards you will be able to view that data - Eventual Consistency for overwrite PUTs and DELETEs
If you update an existing file, or delete a file and read it immediately, you may get the older version. Changes to objects can take time to propagate
What does S3 guarantee?
Build for 99.99% availability on the S3 platform
Amazon guarantees 99.9% availability
Amazon guarantees 99.999999999% durability for S3 information (11 x 9s)
What are S3’s core features?
Tiered storage Lifecycle management Versioning Encryption MFA Delete Secure your data using Access Control Lists and Bucket Policies
List the 6 S3 storage classes
- S3 Standard
- S3 IA
- S3 One Zone IA
- S3 Intelligent Tiering
- S3 Glacier
- S3 Glacier Deep Archive
What is S3 Standard?
S3 Standard (FBL = ms) 99.9% availability, 99.999999999% durability, stored redundantly across multiple devices in multiple facilities, and is designed to sustain the loss of 2 facilities concurrently
What is S3 IA?
S3 IA - Infrequently Accessed (FBL = ms)
For data that is accessed less frequently but requires rapid access when needed. Lower fee than S3 Standard, but you are charged a retrieval fee (RSS is similar)
What is S3 One Zone IA?
S3 One Zone IA (FBL = ms)
For where you want the lower-cost option for infrequently accessed data, but do not require the multiple availability zone data resilience
What is S3 Intelligent Tiering?
S3 Intelligent Tiering (FBL = ms)
Designed to optimise costs by automatically moving data to the most cost-effective access tier, without performance impact or operational overload. Uses machine learning
What is S3 Glacier?
S3 Glacier (FBL = minutes or hours) A secure, durable, low-cost storage class for data archiving.. You can reliably store any amount of data at costs that are competitive with or cheaper than on-premises solutions. Retrieval times configurable from minutes to hours
All Storage / Month
$0.004 per GB