EC2 Flashcards
What are the instance types?
General purpose
Compute optimized
Memory optimized
Storage optimized
What workloads are general purpose EC2 instances good for?
Diverse workloads such as code repositories and web servers
What workloads are Compute optimized EC2 instances good for?
Compute-intensive tasks that require high performance
What workloads are Memory optimized EC2 instances good for?
Fast performance workloads that process large data sets in memory
What workloads are Storage optimized EC2 instances good for?
storage-intensive tasks that require high, sequential read and write access to large data sets on local storage
What is a security group?
Firewall around EC2 instances that controls how traffic is allowed into or out of EC2 instances
What do security groups regulate?
Access Ports
Authorized IP ranges
Inbound network traffic
Outbound network traffic
What should you do when an EC2 instance needs to access AWS?
Assign it a role
What are the EC2 purchasing options?
On-Demand Instances Reserved Instances Spot instances Dedicated Hosts Dedicated instances
What type of workloads are a good fit for On-Demand Instances?
Short term and uninterrupted workloads
What are key characters for On-Demand Instances?
Pay for what you use
Highest cost with no upfront payment
No long-term commitment
What type of workloads are a good fit for Reserved Instances?
Long term, steady-state usage applications (i.e database)
What are the reserved instance types?
Reserved Instances
Convertible Reserved Instances
Schedule Reserved Instances
What EC2 purchasing option is the most cost expensive?
Dedicated hosts
What EC2 purchasing option is the least cost expensive?
Spot instances
What are the savings when using spot instances compared to On-Demand?
90%
What are the savings when using reserved instances?
75% when compared to On-Demand instances
What is the contract commitment when using reserved instances?
1 to 3 years
What are dedicated hosts?
A dedicated physical server
Why use a dedicated host?
Government compliance requirements
What are characteristics of dedicate hosts?
single instance on a single dedicate physical server
Hardware is not shared by other instances
Control over instance placement
What are the dedicate hosts use cases?
Software that has complicated licensing model
Companies that have strong regulatory or compliance needs
How long can dedicates hosts be reserved?
3 years
What are dedicate instances?
One or more instances running on a dedicated physical server