EC2 Fundamentals Flashcards
How can you be notified if your AWS spending exceeds a certain amount?
Create a budget in the AWS Billing console
What is Amazon EC2?
What operating systems are available on VMs in EC2?
Linux, Mac or Windows
What are the sizing and configuration options in EC2?
What is EC2 user data?
It is a script used to bootstrap (launching commands when the machine starts) an EC2 instance
The script is only run once
The script runs with the root user (sudo rights)
What things can you automate when using the EC2 user data?
EC2 instance types (examples)
If you stop and start an EC2 instance, which of the following may change and which will stay the same?
- Public IP Address
- Private IP Address
- Public IP Address (may change)
- Private IP Address (will stay the same)
What is the naming convention of EC2 instance types (e.g. m5.2xlarge)?
What are the different types of EC2 instance types?
- General Purpose
- Compute Optimized
- Memory Optimized
- Accelerated Computing
- Storage Optimized
- HPC Optimized (high-performance computing)
https://aws.amazon.com/ec2/instance-types
What are the features of general purpose EC2 instance types?
What are the features of compute optimized EC2 instance types?
What are the features of memory optimized EC2 instance types?
What are the features of storage optimized EC2 instance types?
What are security groups in AWS?
How are security groups used in EC2?
Security Group Diagram
If an application running in EC2 is not accessible (times out) from the outside, what would likely be the first place to look?
Security groups
What is a good analogy for the relationship between EC2 and security groups?
Security groups act as a firewall outside of the EC2 instances
Are security groups region and VPC specific?
Yes
Can a security group be attached to multiple EC2 instances?
Yes
If an application running in EC2 gets a connection refused error, what would likely be the first place to look?
It’s either an application error or it is not launched
What is the default inbound access for security groups in EC2?
Inbound traffic is BLOCKED by default
What is the default outbound access for security groups in EC2?
Outbound traffic is AUTHORIZED by default