EC2 Flashcards
different types of EC2 instances (7)
What are the 4 most important?
General Purpose, Compute Optimized, Memory Optimized, Storage Optimized, Accelerated Computing, Instance Feature, Measuring Instance Performance
What are the (3) parts of the AWS EC2 instance type naming convention:
m5:large
Instance class, generation, size within the instance class
EC2 Instance Type Great for a diversity of workloads such as web servers or code repositories
General Purpose
General Purpose EC2 Instance Type are great at balancing between ____________ (3)
Compute, Memory, Networking
EC2 Instance Type Great for compute-intensive tasks that require high performance processors
Compute Optimized
Which EC2 Instance Type would use the following:
Batch processing workloads, Media transcoding, High performance web servers, High performance computing (HPC), Scientific modeling & machine learning, Dedicated gaming servers
Compute Optimized EC2 Instance Type
EC2 Instance Type - Fast performance for workloads that process large data sets in memory
Memory Optimized
Which EC2 Instance Type would use the following:
High performance, relational/non-relational databases, Distributed web scale cache stores, In-memory databases optimized for BI (business intelligence), Applications performing real-time processing of big unstructured data
Memory Optimized
EC2 Instance Type Great for storage-intensive tasks that require high, sequential read and write access to large data sets on local storage
Storage Optimized
Can Security Groups be attached to multiple instances
Yes
Security Groups are locked down to a ____________
region/VPC combination
For EC2, where does the Security Group live?
Outside of the EC2 (if traffic is blocked the EC2 instance won’t see it)
What is a good security group practice for SSH access?
to maintain a separate security group of SSH access
What is it if your application is not accessible (timeout)
it is a security group issue
What error is given if you have an application error or the EC2 is not launched?
connection refused
In EC2 security groups, All inbound traffic is _____________ by default
Blocked
EC2 security groups - All outbound traffic is ____________ by default
authorised
SSH (Secure Shell) - log into a Linux instance (Port)
22
FTP (File Transfer Protocol) – upload files into a file share (Port)
21
SFTP (Secure File Transfer Protocol) – upload files using SSH (Port)
22
HTTP – access unsecured websites (Port)
80
HTTPS – access secured websites (Port)
443
General Purpose EC2 Instance Type are great at balancing between ____________ (3)
Compute
Memory
Networking
EC2 Instances Purchasing Options (7)
On-Demand Instances
Reserved
Savings Plans
Spot Instances
Dedicated Hosts
Dedicated Instances
Capacity Reservations