EC2 User Data Flashcards
1
Q
Is it possbile to bootstrap our instances using an EC2 User data script.
A
Yes
2
Q
What does bootstrapping mean?
A
launching commands when a machine starts
3
Q
How many times is the script ran?
A
only run once at the instance first start
4
Q
What does EC2 user data automate at boot?
A
- Installing updates
- Installing software•Downloading common files from the internet
- Anything you can think of
5
Q
What are EC2 Launch Types?
A
- On Demand Instances: short workload, predictable pricing
- Reserved Instances: long workloads (>= 1 year)
- Convertible Reserved Instances: long workloads with flexible instances
- Scheduled Reserved Instances: launch within time window you reserve
- Spot Instances: short workloads, for cheap, can lose instances•Dedicated Instances: no other customers will share your hardware
- Dedicated Hosts: book an entire physical server, control instance placement