Thursday, August 18, 2016

AWS Quick Labs - Introduction to Amazon Elastic Compute Cloud (EC2)

Amazon Elastic Compute Cloud (EC2)


Amazone EC2 is a web service which provides scalable and shrinkable competing in the cloud environment.It provides a complete control over the computing resources. EC2 also helps to use the only minimum resources, which will help to reduce cost in the cloud environment.

In this blog, we are explaining how to create amazon Linux instance in EC2 and how to log into the instance.    

In this chapter, we need to download an SSH client called putty.

Create an Amazon Linux Instance using AMI

1) Go to the AWS management console then Services and select EC2, find the launch Instance button and click it and select Amazone Linux AMI from the list. For detailed Linux, installation steps check my Previous Blog.


2) Select instance type as t2small, which has one CPU and 2 GB memory.


3) Leave the default setting in the next steps, give an instance name in Tag Instance window. I have given the instance name as 'ramvijo lab'.

4) You can use the existing key pair and click Launch Instance. The key pairs are used to access to the instance after creation .


Connecting from a Windows Machine


All the AWS instance has assigned two IP address, one is private and the other one is public IP and both are associated using NAT for communicating with the internet world.It also has an internal DNS name and public DNS name that respectively mapped to the private and  Public IP address. 

Here we will use downloaded putty software to connect to the Instance through Internet.

1) Copy the public DNS from the description tag of the running instance (Check the above slide).

2) Go back to the quick lab instruction window to and download the PPK format KEY which is compactable with Putty software.



3) Open putty.exe which you have downloaded, and enter the hostname as ec2-user@<public DNS copied from AWS>

4) expand the Category and SSH from the left pan of Putty and select auth, then select the downloaded key file in the Private key file for authentication box.

5) Click open and click yes to allow ssh connection.


6) You can get the login screen of the Linux instance

Confirmation of Lab Completion 



5 comments:

Unknown said...

Good article, seems simple but most informative. Thanks for explaining amazon Linux instance in EC2 in a step by step guidance. it is so useful for AWS Candidates.


Best Regards,
CourseIng - AWS Online Training in Hyderabad

Ram Ramky said...

I have ever seen like your blog in the internet. I am very much impressed in the way of your writing. As you said Cloud domain has occupy a special place in the software industry. Keep updating with us. Eager to read the next blog from you.
Regards:
cloud computing training in Chennai | cloud computing training

Unknown said...

Very Good Information. Thanks for this great share.I like the way you describe this post. Thanks for sharing. I am waiting for your more posts like this or related to any other informative topic. Here we have some stuff regarding Amazon Machine Images. I think this information is helpful.
AWS AMI

likitha said...

Nice work, your blog is concept-oriented, kindly share more
AWS Online Training

Wikiowl said...

Amazon Elastic Compute Cloud (EC2) forms a central part of Amazon.com's cloud-computing platform, Amazon Web Services (AWS), by allowing users to rent virtual computers on which to run their own computer applications. EC2 encourages scalable deployment of applications by providing a web service through which a user can boot an Amazon Machine Image (AMI) to configure a virtual machine, which Amazon calls an "instance", containing any software desired.
Amazon elastic compute cloud