AWS EC2 Flashcards
What does EC2 stand for?
Elastic Computer Cloud
EC2 provides _____ and _____ compute capacity in the cloud.
- Secure
2. Resizable
True or False: EC2 is a VM hosted on premises in your own data center.
False.
EC2 is like a VM, but is hosted in AWS’s datacenters.
EC2 instances are restricted in capacity and processing power.
No, you get the capacity & compute power your want when you need it.
What level of control do you have over your own EC2 instances?
Complete control
With EC2, you pay ____________.
You pay only for what you use.
With EC2, you can _____ and _____ your EC2 instances whenever you need.
Grow and Shrink
What are the 4 pricing options for EC2?
- On-Demand
- Reserved
- Spot
- Dedicated
What is the key value of the On-Demand Pricing Option in EC2?
Pay by the hour or the second, depending on the type of instance you run.
What is the key value of the Reserved Pricing Option in EC2?
Reserve capacity for 1 or 3 years. Up to 72% discount on the hourly charge.
Spot Pricing Option in EC2 value?
Purchase unused capacity at a discount of up to 90%. Prices fluctuate with supply & demand.
Dedicated Pricing Option in EC value?
A physical EC2 server dedicated for your use. Most expensive option.
What’s the most expensive pricing option available for EC2?
Dedicated
What’s the least expensive pricing option available for EC2?
Depends on work-load. If small, intermittent loads then On-Demand. If consistent, long-term loads, then Reserved.
When you attach or detach roles to running EC2 instances, do you need to stop or terminate the instances?
No. You can attach or detach roles to running EC2 instances without having to stop or terminate those instances.
What category of services does EC2 fall under?
Compute
SSH is what port?
22 (Linux)
Port 3389 is used by what application and OS?
Windows RDP (Remote Desktop Connection)
HTTP is for what and uses what port?
Web browsing and port 80.
What port and purpose does HTTPS serve?
Encrypted Web Browsing (SSL) and Port 443.
What is are Security Groups in regards to EC2?
Security groups are virtual firewalls for your EC2 instance. By default, everything is blocked.
In order to be able to communicate to your EC2 instances via SSH/RDP/HTTP, you will need to __________?
Open up the correct ports.
In order to let anyone/anything have access to your EC2 instance, you must designate this IP address:
To let everything in, you use
0.0.0.0/0
What is a bootstrap script?
A script that runs when the instance first runs.