EC2 Flashcards

1
Q

Main features of Amazon EC2

A

Use secure, sizable compute capacity
Boot server instances in minutes
Only pay for what you use

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

General purpose instance type

A

Balances compute, memory, and networking resources
4 cpu, 1 ram
Diverse workloads
Web servers
Code repositories
Small and medium databases

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

Compute Optimized instance type

A

High performance processors
8 cpu, 1 ram
Compute intensive tasks
Gaming servers
High performance computing (HPC)
Scientific modeling
Batch processing workloads

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

Memory Optimized instance type

A

Memory intensive tasks
High-performance databases or real-time processing of large amounts of unstructured data

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

Accelerated computing instance type

A

Uses hardware accelerators to expedite data processing
Floating point number calculations
Graphics processing
Data pattern matching
Utilize hardware accelerators
Graphics applications
Game streaming
Application streaming

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

Storage optimized instance type

A

Low latency, high IOPS (high input output operations per second)
High performance for locally stored data
Distributed file systems
Data warehousing applications
OLTP systems

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

EC2 On-demand pricing

A

Only pay for duration that instance runs for. Per hr/per second
For testing workloads
Get a baseline for average usage
Short-term, irregular workloads that can’t be interrupted

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

EC2 Savings Plans pricing

A

Commitment to a consistent amount of usage for 1 or 3 years
Allows you to save up to 72% on your usage amount

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

EC2 Reserved Instances pricing

A

Steady state workloads or predictable usage
75% discount for 1 or 3 years
Pay all up front, partial up front, or no up front
Standard or Convertible reserved, or scheduled reserved

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

EC2 Spot Instances pricing

A

Request spare EC2 computing capacity for up to 90% off
AWS can reclaim this instance at any moment
Make sure workloads can tolerate being interrupted - such as batch work
Do not require contracts or a commitment

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

EC2 Dedicated Hosts pricing

A

For meeting compliance reqs, nobody will share tenancy with host
Most expensive

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

EC2 Auto Scaling

A

enables you to automatically add or remove instances in response to changing application demand
Dynamic scaling responds to changing demand
Predictive scaling automatically schedules the right number of instances based on
predicted demand

Create an Auto scaling group: set your minimum number of instances, desired capacity, and optionally your maximum instances

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

EC2 Elastic Load Balancing

A

Add a host to distribute incoming application traffic across multiple resources
A load balancer acts as a single point of contact for all incoming web traffic to your auto scaling group
As you add or remove instances in response to incoming traffic, the requests route to the load balancer first
Then they are spread across multiple resources that will handle them

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

EC2 Messaging and Queuing

A

In case one application is not available to take request from another application, we introduce a buffer, known as a message queue, to hold onto those requests until the application is ready to handle them. That way, the two applications are loosely coupled, meaning that if one fails, the other one can keep sending requests that will get routed to the queue

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

Amazon Simple Queue Service (SQS)

A

Send, store and receive messages between software components at any volume
Payload is the data that is stored within the message
SQS queues - where messages are placed until they are processed

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

Amazon Simple Notification Service (SNS)

A

Sends notification to end users
Publish subscribe model (pub-sub)
Amazon SNS topic: a channel for messages to be delivered
Configure subscribers to the topic
Subscribers can be endpoints, such as lambda functions, web hooks, or SQS messages
Can also be sent via sms or email

17
Q

Monolithic application

A

Application with tightly coupled components. If one component fails, others fail, including the entire application itself

18
Q

Microservices

A

Application components are loosely coupled, if a component fails, the others continue to work because they are communicating with each other

19
Q

Serverless computing

A

You can’t see or access underlying infrastructure
All server management is taken care of

20
Q

AWS Lambda

A

allows you to upload your code into a function, configure a trigger. The service waits for the trigger, when trigger is detected, code gets run in a managed environment. Automatically scalable, highly available, and all maintenance is done by AWS. Lambda will scale your function to meet demand
Designed to run code under 15 min. Not for long running processes, like handling requests
Serverless

21
Q

Amazon Elastic Container Service

A

Enables you to run and scale containerized applications on AWS
Supports Docker containers
Docker is a software platform that enables you to build, test, and deploy applications quickly

22
Q

Amazon Elastic Kubernetes Services

A

Fully managed service that you can use to run Kubernetes on AWS
Kubernetes is open-source software that enables you to deploy and manage containerized applications at scale

23
Q

AWS Fargate

A

A Serverless compute engine for containers. Works with ECS and EKS. Fargate manages your infrastructure for you