EC2 - Elastic Compute Cloud Flashcards
EC2 Instance
What makes up an EC2 Instance?
AMI (Amazon Machine Image) OS + Instance Size (CPU + RAM) + Storage + security groups + EC2 User Data
Firewall attached to the EC2 instance
- Security Groups
- EC2 User Data
- SSH
- Spot Instances
Security Groups
Script launched at the first start of an EC2 instance
- The Customer
- EC2 User Data
- Spot Instances
- SSH
EC2 User Data
Start a terminal and connect into our EC2 instances on port 22
- EC2 Instance Roles
- Connect Instances
- SSH
- Security Groups
What protocol do you use?
SSH
link’s to IAM roles
- SSH
- Security Groups
- EC2 Instance Roles
- Connect Instances
EC2 Instance Roles
Which EC2 Purchasing option can provide the biggest discount, but is not suitable for critical jobs or databases?
- Reserved Instances
- Convertible Instances
- Dedicated Hosts
- Spot Instances
Spot Instances
NOTE: 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?
- Network Access Control List (NACL)
- Identity and Management Access (IAM)
- GuardDuty
- Security Groups
Security Groups
NOTE: 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
- AWS
- Both AWS and the Customer
The Customer
NOTE: 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 or 3 years
- 2 or 4 years
- 6 months or 1 year
- Anytime between 1 and 3 years
1 or 3 years
A company would like to deploy a high-performance computing (HPC) application on EC2. Which EC2 instance type should it choose?
- Compute Optimized
- Storage Optimized
- Memory Optimized
- General Purpose
Compute Optimized
NOTE: Compute Optimized EC2 instances are great for compute-intensive workloads requiring high performance processors, such as batch processing, media transcoding, high performance web servers, high performance computing, scientific modeling & machine learning, and dedicated gaming servers.
Which of the following is NOT an EC2 Instance Purchasing Option?
- Spot Instances
- Reserved Instances
- On-demand Instances
- Connect Instances
Connect Instances
Which EC2 Purchasing Option should you use for an application you plan on running on a server continuously for 1 year?
- Reserved Instances
- Spot Instances
- On-demand Instances
- Convertible Instances
Reserved Instances
NOTE: Reserved Instances are good for long workloads. You can reserve instances for 1 or 3 years