EC2 Flashcards
EC2
Elastic Compute Cloud
IaaS
EC2 Capabilities
Rent VM’s (EC2)
Store data (EBS)
Load balancing (ELB)
Scale using auto-scaling group (ASG)
EC2 OS’s
Windows, Mac, Linux
Bootstrapping
Launch commands when the machine starts
EC2 User Data Script
Bootstrap Script
EC2 Keypair
Used to connect securely to EC2 Instance
General purpose instance type
Diverse workloads
Balance of resources
Compute optimized Instance Type
Compute intensive tasks
Compute optimized good for
High performance
Memory Optimized Instance Type
Workloads that process large data sets in memory
Memory Optimized Instance Type use cases
High performance databases
Distributed web scale cache stores
In-memory DB’s for BI
Apps processing real-time big unstructured data
Storage Optimized Instance type
Storage intensive tasks requiring high sequential read/write to large data on local storage
Storage Optimized Instance type use cases
High frequency OLTP
Relational and NoSQL DB
Cache for in-memory DB’s (Redis)
Data warehousing apps
Distributed File Systems
Security groups
Control traffic in and out of instances
Security groups contain…
Rules
Security groups act like…
Firewalls
SFTP port
22
EC2 Instance Connect
Use web browser to connect to EC2 Instance
IAM Roles
Provides creds to an EC2 instance
Reserved instances used for…
Long running workloads