EC2 Flashcards
What does EC2 stand for?
Elastic compute Cloud
What is the EC2 User Data Script used for?
To automate boot tasks such as installing updates/software, downloading files etc.
What are the use cases for General Purpose EC2 Instance Types?
Web servers, Code repositories etc.
What are 6 example use cases for Compute Optimized EC2 Instances?
- Batch Processing Workloads
- Media Transcoding
- High Performance Web Servers
- High Performance Computing (HPC)
- Scientific Modeling and Machine Learning
- Dedicated Gaming Servers
What are 4 example use cases for Memory Optimized EC2 Instances?
- High Performance databases
- Distributed web scale cache stores
- In-memory databases optimized for BI
- Apps performing real-time processing of big unstructured data
What are 5 use case examples for Storage Optimized EC2 Instances?
- High frequency online transaction processing systems (OLTP)
- Relational and non relational databases
- Cache for in-memory databases (Redis)
- Data Warehousing applications
- Distributed File System
What is a Security Group?
It is like a Firewall
What 4 things do Security Groups Regulate?
- Access to Ports
- Authorized IP ranges
- Control of inbound network
- Control of outbound network
Can a Security Group be attached to multiple EC2 instances?
Yes, and an instance can have multiple security groups
Are Security Groups Global?
No, they are tied to a specific region/VPC combination.
If my application is showing a timeout when I try to connect, what is the likely cause?
A security group misconfiguration
If my application gives a connection refused error, what is the likely cause?
An app error or app failed to launch. The security group config is fine
What are the default inbound/outbound security group settings?
- Inbound traffic is blocked
- Outbound traffic is authorized
What is the SSH port?
22
What is the FTP pport?
21
What is the SFTP port?
22
What is the HTTP port?
80