Compute Flashcards

1
Q

EC2

A
  • Elastic Compute Cloud
  • IaaS
  • Instance Based
  • Virtual Machines
  • Billed per second, 60s min
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Lambda

A
  • Event driven (schedule or event), Server-less Computing
  • Function Based
  • Low-Cost, only pay for runtime
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Lambda Limits

A

Per Region Limits:

  • Concurrent Executions: 1,000
  • Function & Layer Storage: 75 GB

Individual Function Limits:

  • Max memory allocation = 3,008 MB
  • Timeout: 15m
  • Deployment pkg size: 250MB unzipped
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Container Based Computing

A
  • ECS: Elastic Container Service (user managed)
  • EKS: Elastic Kubernetes Service
  • Fargate: Container Service (ECS, but AWS managed)
  • ECR: Elastic Container Registry
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

AWS Elastic Beanstalk

A
  • Platform as a Service (PaaS)
  • Web applications
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

AMI

A

Application Machine Image

  • launch instances with few clicks/line of code… ready in minutes
  • Quick Start
  • My AMI
  • AWS Marketplace (3rd Party)
  • Community AMIs (shared, be careful)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

9 Options w/ EC2 Option Wizard

A
  1. AMI
  2. Instance Type
  3. Network Settings
  4. IAM Role
  5. User Data
  6. Storage option
  7. tags
  8. security group
  9. key pair
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

EC2 Instance Types

A
  • Memory
  • Processing Power (CPU)
  • Disk type/space
  • Network Performance

General Purpose
Compute Optimized
Memory Optimized
Storage Optimized
Accelerated Computing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

EC2 Instance Types (2)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

EC2 Instance Store

A
  • disks running on host computer where EC2 instance is running
  • If instance stopped, data is deleted
  • Use EBS if need to retain data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Tag

A

label assigned to aws resource

  • metadata
  • Consists of Key and optional Value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Key Pair

A

Public Key: AWS Stores
Private Key: user stores

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Launch EC2 from CLI

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

EC2 Reboot

A
  • Ephemeral data is retained
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

CloudWatch

A
  • near-real-time metrics
  • Monitor EC2 instances
  • 15 months of historical data

Basic: free, 5m data

Detailed: monthly fee, 1m data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

EC2 Pricing Models

A
  • On Demand Instances
  • Dedicated Hosts
  • Dedicated Instances
  • Reserved Instances
  • Scheduled Reserved Instances
  • Spot Instances

Per Second Billing: avail on On-demand, reserved, and spot instances running linux or ubuntu

17
Q

EC2: On-Demand Instances

A
  • Pay by the hour
  • No long-term commitments
  • Eligible for AWS Free Tier
18
Q

EC2: Dedicated Hosts

A

Physical server with EC2 instance capacity fully dedicated

19
Q

EC2: Dedicated Instances

A

runs in a VPC on hardware that is dedicated to a single customer.

20
Q

EC2: Reserved Instances

A
  • Full, Partial, or no upfront payment when reserved
  • Discount on hourly charge for instance
  • 1-year or 3-year term
21
Q

EC2: Scheduled Reserved Instances

A

Capacity reservation that is always available on recurring, user specified schedule

1-year term

22
Q

EC2: Spot Instances

A

Run as long as available and bid is above Spot Instance Price

Interrupted w/ 2-min notification
- Terminated, Stopped, or Hibernated

Low-Price

23
Q

4 Pillars of Cost Optimization

A
  1. Right Size
  2. Increase Elasticity
  3. Optimal Pricing Model
  4. Optimize Storage Choices
24
Q

Kubernetesdd

A

Orchestrates multiple Docker hosts (nodes)

25
Q

Elastic Beanstalk

A
  • Managed Service for launching & managing web applications
  • No additional charge (only pay for resources in use)
26
Q

Elastic MapReduce (EMR)

A
  • big data platform for running large-scale distributed data processing jobs, interactive SQL queries, and machine learning (ML)
  • based on Apache Hadoop data analysis in log analysis, web indexing, data warehousing, machine learning (ML), financial analysis, scientific simulation and bioinformatics
  • supports workloads based on Apache Spark, Apache Hive, Presto and Apache HBase