Sunday, September 8, 2024

AWS - Introduction

 


Amazon Web Services is a subsidiary of Amazon that provides on-demand cloud computing platform and API's to Individuals, Companies and Governments on a metered Pay-as-You-go basis.

AWS Global Infrastructure as of 2024:

The AWS Cloud has 108 Availability Zones and 34 launched Regions across the world.  They will plan to extend another 18 more Availability Zones and Six more Regions in Mexico, New Zealand,  the kingdom of Saudi Arabia, Thailand, Taiwan and the AWS European Sovereign Cloud.



Amazon cloud computing resources are hosted in multiple location across world wide.  These location are composed of AWS Regions, Availability Zones and local Zones.  

AWS Regions: Region is a logical name which represent some of the Geographic location.  Each AWS Region has multiple, isolated location knows as Availability Zones.

Local Zones: We can place resources such as compute & storage in multiple locations closer to end user. Local zones are designed to bring core services closer  to end users.

AWS has a multiple resource components for various purpose, we will walk through one by one now.

EC2 - Elastic compute cloud

EC2 provides scalable compute capacity in the AWS cloud. We can create a multiple virtual machines through EC2.  We can scale up or down the resources easily through EC2.

EC2 Instance Purchasing Options:

On-Demand:

* It is very expensive and very flexible purchase options

* We are charged only when instance is running (billed by hour)

* We can terminate or provision at any time.

Reserved:

* Allows us to purchase an instance for a specific time period.

* We can get a special discounts while purchasing it.

Spot:

* Amazon will sell the unused resources with lower price.  

* We can bid on an instances type and get those instance if bid match with our price or go below to our bid price.

* Spot price will be fluctuate based on supply and demand in the market.

The price of EC2 instance will vary based on Instance type, Region, EBS and storage resources.

Amazon Machine Image:

* A preconfigured a package image (ex. ISO) along with necessary software's which require to launch an EC2 instance.

AMI comes with 3 categories as below:

1) Community AMI
2) AWS Market place AMI
3) My AMI [User created image]

EC2 instance Family:

General purpose: It is combination of CPU and memory with common purpose depends upon the request[family type is t2, m4, m3]. Example of common websites, web application, micro service and code repos.

Compute Optimized: It will provide more compute power to host. It will require for high end customers [family type is c3, c4, cc2]. For example of web servers, batch processing and analytics.

Storage Optimized: It will provide a more IOPS while access the data from the storage[family type is d2, i2 and i3]. For example data warehousing and NoSQL

Memory Optimized: It will give a more random memory while access the application [family type is r3 and r4]. It is mainly used for Hadoop and SAP Hanna application.

Allocation the IP address to EC2 Instance:

Private IP : By default every EC2 instance will be provided with a private IP address.
Public IP: EC2 instance can be launched with or without public IP address.  It will allow the instance to communicate from Network.
Elastic IP: Static public IP address for the instance. It is chargeable.

Storage service:

EBS - Elastic block store - The data will access in block level. we can able to read or write concurrently.
EFS - Elastic File store - The data will access a serial level.
S3  - Simple storage service - The data will save as object. We can get a unique ID and endpoint after uploaded the data.

EC2 and EBS should be in same availability zone.

 

No comments:

Post a Comment