How to Create EC2 Instance on AWS
To create EC2 Instance on AWS
Introduction:
Amazon Web Services is a subsidiary of Amazon rendering on-demand cloud computing platforms and APIs to individuals, companies, and governments, on a metered pay-as-you-go basis. Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides reliable, resizable measuring capacity in the cloud that is designed to create web-scale cloud computing more comfortable for the developers. It provides complete control of computing resources and you can run on Amazon's proven computing environment. This tutorial will cover, to create an EC2 instance on AWS.
Procedure:
Open AWS console on your web browser
Then you will see the EC2 dashboard
Purchasing Option:
The purchasing options is having three types.
Spot instance - A Spot Instance is an unused EC2 instance that is available for less than the On-Demand price. Because Spot Instances enable you to request unused EC2 instances at steep discounts, you can lower your Amazon EC2 costs significantly. The hourly price for a Spot Instance is called a Spot price.On-demand - With On-Demand Instances, you pay for compute capacity by the second with no long-term commitments. You have full control over its lifecycle—you decide when to launch, stop, hibernate, start, reboot, or terminate it. There is no long-term commitment required when you purchase On-Demand Instances.Reserved Instance- An Amazon Reserved Instance (RI) is a billing discount that allows you to save on your Amazon EC2 usage costs. ... Zonal Reserved Instances allow you to create a capacity reservation for an instance type within a specific Availability Zone. Zonal RIs also provide substantial discounts over On-Demand Pricing.
After you configure the instance details then you have to add the storage for the instance, By default AWS provide 30GB for the Trail package and also it create by default on root volume
Here I will take control of the EC2 instance using the downloaded key by executing following command
2. On-Demand Instance
3. Reserved Instance