Shashikant shah

Monday, 4 January 2021

AWS Global Infrastructure and ec2 instance

AWS Global Infrastructure 

  • AWS is a cloud computing platform which is globally available.
  • Global infrastructure is a region around the world in which AWS is based.

1.    Regions :- 30

2.    Availability zones :- 96

3.    Edge locations :- 410

4.    Regional Edge Caches :- 13







What is a EC2 ?

  • EC2 stands for Amazon Elastic Compute Cloud.
  • Default ec2 instance max creates 20 in per region.
  • Amazon EC2 is a web service that provides resizable compute capacity in the cloud.
  • integrated with other services s3, RDS,ELB.
  • Instances can be launched in one or more regions and AZ.
  • You can scale the compute capacity up and down as per the computing requirement changes.
  • Amazon EC2 provides the developers with the tools to build resilient applications that isolate themselves from some common scenarios.
  • Amazon EC2 reduces the time required to obtain and boot new user instances to minutes rather than in older days, if you need a server then you had to put a purchase order, and cabling is done to get a new server which is a very time-consuming process. Now, Amazon has provided an EC2 which is a virtual machine in the cloud that completely changes the industry.

Types of EC2 instances :-

1.General Purpose Instances :-   (Balanced memory and CPU)

    A1, M5, T3/T3a, T2, M6G, M5A, M5N, M4      

2.Compute instances :-    (More CPU than RAM)            

    C5, C4, c5N            

3.Memory instances :-  (More RAM)                

    R,X1,Z1     

4.GPU instances :-     (Graphics optimized)                    

    F1,G3,P3     

5.Storage instances :-    (Low Latency)              

    D2,H1,I3     

Types of EC2 Pricing options :-










1. On Demand  :- In this model, based on the instances you choose, you pay for compute capacity per hour or per second (only for Linux Instances) and no advance payments are needed. You can increase or decrease your compute capacity to meet the demands of your application and only pay for the instance you use. This model is suitable for developing/testing application with short-term.
2. Reserved :- Amazon EC2 Reserved Instances provide you with a discount up to 75% compared to On-Demand Instance pricing. It also provides capacity reservation when used in specific Availability Zone. Customers can commit to using EC2 over a 1- or 3-year term to reduce their total computing costs. It has very flexible pricing model which offers low prices on EC2.
3. Spot Instances :- Amazon EC2 Spot Instances is unused EC2 capacity in the AWS cloud. Spot Instances are available at up to a 90% discount compared to On-Demand prices. The Spot price of Amazon EC2 spot Instances fluctuates periodically based on supply and demand. It supports both per hour and per second (only for Linux Instances) billing schemes. Applications that have flexible start and end times and users with urgent computing needs for large scale dynamic workload can choose Amazon EC2 spot Instances. Spot Instances is very best for the applications that are very feasible and having very low compute prices and also for the applications which have flexible start and end times. 
4. Dedicated Host :- A Dedicated Host is a physical EC2 server dedicated for your use. Dedicated Hosts can help you reduce costs by allowing you to use your existing server-bound software licenses like Windows server, SQL server etc. and also helps you to meet the compliance requirements .Customers who choose Dedicated Hosts have to pay the On-Demand price for every hour the host is active in the account. It supports only per-hour billing and does not support per-second billing scheme. The Dedicated Host is something physical EC2 server which is dedicated for the use of user.



How does AWS charge ?
    Three types of aws charges.
    1. Compute uses :- ec2 instance.
    2. Storage uses :- How many data store in storage like S3,EBS,Glacier.
    3. Data Transfer :- downloads or uploaded from outside.

Per-second billing scheme: 
     Today, many customers use Amazon EC2 to do a lot of work in a short time, sometimes minutes or even seconds. In 2017, AWS announced per-second billing for usage of Linux instances across On-Demand, Reserved, and Spot Instances. The minimum unit of time that will be charged is a minute (60 seconds ), but after your first minute of time, it is charged for seconds. However if you start then stop an instance in 30 seconds, you will be charged the 60 seconds not 30.

No comments:

Post a Comment