EC2 - Elastic Compute Flashcards
What cloud deployment model is EC2?
IaaS
What does EC2 primarily 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 operating systems are offered by EC2?
Linux, Windows, or Mac OS
What options are available to configure for EC2?
- Which operating system
- How much compute power & cores (CPU)
- How much random-access memory (RAM)
- How much storage space:
- Network-attached (EBS & EFS)
- Hardware (EC2 Instance store)
- Network Card: speed of the card, public IP address
- Firewall rules: security group
- Bootstrap script (configure at first launch): EC2 user data
Launching commands when a machine starts is called ________.
Bootstrapping
True or False: EC2 user data is used to automate boot tasks such as:
- Installing updates
- Installing software
- Downloading common files from the internet
- Anything you can think of
True
True or False: EC2 User data scripts shouldn’t be run with the root user.
False
Based on AWS instance naming conventions what does the m, the 5, and the 2xlarge mean in the following? “m5.2xlarge”
M is the instance class, 5 is the generation, and 2xlarge is the size within the instance class
General purpose or T instance classes are great for a diversity of workloads such as web servers or code repositories and a provider a balance between _________, ____________, and ____________.
Compute, memory, and networking
Compute Optimized instances (C instance classes) are great for ___________________ like:
- Batch processing workloads
- Media transcoding
- High performance web servers
- High performance computing (HPC)
- Scientific modeling & machine learning
- Dedicated gaming servers
Compute intensive tasks that require high performance processors
True or false: Memory optimized instances are not ideal for workloads that require processing large data sets in memory.
False
- High performance, relational/non-relational databases
- Distributed web scale cache storages
- In-memory databases optimized for BI (business intelligence)
- Applications performing real-time processing of big unstructured data
are all use cases for _____________ instances.
Memory optimized
Memory optimized instances instance class begins with _________.
R
- High Frequency online transaction processing (OLTP) systems
- Relational & NoSQL databases
- Cache for in-memory databases (for example, Redis)
- Data warehousing applications
- Distributed file systems
are all use cases for ______________ instances.
Storage Optimized (I, D or H1)
True or false: Storage optimized instances are great for storage intensive tasks that require high, sequential read/write access to large data sets on local storage?
True
What is a security group?
Security groups control how traffic is allowed into or out of an EC2 instance.
True or False: Security groups can only contain ALLOW rules.
True
Security group rules can reference by _____ or by _________
IP or security group