Amazon Services Flashcards

1
Q

multitenancy

A

sharing physical machines with multiple other users

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

hypervisor

A

used to manage and coordinage isolation of multitenant VMs

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

CaaS

A

Compute as a Service

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

scaling

A

vertical scaling - instances are resizable

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

EC2

A

Elastic Compute Cloud

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

types of EC2 instances

A
  • general purpoe
  • compute optimized
  • storage optimized
  • memory optimized
  • accelerated computing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

compute optimized instances - uses

A
  • gaming
  • hpc
  • scientific modeling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

memory optimized instances - uses

A
  • high performance DBs
  • real time data processing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

accelerated computing - uses

A
  • FP calculations
  • graphics
  • data pattern matching
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

storage optimized instances - uses

A
  • distributed file systems
  • data warehousing
  • OLTP (online transactional processing)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

storage optimized instances - what is the optimization?

A

high IOPS - tens of thousands

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

accelerated computing instances - what is the optimization?

A

use of hardware accelerators (coprocessors)

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

EC2 instance pricing types

A
  • on demand (per hour, per second)
  • savings plan
  • reserved instances
  • spot instances
  • dedicated host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is savings plan?

A

Reduced pricing in exchange for committment to use.

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

How long are savings plan agreements for?

A

1 or 3 years

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

How cheaper can the savings plan be?

A

Up to 60%.

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

What are reserved instances used for?

A

Steady-state workloads or workloads with predictable usage.

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

How long are reserved instances agreements for?

A

1 or 3 years.

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

How cheaper the reserved instances can be?

A

Up to 72%.

20
Q

What is the deal with spot instances?

A

AWS can claim an instance back at any time with 2-minute warning.

21
Q

What are spot instances good for?

A

Workflows which are not affected by sudden disruptions.

22
Q

How cheaper are spot instances?

A

Up to 90%.

23
Q

Why someone would choose a dedicated host?

A

For meeting compliance requirements.

24
Q

What is a dedicated host?

A

A physical host, no shared tenancy.

25
Amazon EC2 Auto Scaling
EC2 service which allows for automatically scaling in response to changing demand.
26
2x2 types of scaling
- dynamic scaling vs. predictive scaling - scaling up vs. scaling out
27
What is dynamic scaling?
Scaling responds to the actual demand.
28
What is predictive scaling?
Scheduling the right amount of instances based on predicted demand.
29
What is scaling up?
Adding more power to an instance.
30
What is scaling out?
Adding more instances.
31
What can be configured in an Auto Scaling Group?
Minimum capacity, desired capacity, maximum capacity.
32
Elastic Load Balancing (ELB)
A managed service. A load balancer which routes requests to instances to properly distribute traffic in: - high performant - cost efficient - highly available - automatically scalable way.
33
Features of the ELB
- regional construct (single URL) - automatically highly available - automatically scalable (handles additional traffic without additional cost) - not only for external traffic - single point of contact to an autoscaling group
34
Amazon SNS (Simple Notification Service) - features
- send messages to services - send notifications to end users - publish/subscribe model (topic + publisher + subscribers)
35
SNS subscribers include...
- push - sms - email
36
SNS publishers include...
- SQS - http(s) - lambda
37
Amazon SQS (Simple Queue Service) is used for...
sending, storing, receiving messages between software components (at any volume)
38
Amazon SQS - features
- scales automatically - reliable - protects payload
39
Why would you want to use messaging and queuing
to avoid tight coupling of components -> to achieve loosely coupled architecture
40
What is the name of the architecture that makes use of messaging and queuing?
Microservice architecture
41
What is serverless compute?
User cannot access the underlying infrasctructure.
42
What are the steps to use Amazon Lambda?
- upload code to a lambda function - configure a trigger - lambda waits for the trigger - when the trigger happens, the code is run in a managed environment
43
What is the runtime limit for Amazon Lambda?
15 minutes
44
What do you pay for using Amazon Lambda?
For the time the code is running.
45
Amazon ECS
Elastic Container Service - docker container orchestration tools run on an instance managed by the user
46
Amazon EKS
Elastic Kubernetes Service
47
Amazon Fargate
serverless platform for ECS and EKS