go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Manage your AWS EC2 instance via Public DNS host name
 
Subject: Manage your AWS EC2 instance via Public DNS host name
Author: Linux
In response to: Create a new EC2 instance
Posted on: 08/27/2012 08:38:37 PM

Step 1) Download WinSCP.

Step 2) Convert AWS's key (.pem) into PuTTY format (.ppk):

  • Run <WinSCP>/PuTTY/puttygen.exe;
  • Click Load from the main screen and select the key that we saved when we were creating our Amazon EC2 instance;
  • Once the key is loaded, click on Save Private Key button;
  • You will get a warning about saving the key without a passphrase. Click Yes to generate a PuTTY format key.

    Step 3) Run <WinSCP>/WinSCP.exe
  • Click on New button;
  • Host name: ec2-xxx-xxx-xxx-xx.us-west-1.compute.amazonaws.com
  • User name: ec2-user
  • Private key file: xxx.ppk converted from step 2.
  • Save the profile and Login.

    Now you are on WinSCP window.

    Step 4) Open PuTTY session
  • Click on PuTTY icon;
  • You are on /home/ec2-user and connected as ec2-user
  • $ sudo su
  • Now you are connected as root
  • # exit
  • Now you are exited and connected as ec2-user
  • $ exit
  • Now you are out.


     

    > On 08/26/2012 06:45:20 PM Linux wrote:

    Step 1). Open the AWS Management Console and select the EC2 (Virtual Server in Cloud). Select your desired region (US West) to launch the instance and afterwards click on launch instance.

    Step 2). Select Classic Wizard to continue.

    Step 3). Select Amazon Linux AMI 2012.03 (64-bit) to continue.

    Step 4). Take defaults on the next two screens (Intance Type: Micro (t1.micro 613MB)) and skip the adding Tags page.

    Step 5). Create a new Key Pair with a key name (myEC2Key) and download the private key file: myEXC2Key.pem.

    Step 6). Setup your firewall rules:

    Inbound Rules: SSH 22 HTTP 80 HTTS 443

    Step 7). After clicking on Launch, your instance should be running in the cloud.





    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.