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
Script launched at the first start of an EC2 instance
EC2 User Data
Start a terminal and connect into our EC2 instances on port 22
What protocol do you use?
SSH
link’s to IAM roles
EC2 Instance Roles
Which EC2 Purchasing option can provide the biggest discount, but is not suitable for critical jobs or databases?
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?
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
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
A company would like to deploy a high-performance computing (HPC) application on EC2. Which EC2 instance type should it choose?
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?
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
NOTE: Reserved Instances are good for long workloads. You can reserve instances for 1 or 3 years