EC2 Fundamentals (Associate) Flashcards
What are some different capabilities of EC2 (Elastic Compute Cloud)
- 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 are the different operating systems (OS) you can use for EC2 instances?
- Linux
- Windows
- Max OS
When configuring your EC2 what are things you have to consider?
- Consider the what type of OS to use
- How much compute lower & core (CPU)
- How much random access memory (RAM)
- How much storage space (network-attached such as EBS & EFS, also consider hardware such as EC2 instance store)
- Network card: speed of the card, public IP address
- Firewall rules
- Bootstrap script (EC2 user data)
It is possible to bootstrap your instances using _____________ scripts
EC2 user data scripts
What does bootstrapping mean?
Launching commands when a machine starts
- So the script is only ran once at the instance first start and never ran again
EC2 user data is used to automate boot task such as what?
- Installing updates
- Installing software
- Downloading common files from the internet
- Anything you can think of
What is AWS naming conventions for its EC2 instances?
m5.2xlarge
m- is the instance class
5-is the generation (AWS improves them over time so when it upgrades it will be 6 n so on)
2xlarge- is the size within the instance class
General purpose instances are great for what?
A diversity of workloads such as web servers or code repositories n they provide a good balance between compute, memory, networking (ex. t2.Mirco is a general purpose instance)
Compute optimized instances are great for what?
-Batch processing workloads
-Media transcoding
-High Performance web servers
-High Performance Computing
-Scientific modeling & machine learning
-Dedicated gaming servers
They have a C and are great for compute - intensive task that require high performance processors
What are memory optimized instances good for?
-High Performance relational/non-relational databases
- Distributed web scale cache stores
-In memory databases optimized for BI (business intelligence)
-Application performing real time processing of big unsaturated data
Are also great for fast performance for workloads that process large data sets in memory
What are storage optimized instances good for?
They are great for storage intensive task that require high, sequential read and write access to large data sets on local storage
Can use them for:
- High frequency online transaction processing (OLTP) systems
-Relational & NoSQL databases
-Cache for in-memory databases
-Data warehousing applications
-Distributed file system
___________ are the fundamental of network security in AWS where they control how traffic is allowed into or out of our EC2 instances and they only contain _______ rules and their rules can reference by IP or by __________
Security groups, allow rules, security group
________ act as a firewall for your EC2 instances
Security groups
What do security groups regulate?
They regulate:
- Access to Ports
- Authorized IP ranges (IPv4 & IPv6)
- Control of inbound network (from other to the instance)
- Control of outbound network (from the instance to other)
Security groups can be attached to ________ instances
Multiple
Security groups are locked down to a ____________
Region/VPC combination
It’s good to maintain one separate security group for ________ access
SSH access