EC2 Flashcards
What are the main features/services of EC2?
- Renting virtual machines (EC2)
- Storing Data on virtual drives (ELB)
- Scaling the services using an auto-scaling group
What are the configuration options for a virtual machine?
- OS
- CPU
- RAM
- Storage (EBS, EFS, Instance Storage?
- Network card
- security group
How can an EC2 machine be configured automatically?
-Through a bootstrap script at launch
Which special types exist for EC2?
- General Purpose
- Compute Optimized
- Memory Optimized
- Storage Optimized
How can you control traffic to/from EC2 Instances
Through Security Groups
What do security groups control?
- Access to ports
- Authorised IP ranges -IPv4 and IPv6
- Control of inbound network
- Control of outbound network
What are the default traffic rules for security groups?
- All inbound traffic is blocked
- All outbund traffic is allowed
Which purchasing option do you choose for long term planned workloads?
Reserved Instances
Which purchasing option do you choose for cheap, short workloads that can be interrupted?
Spot Instances
What are dedicated instances?
No other customer will share the hardware
What are dediacted hosts?
You can book an entire physical server and control instance placement.
Which purchasing option do you choose for short workloads that can not be interrupted?
On demand instances
What are dedicated hosts used for?
It is ued to fullfill compliance when licenses are bound to hardware.
What is an Elastic IP?
An Elastic IP is a public static IPv4 IP that can be attached to an EC2 instance
Why avoid Elastic IPs?
They are often a sign for architectural decisions?