EC2 Flashcards
EC2
Batch processing media transcoding high performance web servers scientific modeling ML gaming servers. What type of EC2 instance?
Compute Optimized
High performance RDBMS or NonRDMBS, distributed webscale cache stores, In memory DB for BI, real time proecssing of big structured data. What type of EC2 instance?
Memory Optimized
OLTP, RDBMS and NoSQL DB, Cache in memory DB like Redis, DW, distributed file system. What type of EC2 instance?
Storage Optimized
It’s a firewall around EC2
Only ALLOW
Reference by IP or other SGs
Security Groups
Ways to connect to EC2
Using SSH, EC2 instance connect and Putty
Pay by sec after first min (Linux and Windows). For other OS Pay by hour. Stopped instances, however, do not incur charges. [For short term uninterruped workload]
On Demand
Commit to an instance type, Region, Tenancy(host, dedicated, default) and OS. Reserved Instances incur charges for every clock-hour during the selected term, regardless of instance running status [For steady state usage like DB]
Reserved (1 or 3 years)
Same as Reserved except you can change instance type, family, region, tenancy or OS Savings Plan (1 or 3 years) -
Convertible Reserved
(like $10/hour) instead of instance type. Can change instance size, OS and Tenancy
Commit to usage
Short workloads and can lose the ec2 instance [For batch jobs, data analysis, image processing, etc]
What type of instance?
Spot
Dedicated entire physical server and unshared. On demand or resereved [For compliance or existing server bound s/w licences]
Dedicated host
Dedicated entire physical server and shared [No control on instance placement. Can move h/w after stop/start]
Dedicated instance
Reserve capacity in specific AZ for any duration. No time commitment. If you dont run you are still charged. [For short term uninterruped workload in a specific AZ]
What type of reservation?
Capacity reservations
Network drive you can attach to your EC2 instance
Data remains even EC2 instance is terminated
Mounted on 1 instance at a timeBound to an AZ
Move data from 1 instance to another
EBS(Elastic Block Storage)
Backup of EBS volume at a time
Used to move EBD volume data from one AZ/Region to another
EBS Snapshot