Module 2 Flashcards

1
Q

What is the purpose of Amazon EC2?

A

An EC2 instance allows you to use a virtual server to run applications in the AWS cloud.

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

When launching an EC2 instance, what are some things you can initially configure?

A

Operating system
application server
applications
security settings

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

Name all of the Amazon EC2 instance types.

A

G-SCAM:

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
4
Q

What are General purpose instances appropriate for?

A

General purpose instances provide a balance of compute, memory, and networking resources. You can use them for a variety of workloads, such as:
• application servers
• gaming servers
• backend servers for enterprise applications
• small and medium databases

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

What are Compute optimized instances appropriate for?

A

Compute optimized applications are ideal for high-performance web servers, compute-intensive applications servers, dedicated gaming servers and batch processing workloads.

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

What are Memory optimized instances appropriate for?

A

Memory optimized instances are designed to deliver fast performance for workloads that process large datasets in memory. This is best suited for a workload that requires large amounts of data to be preloaded before running an application.

eg. Databases

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

What are Accelerated computing instances appropriate for?

A

Accelerated computing instances use hardware accelerators, or coprocessors, to perform some functions more efficiently than is possible in software running on CPUs.
Egs.
Graphics applications
Streaming applications

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

What are Storage optimized instances appropriate for?

A

Storage optimized instances are designed for workloads that require high, sequential read and write access to large datasets on local storage.

Egs.
distributed file systems
data warehousing applications

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

Name the 5 types of Amazon EC2 Pricing.

A

D-ROSS

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
10
Q

Describe Amazon On-Demand EC2 pricing.

A

On-Demand Instances are ideal for short-term, irregular workloads that cannot be interrupted. No upfront costs or minimum contracts apply. The instances run continuously until you stop them, and you pay for only the compute time you use.

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

Describe Amazon Savings Plans EC2 pricing.

A

Amazon EC2 Savings Plans enable you to reduce your compute costs by committing to a consistent amount of compute usage for a 1-year or 3-year term. This term commitment results in savings of up to 72% over On-Demand costs. Any usage up to the commitment is charged at the discounted Savings Plan rate (for example, $10 an hour). Any usage beyond the commitment is charged at regular On-Demand rates.

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

Describe Amazon Reserved Instances EC2 pricing.

A

Reserved Instances are a billing discount applied to the use of On-Demand Instances in your account. You can purchase Standard Reserved and Convertible Reserved Instances for a 1-year or 3-year term, and Scheduled Reserved Instances for a 1-year term. You realize greater cost savings with the 3-year option.

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

Describe Amazon Spot Instances EC2 pricing.

A

Spot Instances are ideal for workloads with flexible start and end times, or that can withstand interruptions. Spot Instances use unused Amazon EC2 computing capacity and offer you cost savings at up to 90% off of On-Demand prices.

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

Describe Amazon Dedicated Hosts EC2 pricing.

A

Dedicated Hosts are physical servers with Amazon EC2 instance capacity that is fully dedicated to your use. Of all the Amazon EC2 options that were covered, Dedicated Hosts are the most expensive. These are usually for certain compliance requirements. No one else will share this host.

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

Describe Amazon EC2 Auto Scaling.

A

Amazon EC2 Auto Scaling enables you to automatically add or remove Amazon EC2 instances in response to changing application demand. By automatically scaling your instances in and out as needed, you are able to maintain a greater sense of application availability.

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

What is dynamic scaling when it comes to EC2 instances?

A

Dynamic scaling responds to changing demand.

17
Q

What is predictive scaling when it comes to EC2 instances?

A

Predictive scaling automatically schedules the right number of Amazon EC2 instances based on predicted demand.

18
Q

What are three properties for capacity that you can set in the EC2 Auto Scaling Group?

A

Minimum capacity, Desired capacity, Maximum capacity,

19
Q

Define Elastic Load Balancing.

A

Elastic Load Balancing is the AWS service that automatically distributes incoming application traffic across multiple resources, such as Amazon EC2 instances.
Elastic Load Balancing distributes the workload across the multiple instances so that no single instance has to carry the bulk of it.

20
Q

What is the difference between a monolithic and microservices based application?

A

An application with tightly coupled components is a monolithic application. This type of application is vulnerable since if one component fails, the entire application will fail.
In a microservices approach, application components are loosely coupled. In this case, if a single component fails, the other components continue to work because they are communicating with each other. This will help to maintain application availability.

21
Q

Describe Amazon Simple Notification Service.

A

Amazon SNS is a publish/subscribe service. Using Amazon SNS topics, a publisher publishes messages to subscribers.

22
Q

Describe Amazon Simple Queue Service.

A

Amazon SQS is a message queuing service.
Using Amazon SQS, you can send, store, and receive messages between software components, without losing messages or requiring other services to be available. In Amazon SQS, an application sends messages into a queue. A user or service retrieves a message from the queue, processes it, and then deletes it from the queue.

23
Q

Describe serverless computing.

A

With serverless computing, your application still runs on servers, but you are freed from the responsibility of maintaining those servers. Another benefit of serverless computing is the flexibility to scale serverless applications automatically.

24
Q

What is AWS Lambda?

A

AWS Lambda is a service that lets you run code without needing to provision or manage servers. While using AWS Lambda, you pay only for the compute time that you consume. Charges apply only when your code is running. You can also run code for virtually any type of application or backend service, all with zero administration.

25
Q

What are containers?

A

These are standard ways of packaging application code and dependencies into a single object. You can also use containers for processes and workflows in which there are essential requirements for security, reliability, and scalability.

26
Q

Describe 3 Amazon container services.

A

Amazon Elastic Container Service (Amazon ECS) is a highly scalable, high-performance container management system that enables you to run and scale containerized applications on AWS. Amazon ECS supports Docker containers.

Amazon Elastic Kubernetes Service (Amazon EKS) is a fully managed service that you can use to run Kubernetes on AWS.

AWS Fargate is a serverless compute engine for containers. It works with both Amazon ECS and Amazon EKS.