Elastic Compute Cloud Flashcards
What does EC2 stand for
Elastic Compute Cloud
What does EC2 mainly consist of
Renting virtual machines (EC2)
Storing data on virtual drives (EBS)
Distributing load across machines (ELB)
Scaling the services using an auto-scaling group (ASG)
What does bootstrapping mean
launching commands when a machine starts , runs only once on initial start
What kind of boot tasks is EC2 user data used to automate
installing updates
installing software
Downloading common files from the internet
Anything you can think of
Describe the EC2 naming convention
m5.2xlarge
m: instance class
5: generation (AWS improves them over time)
2xlarge: size within the instance class
What is a security group
acts as a virtual firewall for your EC2 instances to control inbound and outbound traffic
How do security groups work
By controlling how traffic is allowed into or out of our EC2 instances
What is one thing security groups contain
allow rules
What do security groups regulate
Access to Ports
Authorized Ip ranges - IPv4 and IPv6
Control of inbound network (from other to the instance
Control of outbounf network (from the instance to other)
How many instances can a security group be attached to
multiple instances
How many regions can one security group be on at one time
Only on region at a time with a VPC combo
Does a security group live inside the EC2?
no it lives outside the EC2 - if traffic is blocked the EC2 instance wont see it
Should you use the same security group for EC2 and SSH access
No its best to have separate security groups
If your app is not accessible (time out ) what kind of issue is this?
security group issue
If your app gives a connection refuse error what type of issue is this
An app error or its not launched