Setting Up With Amazon EC2: Sign Up For AWS
Setting Up With Amazon EC2: Sign Up For AWS
If you've already signed up for Amazon Web Services (AWS), you can start
using Amazon EC2 immediately. You can open the Amazon EC2 console,
click Launch Instance, and follow the steps in the launch wizard to launch
your first instance.
If you haven't signed up for AWS yet, or if you need assistance launching your
first instance, complete the following tasks to get set up to use Amazon EC2:
1. Sign Up for AWS
2. Create an IAM User
3. Create a Key Pair
4. Create a Virtual Private Cloud (VPC)
5. Create a Security Group
If you signed up for AWS but have not created an IAM user for yourself, you
can create one using the IAM console. If you aren't familiar with using the
console, see Working with the AWS Management Console for an overview.
To create the Administrators group
1. Sign in to the AWS Management Console and open the IAM console
at https://console.aws.amazon.com/iam/.
2. In the navigation pane, click Groups, then click Create New Group.
3. In the Group Name box, type Administrators and then click Next
Step.
4. In the list of policies, select the check box next to
the AdministratorAccess policy. You can use the Filter menu and
the Search box to filter the list of policies.
5. Click Next Step, then click Create Group.
Your new group is listed under Group Name.
To create an IAM user for yourself, add the user to the Administrators
group, and create a password for the user
1. In the navigation pane, click Users and then click Create New Users.
2. In box 1, enter a user name. Clear the check box next to Generate an
access key for each user, then click Create.
3. In the list of users, click the name (not the check box) of the user you
just created. You can use the Search box to search for the user name.
4. In the Groups section, click Add User to Groups.
5. Select the check box next to the Administrators group, then click Add
to Groups.
6. Scroll down to the Security Credentials section. Under Sign-In
Credentials, click Manage Password.
7. Select Assign a custom password, then enter a password in
the Password and Confirm Password boxes. When you are finished,
click Apply.
To sign in as this new IAM user, sign out of the AWS console, then use the
following URL, where your_aws_account_id is your AWS account number
without the hyphens (for example, if your AWS account number is 1234-56789012, your AWS account ID is 123456789012):
https://your_aws_account_id.signin.aws.amazon.com/console/
Enter the IAM user name and password that you just created. When you're
signed in, the navigation bar displays
"your_user_name @ your_aws_account_id".
If you don't want the URL for your sign-in page to contain your AWS account
ID, you can create an account alias. From the IAM dashboard,
click Customize and enter an alias, such as your company name. To sign in
https://your_account_alias.signin.aws.amazon.com/console/
To verify the sign-in link for IAM users for your account, open the IAM console
and check under IAM users sign-in link on the dashboard.
For more information about IAM, see IAM and Amazon EC2.
To your Linux instance from a computer running Mac or Linux, you'll specify
the .pem file to your SSH client with the -i option and the path to your private
key. To connect to your Linux instance from a computer running Windows, you
can use either MindTerm or PuTTY. If you plan to use PuTTY, you'll need to
install it and use the following procedure to convert the .pem file to a .ppk file.
(Optional) To prepare to connect to a Linux instance from Windows
using PuTTY
1. Download and install PuTTY
from http://www.chiark.greenend.org.uk/~sgtatham/putty/. Be sure to
install the entire suite.
2. Start PuTTYgen (for example, from the Start menu, click All Programs
> PuTTY > PuTTYgen).
3. Under Type of key to generate, select SSH-2 RSA.
5. Select the private key file that you created in the previous procedure and
click Open. Click OK to dismiss the confirmation dialog box.
6. Click Save private key. PuTTYgen displays a warning about saving the
key without a passphrase. Click Yes.
7. Specify the same name for the key that you used for the key pair. PuTTY
automatically adds the .ppk file extension.
a region, so you should select the same region in which you created your
key pair.
3. On the VPC dashboard, click Start VPC Wizard.
4. On the Step 1: Select a VPC Configuration page, ensure that VPC
with a Single Public Subnet is selected, and click Select.
5. On the Step 2: VPC with a Single Public Subnet page, enter a
friendly name for your VPC in the VPC name field. Leave the other
default configuration settings, and click Create VPC. On the
confirmation page, click OK.
For more information about Amazon VPC, see What is Amazon VPC? in
the Amazon VPC User Guide.
Caution
For security reasons, we don't recommend that you
allow SSH access from all IP addresses (0.0.0.0/0) to your
instance, except for testing purposes and only for a short time.
For more information, see Amazon EC2 Security Groups for Linux Instances.