Module 2 (Compute Services) Flashcards

1
Q

Amazon Elastic Compute Cloud / EC2

A

A virtual server in the cloud

Can terminate with ease
pay-as-you-go

use if you want to host classic apps or you want full access to the OS

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

Why is EC2 more efficient?

A

starting physical servers is time and space-costly and they cannot be taken down

this service has built and secured virtual data centers
they are also bought, installed, and ready to use

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

Multitenancy

A

sharing hardware between virtual machines

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

EC2 Configuration

A

Can be done using Windows, Linux, Internal business apps, web apps, databases, and third party software

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

EC2 Instance Types

A

configurations for every EC2 instance

consist of
-general purpose
-compute optimized
-memory optimized
-accelerated computing
-storage optimized

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

General purpose

A

useful for balancing certain components in your EC2 instance

balanced resources
web servers
diverse workloads
code repositories

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

Compute optimized

A

useful for compute-intensive tasks

gaming servers, life, scientific modeling

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

Memory optimized

A

useful for memory-intensive tasks

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

Accelerated computing

A

utilizes hardware accelerators to improve the EC2 appliczation

floating point #s
calculations
graphics processing
data pattern matching

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

EC2 Pricing

A

offers five different tiers for paying

-On-demand
-Savings Plans
-Reserved Instances
-Spot Instances
-Dedicated Hosts

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

On-demand

A

per hour or second
does not require any long-term commitments or payments
useful for getting started and experimenting with EC2
no contracts or communication with AWS required

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

Savings Plan

A

allows low prices on EC2 usage with minimum usage (can be 1-year or 3-year terms)
you can also get up to 72% in savings (This also counts when using AWS Fargate or AWS Lambda)

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

Reserved Instances

A

steady-state workload friendly
offers a 75% discount once committing to a 1 or 3 year term

paying can be done either upfront, partial, or none (this does not mean it’s free [you would have to pay all the money another time])

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

Spot Instances

A

requests spare capacity up to 90%
but AWS can capture these spots at anytime
thus is only useful if you are fine with interruptions in your AWS infrastructure

batch workloads

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

Dedicated Hosts

A

physical hosts dedicated for EC2
usually for meeting some compliance requirements

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

EC2 scaling

A

EC2’s space management aspect to control traffic

can be vertical or horizontal

17
Q

Vertical scaling

A

upgrading or downgrading an EC2 Instance (more or less power)

18
Q

Horizontal scaling

A

adding more or less EC2 Instances

19
Q

EC2 Autoscaling

A

memory optimization strategy
scales up if there is no space when needed and scales down if there is unnecessary space

supported by EC2

20
Q

Elastic Load Balancing

A

a traffic-redirecting service
used to prevent overcrowding in any EC2 instance or confusion of where to go

Autoscales just like EC2

has high performance, is cost-effective, highly available, and automatically scalable

useful in connecting Frontend and Backend

21
Q

Messaging and Queuing Architectures

A

Two tiers manage how items respond to failure between traffic traveling between instances:
-Tightly coupled
-Loosely coupled

22
Q

Tightly Coupled Architecture

A

if one component fails or changes, it causes issues for other connecting components

23
Q

Loosely Coupled Architecture

A

a single failure will not cause issues for other connected components

24
Q

Amazon Simple Queue Service

A

messages are placed until they are processed

sends, stores, and receives messages between software components at any VOLUME

25
Q

Payload

A

all data contained within a message

26
Q

Amazon Simple Notification System

A

sends messages to services but also sends notifications to end users

27
Q

Amazon SNS Topic:

A

a channel for a message to be delivered

allows to serve a number of customers at one time (poll multiple messages from the queue at one time

28
Q

Serverless

A

you cannot see or access underlying infrastructure (it does not mean it doesn’t exist)

29
Q

Docker

A

a tool for building and running isolated containers (kind of like virtual machines)

29
Q

AWS Lambda

A

scales a lambda function to meet demand
serverless service, scalable, highly available, and maintenance is done by AWS

use if you want to host short-run functions, service or event-driven oriented apps, and if you do not want to manage servers

30
Q

Amazon Elastic Container Service

A

a container orchestration tool
host is also an EC2 instance

use if you want to run docker container workloads on AWS

31
Q

Kubernetes

A

a tool for managing container-based. applications

32
Q

Container

A

package for code, dependencies, and configurations

33
Q

Cluster

A

includes processes to start, stop, monitor, and restart docker containers

34
Q

Amazon Elastic Kubernetes Service

A

utilizes Kubernetes to run and manage containerized applications

35
Q

AWS Fargate

A

serverless service and compute platform for ECS and EKS