Compute Flashcards
Intro to Compute Services (34 cards)
List Compute Services
- Elastic Compute Cloud (EC2)
- Elastic Container Services (ECS)
- Elastic Container Registry (ECR)
- Elastic Container Service for Kubernetes (EKS)
- AWS Elastic Beanstalk
- AWS Lambda
- AWS Batch
- Elastic Load Balancing
- EC2 Auto Scaling
- AWS Outpost (On-Premises Hybrid Cloud Options)
What is Compute?
Compute resources are the brains and processing power required by applications and systems to carry out computational taks via a series of instructions.
What is the EC2 Service? (Elastic Compute Cloud)
This services allows you to deploy Virtual Servers in your AWS Environment
What are the EC2 Components?
- Amazon Machine Images (AMI)
- Instance Types
- Instance purchasing options
- Tenancy
- User data
- Storage options
- Security
What are AMI?
AMIs are templates for pre-configured EC2 instances, which allow you to quickly launch a new EC2 instance based on the configuration defined within the AMI.
Which AMIs are available?
- Standard AWS AMIs
- Custom AMIs are possible in AWS.
- In the AWS Marketplace you can also purchase vendor AMIs, with applications and configurations already made. Optimized
- Comunity AMIs which are public and shared with everyone.
Which parameters are predefined in the Instance types?
- Nr. of vCPUs (virtual CPUs)
- Architecture - Processor architecture such as i386, x86, or ARM
- Memory
- Storage
- Storage Type
- Network performance
Categories or Families of instance types?
- General Purpose
- Compute Optimized
- Memory Optimized
- Accelerated Computing
- Storage Optimized
- HPC Optimized
Describe General Purpose instant types:
- balanced mix of CPU, memory and storage
- ideal for small to medium data bases, tet and development environments or web servers.
Describe Compute Optimized instant types:
- Focus on compute power
- Ideal for applications requiring high performance processors, such as batch processing or machine learning
Describe memory optimized instant types:
- primarly used for large-scale enterprise class in-memory applications, such as performing real-time processing of unstructured data
Describe accelerated computing instance types:
Utilizes hardware accelerators or co-processors to perform floating-point calculations faster and more efficiently.
Describe storage optimized instance types:
Optimized for enhanced storage.
Use SSD backed instance storage for low latency and very high input/output or I/O performance including very high IOPS.
Useful for data file systems and log processing applications.
What is IOPS?
It is a metric which measures the Input/Output operations per second
What is considered low latency?
The lower the ping rate the better the performance. A ping rate of less than 100ms is considered acceptable but for optimal performance, latency in the range of 30-40ms is desirable.
Describe HPC optimized instance type
Design for high performance computing workloads
What are HPC workloads?
Highly complex, data-intensive task that is spread across compute resources, which each run parts of the task in parallel.
An HPC system can run millions of scenarios at once, using terabytes (TB) of data at a time, which helps organizations get to insights faster.
What are examples of HPC workloads?
Simulation and modeling in diverse applications, including traffic safety, autonomous driving, product design and manufacturing, weather forecasting, seismic data analysis, and energy production.
Which instance purchasing options exist?
- On-Demand instances
- Spot Instances
- Reserved Instances
- On-Demand Capacity Reservations
Describe in demand instances:
Describe Spot Instances
- Leverages unused EC2 capacity to provide huge discounts over on-demand pricing
- Have a variable hourly price based on supply and demand
- You have the ability to set a max. price that you are willing to pay per instance per hr.
- If price exceeds or spot capacity no longer available, the instance will be reclaim through a SPOT INSTANCE INTERRUPTION
- Your instance will terminate, stop or hibernate, based on the behavior you have specified
- For Applications resilient to interruptions such as Batch jobs
Describe Reserve instances
- Allow you to purchase discounted on-demand instance for a set period
- Ideal for long term and predictable workloads
- Must be purchased in either one year or three-year commitments
- Savings based on how much money you wish to pay upfront
What are reserved instance options?
- ALL Upfront - At the beginning of the term. Offers the largest discount and no further payment is required.
- PARTIAL Upfront - Smaller payment is made at the start of the term. Discount is applied to all remaining hours during the term.
- NO Upfront - No upfront or partial payments are made. the smallest discount is applied to the remaining hours in the term.
Once purchased the reserved instance, it is yours for 1 or 3 years and can’t be cancelled.
Changes to your reserved instance may be possible or an exchanging for another one could be possible.
What are instance types of reserved instances?