Subject: Create a new EC2 instance
Author: Linux
In response to: SSH connection to AWS instance
Posted on: 08/26/2012 06:45:20 PM
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.
>
> On 10/12/2011 07:25:53 PM Linux wrote:
Once your instance is running in the cloud, you may want to manage it.
On Unix/Linux, just ssh to it.
On Windows, you may want to use WinSCP/Putty to do that. Here is a good link to detail the process. Make sure to log on as ec2-user not root.
http://www.keywordintellect.com/amazon-web-services/managing-an-amazon-ec2-instance-using-putty-ssh/
After login, type the command:
# sudo su
You are now swithed to root
References: