ECS Flashcards
What is EC2?
EC2 = Elastic Compute Cloud = IaaS
- Renting virtual machines (EC2)
- Storing data on virtual machines (EBS)
- Distributing load across machines (ELB)
- Scaling services using an auto-scaling group (ASG)
What controls how traffic is allowed into or out of EC2 Instances?
Security Groups
What kind of allow rules can security groups reference?
They can reference by IP and other security groups.
What do security groups regulate?
They regulate access to ports, authorized IPv4/IPv6 ranges, inbound network traffic, and outbound network traffic.
Are security groups locked down to a region/VPC combination?
True
What is the default security group configuration?
- All inbound traffic is blocked
- All outbound traffic is authorized
What is an EBS Volume?
An EBS (Elastic Block Store) Volume is a network drive you can attach to your instances while they run.
On how many instances can an EBS volume be attached to at a time and is it available on multiple AZ?
They can only be mounted to one instance at a time. They are bound to a specific availability zone.
What is the default Delete on Termination attribute for EBS volumes?
The root EBS volume will delete on termination and any other EBS volume attached is not deleted.
What is an EBS Snapshot?
It is a backup of your EBS volume at a point in time.
How can you transfer an EBS volume from one AZ to another?
Create an EBS snapshot of your EBS volume and restore it in another AZ.
How long does it take to restore an EBS Snapshot moved to an EBS Snapshot Archive?
It takes 24 to 72 hours for restoring the archive.
How much cheaper is the EBS Snapshot Archive Tier?
It is 75% cheaper.
How can you prevent accidental deletion of EBS Snapshots?
Create a Recycle Bin for EBS Snapshots.
What is an AMI?
An Amazon Machine Image is a customization of an EC2 instance. They are built for a specific region and can be copied across regions.