1,2 Flashcards

1
Q

Amazon EC2

A

Amazon Elastic compute Cloud
Virtual server

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

Dynamic vs predictable

A

Dynamic- responds to changing demand
Predictive- automatically schedules the right number of Amazon EC2 instances based on predicted demand.
Can use both together

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

EC2 pricing
On demand - savings plan - reserved instance

A

On demand- pay for what you use
Savings plan-commitment to a consistant amount of usage for 1-3 year term
Reserved instance- for predictable use, 1-3 year term

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

EC2 pricing
Spot instance - dedicated hosts

A

Spot instance- request spare Amazon computing, instance can be taken away anytime with 2 min warning
Dedicated host- used mostly for compliance requirements

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

EC2 Instances using auto scaling

A

minimum capacity- minimum required to work
Desired- what you desire to be, if not set, minimum is defaulted
maximum capacity- max amount of instances
scale as needed- as many instances you want till max capacity

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

ELB

A

Elastic Load Balancing
sits between front end and back end

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

Tightly Coupled Architecture

A

if a single component fails or changes, it causes issues for other components or even the whole system

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

Loosely Coupled Architecture

A

if one component fails, it is isolated and therefore won’t cause cascading failures throughout the whole system

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

How Loose couple architecture works

A

a message queue sits between applications, A sends data to the “buffer” then the “buffer” to B

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

Amazon SNS

A

Simple Notification Service
used to send out messages to services, but it can also send out notifications to end users. It does this in a different way called a publish/subscribe or pub/sub model.
A channel to post messages to subscribers

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

Amazon SQS

A

Simple Queue Service
SQS allows you to send, store, and receive messages between software components at any volume. This is without losing messages or requiring other services to be available
(where messages are posted, until processing)

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

What is an Application Made of

A

made of multiple components. The components communicate with each other to transmit data, fulfill requests, and keep the application running.

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

Monolithic Architecture

A

is made of tightly coupled components,(if a single point fails, other components fail)

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

Micro services

A

Amazon SQS and SNS
loosely coupled architecture

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

Amazon ECS

A

Elastic Container services
container orchestration tools
Designed to help you run your containerized applications at scale without the hassle of managing your own container orchestration software.

17
Q

Amazon EKS

A

Elastic Kubernetes service
container orchestration tools
similar thing, but uses different tooling and with different features.

18
Q

Docker

A

a platform that uses operating system level virtualization to deliver software in containers. Now a container is a package for your code where you package up your application

19
Q

Container orchestration

A

they run on top of EC2 instances and separate from each container

20
Q

Containers running across multiple EC2 instances

A

cluster

21
Q

AWS Fargate

A

serverless compute platform for ECS or EKS.

22
Q

Use EC2

A

-traditional applications
-want full access to the underlying operating system

23
Q

Use serverless Amazon Lambda

A

-host short running functions
service-oriented or event driven applications and you don’t want to manage the underlying environment at all

24
Q

Running Docker Container

A
  1. Orchestration Tool
    -Amazon ECS or EKS
  2. Platform
    -EC2 instances or serverless environment Fargate
    (OS for containers)
25
Q

Serverless

A

meaning your code runs on servers, but you do not need to provision or manage these servers.

26
Q

AWS Lambda

A

a service that lets you run code without needing to provision or manage servers
- you pay only for the compute time that you consume
(fully managed serverless compute service)

27
Q

How Lambda Works

A
  1. You upload your code to Lambda.
  2. You set your code to trigger from an event source, such as AWS services, mobile applications, or HTTP endpoints.
    3.Lambda runs your code only when triggered.
  3. Pay for when your code is ran
28
Q

Kubernetes

A

open-source software that enables you to deploy and manage containerized applications at scale. A large community of volunteers maintains Kubernetes, and AWS actively works together with the Kubernetes community.

29
Q

ACL for AWS

A

controls what goes in and out of the subnets
they also allow everything by default