Technology Flashcards
What is S3?
Simple storage service
secure, durable, highly-scalable flat object storage
Files from 0 to 5TB
unlimited storage in buckets
HTTP 200 code if upload successful - cannot upload database
Universal namespace - global service
What does object consist of?
Key - name Value - data Version ID Metadata Subresources - access control lists, torrent
How does data consistency work for S3?
Read and write consistency for PUTS of new objects
Eventual consistency for overwrite PUTS and DELETES can take longer ie will see older version
What does Amazon guarantee for S3?
11 9s durability 99.99…
99.9% availability
What are the features of S3?
Tiered storage available Object lifecycle management Versioning Encryption at rest Secure your data using access control list and bucket policies Static website hosting
What are the storage classes?
S3 Standard - 11 9s and 99.9% one
S3 infrequently accessed - rapid access but with retrieval fee
S3 One Zone IA - not as resilient
S3 Intelligent Tiering - optimise costs using machine learning
S3 Glacier - secure, durable, and low cost storage class for data archiving
S3 Glacier deep archive - lowest cost with 12 hour retrieval time
S3 Outpost - object storage on prem
How are you charged for S3?
Storage, requests, storage management pricing, data transfer pricing, transfer acceleration, cross region replication pricing
What is S3 transfer acceleration?
enables fast, easy, and secure transfers of files over long distances between your end users and an S3 bucket
Transfer acceleration takes advantage of amazon cloudfront’s globally distributed edge locations - data is routed to amazon S3 over an optimised network path from edge location
How can bucket access be restricted?
Bucket policies
Object policies
IAM policies to users and groups
What is S3 Versioning?
Stores all versions of an object Great backup tool Cannot be disabled Integrates with lifecycle rules Versioning's MFA delete capability
What is CloudFront?
Content Delivery Network (CDN) - distributed servers that deliver webpages and other web content to a user based on the geographic location of the user, the origin of the webpage, and a content delivery server
What is an edge location?
Location where content will be cached - separate from AZ
What is the origin?
Origin of all the files CDN will distribute - eg S3 bucket
What is distribution?
Name given to CDN for collection of Edge locations
Two types - web or RTMP
What is TTL?
Time to live - Default 24 hours
What is EC2?
Elastic cloud compute
virtual server - reduces the time to obtain and boot new server instances to minutes, allowing you to quickly scale capacity up or down
What are the pricing models?
On demand - fixed rate by the hour with no commitment
Reserved - capacity reservation huge discounts on hourly charge - 1/3 year contracts
Spot - bid price that you want to pay
Dedicated host - physical EC2 servers, reduce your costs allowing you to use server-bound software licenses
What is reserved useful for?
Steady state or predictable usage
Require reserved usage
What is spot pricing useful for?
Applications that have flexible start and end times
Applications that are only feasible at very low compute prices
Users with urgent computing needs for large amounts of additional capacity
What is dedicated host useful for?
Regulatory requirements that may not support multi-tenant virtualisation
Can be purchased on-demand
What is EBS?
Allows you to create storage volumes and attach them to Amazon instances
once attached you can create a file system on top of these volumes, run a database, or use them in any other way you would like
What types of EBS?
SSD - general purpose (GP2) or provisioned IOPS (IO1)
Magnetic - throughput optimised HDD (ST1) or
Cold HDD (SC1) or magnetic
Why use roles?
Roles are much more secure than using access key id’s and secret access keys are much easier to manage
Can apply role to EC2 instance at any time - acts immediately
Roles are universal - do not need to specify what region they are in
What is an application load balancer?
Good for applications
Can view code
Layer 7 aware - make intelligent decisions
What is a network load balancer?
Ultra-high performance and static IP addresses
What is a classic load balancer?
Test & Dev, Keep costs low