Section 5: EC2 Fundamentals Flashcards
Which OS does EC2 support?
Linux, Window, Mac
What is bootstrapping?
Launching one-time commands when the machine starts
Can you attach a security group to multiple EC2 instances?
Yes
Can you attach a security group to an EC2 instance in a different region?
No
What is port 22 for?
SSH (Secure Shell) - logging into a linux instance
SFTP (Secure File Transfer protocol
What is port 21 for?
FTP (File Transfer Protocol)
What is port 80 for?
HTTP - access to unsecured websites
What is port 443 for?
HTTPS - access to secure websites
Which port is for RDP (remote desktop protocol)?
3389
Which EC2 instance purchasing option allows you to launch instances without any upfront payment and pay for compute capacity by the second?
On-Demand Instances
Which EC2 instance purchasing option provides the highest discount, but requires a 1- or 3-year commitment?
Reserved Instances
Which EC2 instance purchasing option is best suited for applications with steady-state or predictable usage patterns?
Reserved Instances
Which EC2 instance purchasing option provides the ability to bid on unused EC2 capacity, allowing you to potentially lower your costs for running applications?
Spot Instances
Which EC2 instance purchasing option is recommended for short-term, spiky, or unpredictable workloads?
Spot Instances
What controls traffic in and out of EC2 instances?
Security Groups