DEV Community

Ashwin Raiyani
Ashwin Raiyani

Posted on • Updated on

Beginner's Guide for AWS-EC2

Amazon Elastic Compute Cloud (Amazon EC2) is a service that provides secure, scalable and resizable compute capacity in the AWS cloud. It falls under the category of Infrastructure as a Service (IAAS). Scalable Infrastructure on Demand mean Increase or decrease capacity with in minutes, not hours or days.

EC2 offers the broadest and deepest compute platform with choice of processor, storage, networking, operating system, and purchase model.

It provides the different type of instances based on the pricing models:

On-Demand Instances
✔ It will be useful for short-term needs and unpredictable workloads.
✔ There will be no advance money or previous commitment.

On Demand Instances are Recommended for
➢ Users that prefer the low cost and flexibility of amazon EC2 without any upfront payment or
longterm commitment
➢ Applications with short term, spiky or unpredictable workloads that cannot be interrupted.
➢ Applications being developed or tested on amazon EC2 for the first time

Spot Instances
✔ Plus point for this instances No advance payment or no prior commitment required.
✔ Quite useful for cost-sensitive compute workloads.

Reserved Instances
✔ RI is useful for long-running workloads and predictable usage.
✔ RI Offers to choose from No upfront, Partial upfront, or All upfront.

Dedicated Instances
✔ Dedicated Instances run on hardware dedicated to a single user.
✔ Limitation - Other customers can not share the hardware.

Dedicated Hosts
✔ A whole physical server with an EC2 instance allocates to an organization.

Top comments (0)