Subject: Access your AWS EC2 instance via Elastic IP Address
Author: Linux
In response to: Manage your AWS EC2 instance via Public DNS host name
Posted on: 08/27/2012 09:02:21 PM
Step 1) Log into your AWS EC2 Management Console;
Step 2) Click on Elastic IPs under NETWORK & SECURITY;
Step 3) Launch Allocate Elastic IP Request;
Step 4) on Elastic IPs Address panel, click on Associate Address
Step 5) Select an instance and click on Yes
Now your AWS EC2 instance has been associated with an IP Address: xxx.xxx.xxx.xxx
Note: After association, your instance's Public DNS may change accordingly with the newly created IP Address replacing the temporarily assigned one.
>
> On 08/27/2012 08:38:37 PM Linux wrote:
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.
References: