How to use EC2 as your Virtual Server to take advantage of AWS public cloud solution. To get virtual machines running in a matter of minutes.
Like our previous articles
Where we created two virtual machines but in this article want to show you how to use Cloud services. To get virtual machines running in a matter of minutes.
Now let’s get right into it. First of all you need to go to aws.amazon.com and create a new account.
You can watch video for account signup guide.
How to create a AWS account?
Navigate to my account click on the “AWS management console”. And what you want to do is create a new account so click on the “Create a new AWS account” button.
Let’s fill out this form with basic information for example email address the password has to be a very strong as you can see in video there 8 or more characters and a few other conditions to make it a strong password.
Then you would be given other contact information form and you what you want to do is select the personal.
Because professional get to pay more there’s a like a subscription model for professional account. And put in your other information like telephone number and country.
The next page you can see here is the payment information and what this means is because it’s a public cloud. You have to pay for the time because you use the service.
Don’t worry too much because the AWS has a free tier which you will pretty much use their infrastructure without paying anything. But you have to be careful to always stop your virtual machines otherwise they charge per hour.
How to setup AWS Management Console to use EC2 As Your Virtual Server
Once you get all this set up, you have your account created successfully.

You need to go to my account click “AWS management console” and select the root user.

Once you log in this is basically what you see there are so many AWS services.

And you do not need to worry about everything right now. We just want to focus on one which is easy too so you tap in this search box right here.

and as you can see “virtual servers in the cloud” select that. Each virtual machine it’s called an instance.
Instances on AWS Cloud Solution

So you would hear things a lot about “instances” so if I create one virtual machine of Ubuntu OS that is an instance of EC2.

On the left as you can see there are a number of things you need to click on to get into all the different services provided by AWS. As far as this is concerned EC2 instances. Just click instances.

Click Launch Instance

There’s a search box here where I can type in “Ubuntu” but before I do that I want to select free tier only. So I don’t want to get an instant where I have to pay the number of options like that.
here as at the time of this article there is a bunch of server LTS for 2004. I’m gonna go with that one.

Selecting Instance type
Now I’m just gonna focus on the type here as you can see T2.micro is a free tier eligible instance type. If you select this all you get is one virtual CPU and one gig of memory.

If you really do want something much more powerful than that then you need to select higher tier.

click on “Review and Launch”
Okay we have everything set up and Click “Launch”.
Creating a New Key Pair on AWS Cloud Solution

Here you need to create a new key pair because we’re gonna need that and you can just name it let’s say darey-ec2.

Make sure you Download Key Pair that because without it you will never be able to get into the ec2 instance all.
Click on launch Instances

now you can see here it’s a successful and also see instance ID. Every ec2 instance has an ID so if I click on that it takes me to the instance previously this was empty.

But now we have something because we’ve just created an ec2 instance.
Public IP
Now there are a number of columns here and one of the most important one I want you to see is the public IP.

Take note every time you bring up an instance it assigns a public IP to it. and that’s what you need to get into the machine.

If you click on actions you would see a number of options and here select “Connect. This give you exact command you need to copy to connect to your instance.

In the next article. I’m gonna show you how to connect to this virtual computer so whether you’re on a Mac OS on Windows 10 or whatever operating system you’re using we still need to be able to figure out how to get it to this VM.