EC2 Fundamentals Flashcards
Define EC
Elastic Compute Cloud
What is EC2 used for?
To create infrastructure as a service
List EC2 Capabilities (x4)
- Renting Virtual Machines (EC2)
- Storing data on virtual drives (EBS)
- Distribute loads across machines (ELB)
- Scaling the service using an auto-scaling group (ASG)
List EC2 sizing and configuration options (x7)
- Operating System
- Computer Power and Cores (CPU)
- The amount of RAM
- Storage Space
- Network Card
- Firewall Rules
- Bootstrap Script
Define EC2 User Data
Code that only runs once at the first start of an instance and runs with the root user rights
List common uses of User Data (x3)
- Installing updates
- Installing Software
- Downloading common files from the internet
Define EC2 Instance Types Naming Convention
instance type, generation, dot followed by size within the instance type
List EC2 Instance Types (x4)
- General Purpose
- Compute Optimised
- Memory Optimised
- Storage Optimised
When is it good to use a General Purpose Instance Type?
Good for diverse workloads e.g. web servers, code repositories
When is it good to use a Compute Optimised Instance Type?
Great for compute-intensive tasks that require high-performance.
When is it good to use a Memory Optimised Instance Type?
Fast performance for workloads that process large data sets in memory.
When is it good to use a Storage Optimised Instance Type?
Great for storage-intensive tasks that require high, sequential read and write access to large data sets on local storage.
List use cases for a Compute Optimised Instance Type (x6)
- Batch processing workloads
- Media transcoding
- High performance web servers
- High performance computing (HPC)
- Scientific modelling and machine learning
- Dedicated gaming servers
List use cases for a Memory Optimised Instance Type (x4)
- High performance, relational / non-relational databases
- Distributed web scale cache stores
- In-memory database optimised for BI
- Applications performing real-time processing for big unstructured data
True or False? You should used IAM Credentials with an EC2 Instance
False