AWS ECS Flashcards
What is the difference between EC2 and EBS volumes
EC2s are virtual machines that you rent, EBS volumes are virtual drives
What is it called when you bootstrap your instance (launching a command on startup)
User Data
What must you have if you want to manipulate an instance through SSH?
Key-Pair
You’ve stopped and started an instance, which IP address will change, the private or public?
Public
An instance name has which 3 following parameters
type, version, size within instance class ; i.e. m5.2xlarge
What 4 types of instance types do you have
General, Compute, Memory, Storage
You are working on an application with a large database, data warehousing, and distributed file systems. You need high sequential read/write access to these large datasets. Which instance type should you use?
Storage
What EC2 feature behaves like the firewall for an EC2 instance
Security Groups
Security groups have allow, or deny rules?
Allow
Security Groups regulate what?
port access, authorized IP ranges, inbound/outbound traffic
True or False, Security Groups can be attached to multiple instances
True
You’ve gotten a timeout where you are stuck on the loading page, what is the issue
security group
How could you easily get two instances to share information?
Put them in the same security group
What are the 7 Instance purchasing options?
on Demand, Reserved, Savings Plan, Spot Instances, Dedicated Host, Dedicated Instances, Capacity Reservations
What is the difference between the Dedicated Hosts and Dedicated Instances savings plan
Hosts are booking physical servers, Dedicated Instances allow customers to not share hardware with others
You know what your usage, workload will be for the next 1 or 3 years, which plan should you go for?
Savings Plan
Which Instance Purchasing Option is the MOST cost effective?
Spot Instances
Should you use Spot Instances for databases?
No
You have a short term application you need to run with an uninterrupted workload and remain in a specific AZ. Which purchasing option should you go with?
Capacity Reservations
What is a Spot Fleet
a set of Spot Instances and optional on demand instances
How do you have your public IPv4 from changing when you stop/start an instance?
Use an Elastic IP
What are the 3 Placement Group types
Cluster, Spread, and Partition
You need a low latency option for your application, what Placement Group should you choose?
Cluster
Why would you want to use a Spread Placement Group
You need to minimize failure risk, all EC2 instances will be on different hardware and span across AZs
What is the EC2s virtual version of a network card? This provides the EC2 with network connectivity
ENI (Elastic Network Interface)
You can create an ENI without attaching it to an EC2 instance True or False?
True
What mode can you put the EC2 instance into to preserve RAM and boot back up much faster?
Hibernate
ENIs and EC2s must be in the same AZ True or False?
True