Section 5a: EC2 Flashcards
EC2 stands for ___ and is what type of cloud computing?
Elastic Compute Cloud. Infrastructure as a Service.
EC2 User data script allows you to
bootstrap your EC2 instance
Bootstrapping means
launching commands when a machine starts
The 4 major types of EC2 Instances are
General Purpose, Compute Optimized, Memory Optimized, Storage Optimized,
General Purpose EC2 instances are useful for
a diversity of workloads such as web servers or code repositories
Compute Optimized EC2 instances are useful for
compute-intensive tasks that require high performance
processors
Memory Optimized EC2 instances are useful for
workloads that process large data sets in memory
Storage Optimized EC2 instances are useful for
storage-intensive tasks that require high, sequential read and write
access to large data sets on local storage
What do Security Groups control?
They control how traffic is allowed into or out of our EC2 Instances & are the fundamental of network security in AWS.
Security Groups are
“firewalls” on EC2 instances
Security Groups regulate these 4 things
- Access to Ports
- Authorised IP ranges – IPv4 and IPv6
- Control of inbound network (from other to the instance)
- Control of outbound network (from the instance to other)
Can SGs be attached to one or multiple instances?
Multiple
Can SGs be used in any region or are they confined to one region?
Confined to the region they were created in as VPCs
Do SGs live “within” or “Outside” the EC2 instance?
Outside. EC2 instances can be blocked from “seeing” SGs.
All outbound traffic is ____ and all inbound traffic is ___ by default.
All outbound traffic is authorized and all inbound traffic is blocked by default.