EC2 Flashcards
What are Security Groups
Security groups are a virtual firewall that controls traffic to and from EC2 Instances. (operate at instance level)
Are security groups stateful or stateless? Describe what that means.
Security groups are STATEFUL. This means that if traffic is allowed inbound, then it is automatically allowed outbound.
Describe Security Group defaults
All inbound traffic is blocked by default. All outbound traffic is allowed by default. Each region has 2,500 security groups per region. Each SG has a default of 5 Elastic Elastic Network Interfaces (ENIs).
How many SGs can you have per region
10,000 (default is 2500)
How many SGs can be associated with an ENI?
16 max (default is 5)
How many inbound/outbound rules can be assigned to a Security Group?
60 each(inbound/outbound)
How many Security Groups can be associated with an EC2 instance (1 or many)
many
T/F - Security Groups can be assigned to multiple EC2 instances
true
What is EC2?
Elastic Cloud Compute -> A cloud computing service
What are the 5 main EC2 instance types?
General Purpose Compute Optimized Memory Optimized Accelerated Optimized Storage Optimized
Describe General Purpose EC2 Instances
balance of compute, memory, and networking resources. Uses resources in equal proportions.
Describe Compute Optimized EC2 Instance Type
- Ideal for compute bound applications that benefit from high performance processor.
- Batch processing loads.
- High performance web servers.
- Dedicated Gaming machine.
- Scientific modeling.
Describe Memory Optimized EC2 Instance Type
Ideal for workloads that process large datasets in memory.
Described Accelerated Optimized EC2 Type
Uses hardware accelerators and co-processors. Think Machine Learning. Floating point # calculations. Graphics processing.
Describe Storage Optimized EC2 Instance Type
High Sequential Read/Write access to large datasets on local storage. Use cases = NO-SQL DB, data warehouse, elasticSearch, Analytic workloads.