0% found this document useful (0 votes)
11 views6 pages

08 - Elastic Compute Cloud - EC2

Elastic Compute Cloud (EC2) is an AWS managed service that provides resizable compute capacity in the cloud through virtual machines known as EC2 instances. It offers three purchasing models (On-Demand, Reserved, and Spot) and various tenancy options, along with different instance families tailored for specific workloads. EC2 ensures high availability (99.99%) and is eligible for a 12-month free tier with specific usage limits.

Uploaded by

thecloudlearn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views6 pages

08 - Elastic Compute Cloud - EC2

Elastic Compute Cloud (EC2) is an AWS managed service that provides resizable compute capacity in the cloud through virtual machines known as EC2 instances. It offers three purchasing models (On-Demand, Reserved, and Spot) and various tenancy options, along with different instance families tailored for specific workloads. EC2 ensures high availability (99.99%) and is eligible for a 12-month free tier with specific usage limits.

Uploaded by

thecloudlearn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

Elastic Compute Cloud - EC2:

----------------------------

--> EC2 is AWS managed Highly Available Service, which can offers resizable compute
capacity in the cloud

--> EC2 can provide a Virtual Machine (Server), also known as EC2 Instance

--> AWS uses Virtualization to provide the EC2 instances

- Citrix Xen Server


- Nitro Based Virtualization

--> EC2 is Infrastructure as a Service (IaaS), which can provide Infrastructre.

- CPU
- RAM
- Storage
- Networking
- Power Supply

--> Infrastructre will be maintained and managed by AWS.

--> EC2 provides 99.99% Availability

--> EC2 offers the below for INstance Creation

- Purchasing Model
- Tenancy Model
- Instance Family

Purchasing Models:
------------------

--> EC2 Offers 3 types of Purchaisng Models

1. On-Demand
2. Reserved
3. Spot

On-Demand:
----------

--> It is the Flexible Purchasing Model for EC2

--> No Commitment - we can create and delete the instance at any time and we wil be
charged only for the tenure we have used our EC2 instance

--> EC2 instance Capacity (CPU, RAM & Networking) Can be resized at any time
without any data loss

--> EC2 instances will be charged Per hour (while they are running)

--> No Upfront Charges ( No Advance)


Reserved instances:
-------------------

--> If the Requirement of the EC2 instance is gauranteed for 1 Year or 3 Years,
then it is recomended to go for Reserved Instances

--> In The reserved Instances, we have to provide a commitment of 1 Year or 3


Years.

--> Irrespective of the Instance usage, AWS will charge you for the committed time
duration

--> In the reserved instances, we need to choose a payment plan for the bill
payment.

--> EC2 offers the Below Payment plans

- No Upfront --> No need to make any advance payment (pay on Monthly)


- Partial Upfront --> 50% of the total cost of the reserved instance usage
must be paid as advance, and the remaining to be paid monthly

- Full Upfront --> 100% of the total cost must be paid as an advance.

--> Based on the Term Commitment & Payment plan, you can get upto 70% Discount.

--> During the Committed period you cannot resize the capacity of the instances

NOTE: Reserved Instance offers 2 types

- Standard --> We cannot adjust the Capacity of the instances


- Convertible --> It will allow you to increase the capacity whenever we need

Spot Instance:
--------------

--> SPot Instances can be offered using the spare resources availabel on AWS
Datacenters

--> Spot instances offers upto 90% Discount.

--> Spot instances can be terminated (Deleted) at any time with just 2 minutes
notice and all the data will be lost.

--> Spot instances are not recommended for Prod or Developemnt purpose

--> Spot instances can be used for testing purpose or for the application which can
run with interuptions

Tenancy option:
---------------

--> Based on how we place our Instance, there are3 types of Tenancy Models
available
- Shared
- Dedicated Instance
- Dedicated Host

Shared:
-------

--> We can share the Physical Server with other customers, our EC2 instances are
Virtually Isolated. No one can see our data.

Dedicated Instance:
-------------------

--> Every customer wil get their dedicated Hardware (storage), so that we cant
share the physical hardware with other customers

Dedicated Host:
---------------

--> Dedicate Host wil provide a physical server for the requirement.

--> If your software license is based on the no of Physical CPUs, then we must have
a dedicated host to fullfil the Licensing requiremnts.

Instance Families:
------------------

--> AWS EC2 offers Different Instance families for different use cases

- General Purpose
- Compute Optimized
- Accelerated COmputing
- Memory Optimized
- Storage Optimized
- HPC - High Performance Computing

General Purpose:
----------------

--> General purpose instances provide a balance of compute, memory and networking
resources.

Compute Optimized:
------------------
--> Compute Optimized instances are ideal for compute bound applications that
benefit from high performance processors.

Accelerated COmputing:
----------------------

--> Accelerated computing instances use hardware accelerators, or co-processors, to


perform functions, such as floating point number calculations, graphics processing,
or data pattern matching, more efficiently than is possible in software running on
CPUs.

--> Accelerated Computing offers GPU (Graphical Processing Unit) in the instance
Family, which is recommended for the applications such as

- Machine Learning
- 3D Rendering
- Video Editing Tools

Storage Optimized:
-------------------

--> Storage optimized instances are designed for workloads that require high,
sequential read and write access to very large data sets

ex: Data Analytics

Memory Optimized:
-----------------

--> Memory optimized instances are designed to deliver fast performance for
workloads that process large data sets in memory.

ex: Databases, In-Memory Cache

HPC Optimized:
--------------

--> are designed for compute-intensive high performance computing (HPC) workloads,
such as computational fluid dynamics (CFD), weather forecasting, and molecular
dynamics.

--> While Creating the EC2 instance we have to select the Instance Type to choose
the following

- Instance Family
- Size of the EC2 instance (Resource)

ex: C7gn.xlarge

C --> Instance Family


7 --> Generation
g --> Processor
n --> Additonal Capacity

xlarge --> Instance Size

url: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html

--> EC2 offers, Windows, Linux and MAC operating Systems


--> EC2 is 12 Months Free tier eligible

- Upto 750 Hours Per month


- t2.micro or t3.micro

Key Terminology:
----------------

- Amazon MAchine Image - AMI


- Network
- Subnet
- IP Address
- Public IP
- Auto-Assign Public IP
- Elastic IP
- Private IP
- Security Group
- Key Pair
- Instance Type
- Storage

You might also like