EC2 Flashcards
What makes up an EC2 instance?
AMI (OS) + Instance Size (CPU RAM) + Storage + Security Groups + EC2 User Data
How are EC2 instances named?
- Instance Class
- Generation
- Size within the Instance Class
Name the 4 different types of EC2 instances.
General Purpose
Compute Optimised
Memory Optimised
Storage Optimised
What are Compute Optimised instances used for?
Compute intensive tasks that require high performance processors
Examples: Batch Processing, High Performance Computing, High Performance Web Servers, Scientific Models, ML, Gaming Servers
What are Memory Optimised instances used for?
Fast performance for workloads that process a large amount of data
Examples: Number calculations, in memory databases, graphic processing, number calculations
What are Storage Optimised instances used for?
Great for storage-intensive tasks that require high, sequential read and access to large data sets on local storage
Examples: OLTP systems, Relational & NoSQL databases, Cache for in-memory databases, Data Warehousing Applications, Distributed File Systems
What do Security Groups control?
They control how traffic is allowed in or out of EC2 instances.
What 4 specific access points are controlled by Security Groups?
Access to ports
Authorised IP ranges
Control of Inbound Network (to the instance)
Control of Outbound Network (out of the instance)
Which EC2 Purchasing Option can provide the biggest discount, but is not suitable for critical jobs or databases?
Spot Instances.
Spot Instances are good for short workloads, but are less reliable.
Which network security tool can you use to control traffic in and out of EC2 Instances?
Security Groups.
Security Groups operate at instance level and can control traffic.
Under the Shared Responsibility Model, who is responsible for operating-system patches and updates on EC2 Instances?
The customer is responsible for operating-system patches and updates on EC2 Instances, as well as data security on the instances, Security Groups rules, etc.
How long can you reserve an EC2 Reserved Instance?
1 year or 3 years terms are available for EC2 Reserved Instances.
Which EC2 Purchasing Option should you use for an application you plan on running on a server continuously for 1 year?
Reserved Instances are good for long workloads. You can reserve instances for 1 or 3 years.