EC2 - Elastic Compute Cloud Flashcards
What OS you can not use to SSH into your instance?
- Windows < 10, you can use any other OS including - - - Windows >= 10
In what OS can you use Putty?
any Windows version
In what OS you can use Instance Connect?
All, don’t get confused with AMI
What is Instance Connect used for?
Connecting to your instance within your browser
Do you need your key file for Instance Connect?
No, your key file is only needed for SSH and/or Putty
Does Instance Connect need port 22 open?
Yes, same as SSH and/or Putty
Does Instance Connect work with any AMI?
Works only out-of-the-box with Amazon Linux 2
What can you use to bootstrap your instance?
EC2 User Data script
How many times does EC2 User Data run?
only once at the first start
What is used #!/bin/bash for?
It is the beginning of EC2 user data script
Which are the Instance Launch Types?
- On Demand Instances
- Reserved Instances (Regular, Convertible, Scheduled)
- Spot Instances
- Dedicated Instances
- Dedicated Hosts
What is the commitment term of On demand Instances
no long term
What is the commitment term of Reserved Instances
long term, 1 to 3 years.
What is the cost of Convertible Reserved Instances compared to On Demand Instances and Regular Reserved Instances?
Cheaper than On-Demand but more expensive than Regular Reserved
What is a Convertible Reserved Instance?
A reserved instance that you can change its instance type
What is a Scheduled Reserved Instance?
A reserved instance that you can launch within time window you reserve
What is the cost of Spot Instances compared to the other Instance Launch types?
the most cost-efficient
What is a Spot Instance?
An instance that you can “lose” at any point of time if
your max price is < current spot price
What is a Dedicated Host?
It is a physical dedicated EC2 server for your use
What is the cost of Dedicated Hosts?
The most expensive