EC2 Flashcards
(24 cards)
What is AMI?
Amazon Machine Image
An image / template that contains the OS you want for an EC2 instance
There are 4 kinds of AMI, what are they?
Amazon Quick Start AMI
AWS Marketplace AMI
Community AMI
Private AMI
What is an Amazoin Quick Start AMI?
Popular OS templates
Linux & Windows
Up to date
Officially supported
What is an AWS Marketplace AMI?
AMI provided by industry vendors like SAP and Cisco
What is a community AMI?
AMI created and maintained by people, independent vendors
What is a private AMI and what is one potential use case?
An AMI created from your own instance deployment
Have own tested, patched instance
Used for auto scaling potentially
Could be imported from an on-prem VM that you want to move to cloud
If you create a private AMI in a region, will it be available in another AWS region?
No
What are the 5 EC2 instance types?
- General Purpose
- Compute Optimized
- Memory Optimized
- Accelerated Computing
- Storage Optimized
T2, T3, M4 & M5 are all EC2 instances of which type?
General Purpose
T2 EC2 general purpose images are burstable. What does this mean?
Accumulate CPU credits in time of low utilization and can be applied during high demand periods
If you have demanding web servers or high end machine learning workflows, what EC2 instance type would you choose?
Compute Optimized
If you have intensive database, data analysis or caching operation then what type of EC2 instance type would you choose?
Memory Optimized
C4 and C5 are example of which type of EC2 instance?
Compute Optimized
X1, X1e and R4 are EC2 types of which instance family?
Memory Optimized
If you have a very demading workload like 3D visualisation or financial analysis then which instance type family would you choose?
Accelerated Computing
P3, P2, G3 & F1 are types from which instance family?
Accelerated Computing
H1, I3 and D2 are types from which instance family?
Storage Optimized
What does tenancy mean in relation to EC2?
Shared Tenancy - default, instance runs on shared hardware
Dedicated Tenancy - dedicated hardware for EC2 instance, a lot more expensive
What is bootstrapping in EC2?
Execute commands on instance as it boots
Could be simple commands to install web server or a lot more complex
What are placement groups and what are the 3 types?
Spread EC2 instances accross AWS infrastructure that is optimal for your use case
Cluster Groups
Spread Groups
Partition Groups
What is an EC2 Cluster placement group?
Each instance in group launched within same availability zone and close proximity physically
Good for low latency
What is an EC2 Spread placement group?
Seperate instance physically accross disctinct hardware even different availability zones
Similar to VMWare DRS
Can’t tolerate physical failure bringing down multiple instances
What is an EC2 Partition placement group?
Associate some instances with each other, placing them in a single partition
Physical seperation from other instances running in other partitions
What is the difference between a spread placement group and a partition placement group?
Spread group separates all instances accross different hardware
Partition group means instances in the group can run on the same hardware but other placements groups will run on other hardware