Amazon Compute Flashcards

1
Q

AWS EC2 (Elastic Compute Cloud)

A
  • EC2 = virtual machines in the cloud
  • Rent virtual computers/servers for your
    applications (eg. more speed, memory)
  • Reduces the time required to obtain and
    boot new server instances in minutes,
    allow you to quickly scale capacity
  • EC2 Valid Instances Type:
    • FIGHT-DR-MC-PXZ-AU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

EC2 Pricing Models

A
  • On-Demand
  • Reserved
  • Spot
  • Dedicated Host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

On Demand

A

Allows you to pay fixed rate pay by hour/second with no commitment

o Useful for users for that want low cost
and flexibility of EC2 without any upfront
payment or long term contract

o Useful for applications with short term,
spikes, or unpredictable workloads
(dynamic scale?)

o Useful for applications being developed
or tested for the first time

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

Reserved

A

pay up front/ provides you with capacity reservation and offers a significant discount on the hourly charge. Contract terms are usually 1 or 3 year (most cost effective way is to pay cost upfront)

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

Reserved EC2 Use Cases

A

o Useful for applications with steady state
or predictable usage

o Useful for applications that require
reserved capacity

o	Useful for users able to make upfront 
        payments to reduce their total  
        computing costs even further
        •	Reserved Pricing Types
        •	Standard Reserved Instances
        •	Convertible Reserved Instances
        •	Scheduled Reserved Instances
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Spot Pricing

A

Moves around all the time like stock market, enables you to bid whatever price you want for instance capacity, providing for even greater savings if your applications have flexible start and end times (eg. Ebay for servers?).

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

Spot Use Cases

A

o Useful for application that have flexible
start and end times

o Useful for applications that are only
feasible at very low compute prices

o Useful for users with urgent computing
needs for large amounts of additional
capacity

o If spot instance is terminated by EC2 you
will not be charged for partial hour of
usage. However if you terminate
instance yourself, you will be charged
or any hour in which the instance ran

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

Dedicated Host

A

Physical EC2 servers dedicated for your host, helps reduce cost by allowing you to use your existing server-bound software licenses (only used for regulatory or legal requirements)

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

Dedicated Host use cases

A

o Useful for regulatory requirements that
may not support multi-tenant
virtualization (govt)

o Useful for licensing which does not
support multi-tenancy or cloud
deployments

o Can be purchased on-demand or as a
reservation of up t70% off on-demand
price

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

AWS EC2 Auto Scaling

A

Amazon EC2 Auto Scaling helps you maintain application availability and allows you to automatically add or remove EC2 instances according to conditions you define.

  • Dynamic scaling responds to changing demand and predictive scaling automatically schedules the right number of EC2 instances based on predicted demand. Dynamic scaling and predictive scaling can be used together to scale faster.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

AWS Lightsail

A

o Out of the box cloud service. If you
want wordpress for example, LightSail
will deploy automatically and then you
can go out and customize it

o Meant for people whom aren’t as
familiar with AWS

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

AWS Elastic Beanstalk

A

o You can upload code to elastic beanstalk
and it will look at your code and go out
and provision all the underlying
infrastructure you need

o You can quickly and deploy manage
applications in the cloud

o No need to worry about the
infrastructure that runs those application

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

AWS Elastic Beanstalk (continued)

A

o You simply upload the application and
Elastic Beanstalk automatically
handles the details of capacity
provisioning, load balancing, scaling,
and application health monitoring

o Elastic Beanstalk will grow out your
infrastructure for you – all you need to
do is just provide it some code (eg.
Water/sun)

o Free service, limited in what it can
provision

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

AWS Lambda

A

o Fully managed compute service and
server-less

o Let’s you run code without provisioning
or managing servers (server-less)

o Stateless applications
- (LAMBDA eg. Think of using alexa
completely server less)

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

What is server-less computing?

A

o Build & run applications and services

without managing servers

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

Benefits of server-less computing

A

o No servers to provision or manage

o Scales with usage

o Never for idle, never have to
worry about wasted spend even
compared to EC2

o Availability and fault tolerance
built in