What is EC2 Instance in AWS and how to deploy Instance on AWS Cloud!
In this article I am going to show you what is WAS EC2 Instances and how to create it on AWS Plateforme.
Amazon EC2 or Amazon Elastic Compute Cloud, is a service provided by Amazon Web Services (AWS) that offers scalable computing capacity in the cloud. An Amazon EC2 instance is a virtual server in the AWS cloud environment can choose from a variety of operating systems when we launch instance. We can connect to your instance and customize it to meet your needs. For example, we can configure the operating system, install operating system updates, and install applications on your instance.
Note: There are different regions in AWS to store or deploy our infrastructure, so we have to select the regions or area which is near to our location so there should be no availability or latency issues. we can select the area on top right corner of the AWS Console.
How to Configure EC2 Instance (Ubuntu Server) on AWS?

Now select the EC2 and begin with the deployment of Instance.

Then we will go with the name of EC2 Instance. This is the installation of Ubuntu Server on EC2 Instance or Virtual Machine so we will select the Ubuntu Server.

As I have hosted my server in other country or region, so I need a private key to access this machine for authorized user.

As i will access my EC2 Ubuntu Machine using SSH so I am going to only Accept traffic for port 22 on Ubuntu Machine. So, this configuration will make a security group which will be used as reference what type of traffic is allowed on this machine.

I have selected gp2 as storage type you can select of your choice.

Now after making this configuration AWS provide you with summary of configuration for this EC2 Instance and after this we can Launch our Instance.

As you can see that EC2 instance get sometime to deploy so here status is showing pending.

Now our Ubuntu server is hosted in region where we have selected to get deploy now, we access this Instance by using SSH or other method which suits your ease of access.

To connect with Ubuntu Server, we will use public IP of this machine so select this machine and click on Connect.

As I am going to access it through SSH so will select SSH client and then go with connection. Open Windows CDM and go to location where Private key was downloaded, so in my case it downloaded in Download folder.
Now we have to make private key executable so we will run a command to make it executable.


Now we can see that our Instance is get connected and now we can install or configure anything of our need.

Conclusion:
AWS Provides computing and security services and operate at a shared responsibility model. By using these Cloud services there is no, or little resource needed on-premises. AWS provides storage, security and other services to data by offering different subscription packages so we can use these methods to deploy machines in AWS.