Module 2: Compute in the Cloud

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/65

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:05 AM on 7/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

66 Terms

1
New cards

Compute in the Cloud

Create virutal machines to run tasks online

2
New cards

Compute

Processing power needed to run apps, manage data, and perform calculations

In the cloud, its available on demand and can be accessed remotely without physical hardware

3
New cards

Amazon EC2

instances with flexibility, cost effectivity, and fast speed

On demand compute capacity and costs are based on active usage

Configure security, network and storage

4
New cards

Challenges of On-Premise Instances

must purchase hardware, wait for delivery, and handle installation and configuration

5
New cards

Benefits of Cloud Instances

quick launch, scale, and stop set up

no delays or up front costs

6
New cards

EC2 Process

  1. launch

  2. connect

  3. use instance

7
New cards

Launching an EC2

select AMI and choose instance type

8
New cards

AMI

AWS Machine Image, preconfigures the operating system, permissions, and additional software

Can use 1 AMI to launch multiple instances

9
New cards

Instance Type

determines the hardware, for CPU, memory and network

10
New cards

EC2 Connects what for Linux

SSH

11
New cards

EC2 Connects what for Windows

RDP (Remote Desktop Protocol)

12
New cards

EC2 Connects what for Simplified

AWS Systems Manager

13
New cards

What is an EC2 Instance

Virtual machine that can run commands, perform tasks, add storage, organize files

14
New cards

VM

Virtual Machine

15
New cards

EC2 Multi-Tenancy

shares physical host with other instances; isolated but can share resources

16
New cards

EC2 Hypervisor

In charge of resource sharing and isolation, and it runs on a host machine

17
New cards

EC2 Vertical Scaling/ Scale Up

Adjust instance size given usage by adding more power to the machines

18
New cards

EC2 Horizontal Scaling/ Scale Out

Adjust instance size given usage by adding more machines/ resources

19
New cards

EC2 Instance Types

  1. General Purpose

  2. Compute Optimized

  3. Memory Optimized

  4. Accelerated Computing

  5. Storage Optimized

20
New cards

General Purpose EC2

balanced mix of compute, memory, and network

ideal if you don’t know how workloads will perform / diverse workloads

ie: web services, code repositories

21
New cards

Compute Optimized EC2

ideal for compute intensive tasks

ie: gaming servers, high performance computing, ML, scientific models

22
New cards

Memory Optimized EC2

ideal for memory-intensive tasks that need fast performance

ie: datasets, databases, data analytics

23
New cards

Accelerated Computing EC2

Uses hardware accelerators like GPUs to handle tasks (fast computing)

ie: floating point calculations, graphics, machine learning

24
New cards

Storage Optimized EC2

ideal for workloads that require high performance for locally stored data

ie: large databases, data warehouses, I/O intensive projects

25
New cards

API Calls

Application Programming Interfaces: Have predetermined ways they are used to interact with services

26
New cards

AWS Management Console

Manage resources visually, for beginners to build knowledge

human controlled dashboard, view AWS Bills, set up testing env, monitor resources and tasks

27
New cards

AWS CLI to invoke AWS API

Command Line Interface, uses a terminal and text based commands to invoke the AWS API

28
New cards

AWS SDK to invoke AWS API

Software Developer Kit, using programming languages and calls API directly in code

29
New cards

AWS CloudShell

Cloud based terminal with AWS CLI

30
New cards

EC2 Customer Responsibility

all security and management tasks for everything (OS, config, network, data)

31
New cards

EC2 AWS Responsibility

provide the software and hardware for EC2

32
New cards

Are EC2s managed?

No, they are unmannaged, it is mainly the customers responsibility

33
New cards

Steps to Launch an EC2

  1. launch instance

  2. choose name

  3. choose AMI

  4. choose instance type

  5. choose key pair

  6. choose network settings

  7. choose storage option

  8. opt. (add scripts)

34
New cards

Key Pair for EC2

2 keys, a public key which is in the EC2 instance, and a private key only you have, used for logging into the instance

35
New cards

Custom AMI

create your own custom tailored AMI

36
New cards

Pre-Configured AMI

use a provided AWS AMI for common operating systems and software

37
New cards

Third Party AMI

buy a third party AMI from Amazon Marketplace that someone else created

38
New cards

AMI Repeatability

because configurations are constant and deployment is automated, you can have a consistent testing and development environment

this reduces errors and helps with scaling

39
New cards

EC2 On Demand Instance Pricing

pay what you use only, no up front pay or commitment

40
New cards

EC2 Reserved Instance Pricing

save up to 75% by committing to a 1 year or 3 year term

for predictable workloads with specific instances or regions

41
New cards

EC2 Spot Instance Pricing

bid on spare compute capacity up to 90% off

have to be flexible to interuptions if and when AWS reclaims it

42
New cards

EC2 Savings Plan Instance Pricing

commit to consistent usage (compute power / hour) of 1 or 3 years, save up to 72%

43
New cards

EC2 Dedicated Instance Pricing

instances running on hardware dedicated solely to you, but you cant choose the physical server or have the whole server to yourself

isolation from other AWS customers

44
New cards

EC2 Dedicated Host Pricing

reserve an entire physical server for your exclusive use, full control

ideal for strict licensing or security needs

45
New cards

Capacity Reserve Pricing

reserve a certain capacity, and pay all of the capacity whether used or not

46
New cards

Reserved Instance Flexibility Pricing

for steady workloads with predcitable use, up to 75% savings

47
New cards

Scalability

handle increased or decreased loads by changing number of resources, focuses on long term capacity

48
New cards

Elasticity

automatically scale resources up and down, real time, rapid, on demand

49
New cards

Dynamic Scaling

auto adjusts in real time

50
New cards

Predictive Scaling

preemptively predicts scaling and follows trends

51
New cards

Minimum Capacity

least # of EC2s needed to run, assures system doesnt accidentally scale below threshold

52
New cards

Maximum Capacity

most # of EC2s to fit in budget, assures system doesnt accidentally scale above budget

53
New cards

Desired Capacity

ideal # of EC2s for workload, aims to stay at desired capacity

if no desired capacity is set, desired capacity = minimum capacity

54
New cards

Load Balancer

directs requests to instances like a host to avoid idle/ overworked instances

55
New cards

ELB

Elastic Load Balancing, distributes network traffic for good scalability and doesnt add to hourly costs

uses single URL for each frontend instance and directs the traffic to the least busy backend instance

56
New cards

Round Robin Routing Method

distributes traffic evenly across all servers in a loop

57
New cards

Least Connections Routing Method

routes traffic to the server with the fewest active connections

58
New cards

IP Hash Routing Method

uses the clients ip to route the traffic to the same server everytime

59
New cards

Least Response Time Routing Method

routes traffic to the server with the least response time for faster routing

60
New cards

Tightly Coupled

61
New cards

Loosely Coupled

62
New cards

Monolithic Application

63
New cards

Microservices Architecture

64
New cards

Amazon SQS

Simple Queue Service, lets software send store and recieve messages in a queue so no instance has to wait if another is down

65
New cards

Amazon SNS

Simple Notification Service, mass sends notification to all instances, can be done instantly, or take time

66
New cards

Amazon EventBridge

Event Traffic Control, rule based distribution of tasks

ie if event type is _____, send to _____, _____, _____,