EC2 Flashcards
What is an On-Demand Instance?
An instance that allows you to pay by the hour/second with no commitment
What is a Reserved Instance?
An instance with reserved capacity that provides significant discounts to On-Demand. Requires 1-3 year contract.
What is a Spot Instance?
Allows you to bid a price for an instance, providing greater savings. Good if you have flexible start/end times.
What are Dedicated Hosts?
Physical EC2 servers dedicated to your use. Usually used by government etc.
What is the charge when a Spot Instance is terminated?
If AWS terminates, you will not be charged for a partial hour. If you terminate, you will be charged for the full hour.
What are the 3 types of Load Balancer available?
Application Load Balancer (ALB)
Network Load Balancer (NLB)
Classic Load Balancer (ELB)
Define the Application Load Balancer
Operates at layer 7, and best suited to HTTP/HTTPS traffic.
Define the Network Load Balancer
Operates at layer 4, and best suited to TCP traffic where extreme performance is required.
Define the Classic Load Balancer
Uses features such as X-Forwarded-For header and sticky sessions.
What is EFS?
A File Storage Service for EC2
What are the 2 types of Placement Groups?
Clustered Placement Groups
Spread Placement Groups
What is a Clustered Placement Group?
A group of instances in a single Availability Zone. Best suited to apps relying on low latency such as Big Data.
What is a Spread Placement Group?
A group of instances that are on their owndistinct hardware, kept separate.
What is the endpoint to get instance metadata?
http://169.254.169.254/latest/meta-data/
Can an EBS Volume be in a different AZ to an instance?
No
What is the difference between a snapshot and an image?
A snapshot is for backup
An image is for booting a new instance
What are the 2 steps to copy a volume from one Availability Zone to another?
Create a snapshot of the Volume
Create a new Volume using the snapshot, selecting the desired Availability Zone in the process.
What are the 3 steps to migrate an instance from one region to another?
Create a snapshot of the instance
Create an image from the snapshot
Copy the image to the new region and create an instance.
What are the default and detailed monitoring times?
Default is 5 minutes
Detailed is 1 minute
Why do we only get a DNS name for a Load Balancer?
Because the underlying IP address could change.
What are the default settings for a security group?
All inbound traffic is blocked
All outbound traffic is allowed
What is Elastic Block Store (EBS)?
Allows you to attach storage volumes to EC2 instances
Can you block specific IP addresses in a security group?
No
What 4 Cloudwatch Metrics are provided by default?
CPU
Disk
Network
Status