How to launch an EC2 instance on aws?



  • An instance on AWS is created via the EC2 service. An instance is a virtual machine on the cloud.

    0_1461220835852_ec2console.png

    The EC2 main page, EC2 Console as it is known, looks like the above, everything that is related to a virtual machine links off this page even though links go into other AWS services because EC2 is a central service. A we all know when configuring any server, you need networking, security, storage, and more to get it fully setup.

    Follow this page with this article
    http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html

    You can use the free tier resources for the first 12 months, read the web page: http://aws.amazon.com/free

    Launch an EC2 instance

    Click the launch instance button, this will take you through a series of steps, where you fill out the details and click next. The following are the images you will see and need to fill out the details to

    Choose the OS image you want, keep in mind the free tier
    0_1461222478656_ec2-1.png

    Chooses the instance type
    0_1461222499462_ec2-2.png

    Configure the instance details - You might want a public IP
    0_1461222507867_ec2-3.png

    Add storage and storage sizes
    0_1461222516818_ec2-4.png

    Name the instance
    0_1461222525885_ec2-5.png

    Add the security
    0_1461222533957_ec2-6.png

    Review it all
    0_1461222548125_ec2-7.png

    Create and Download key for access to instance
    0_1461222557727_ec2-8.png

    Details, click view instances to see it being initialized.
    0_1461222564994_ec2-9.png

    Once the instance has been fully initialized, you can connect to it from putty, you might have to convert you pem key to a ppk file first or if you have a linux desktop or VM you can access it from the command prompt, use the DNS name provided.

    ssh -i "mykey.pem" [email protected]
    

Log in to reply
 

© Lightnetics 2024