EC2 Fundamentals Flashcards
How can you bootstrap (automate boot tasks) an EC2 instance?
EC2 user data script
What are the compute, memory, and networking characteristics of a general purpose EC2 instance?
Balance of compute, memory, and networking (Good for web servers/code repositories)
What workloads would be appropriate for a compute optimized EC2 instance?
Tasks that require high performance processors:
- Batch processing
- High performance computing/web servers
- Data science/machine learning
What workloads would be appropriate for a memory optimized EC2 instance?
Tasks that require processing large data sets in memory:
- Databases
- Cache stores
- Real-time processing of data
What workloads would be appropriate for a storage optimized EC2 instance?
Tasks that require high sequential read/write on local storage:
- High frequency online transaction processing (OLTP)
- Databases
- Cache
- Data warehousing
- Distributed file systems
What 2 references can be used within a security group?
- IP address
- Other security group
Can you use a security group to explicitly deny traffic using security groups?
No, they can only contain allow rules.
True or False (and why): Security groups are a global service.
False, security groups are defined for a specific region/VPC combination.
What is a good hint that an issue is being caused by a security group?
Application isn’t accessible due to a ‘time out’ error.
What is a good hint that an issue is not caused by a security group?
Application isn’t accessible due to a ‘connection refused’ error.
What is the default for inbound traffic?
Deny
What is the default for outbound traffic?
Allow
What purpose do the following ports serve?
1. 22
2. 21
3. 80
4. 443
5. 3389
- SSH and SFTP
- FTP
- HTTP
- HTTPs
- RDP
How long can you reserve an EC2 Reserved Instance?
1 or 3 years