Setting up an Account

Topics

To use Amazon EC2, you must sign up for an AWS Account, sign up for Amazon Simple Storage Service (Amazon S3), and sign up for Amazon EC2. These are three different actions that must be performed separately. For information on obtaining an AWS Account, go to the Amazon AWS Home Page. For information on signing up for Amazon S3, see Signing up for Amazon S3. For information on signing up for Amazon EC2, see Signing up for Amazon EC2.

Amazon EC2 AMIs are stored in and retrieved from Amazon S3. This means you will need to sign up for Amazon S3. If you already have an Amazon S3 account, you can skip this step.


After signing up for Amazon S3, point to the button labeled Your Web Services Account and select the AWS Access Key Identifiers link on the menu that appears. Be sure to note down your AWS account's Access Key ID and Secret Access Key. You will need these later to bundle your own image (see Making Your New Amazon Machine Image).

After you sign up for Amazon S3, you'll need to sign up for Amazon EC2.


After you sign up for Amazon EC2, you'll want to get your Access Key identifiers.

Access Key Identifiers Process

1

Point to the button labeled Your Web Services Account and select the View Access Key Identifiers link on the menu that appears.

2

Click Create New in the Your X.509 Certificate section to create a new X.509 certificate.

3

Save the certificate and private key. You'll need this when you set up our command line tools (see Setting up the Tools).

4

Create a .ec2 directory in your home directory, and save these files to it with the filenames offered by your browser. You should end up with a PEM-encoded X509 certificate and a private key file named as shown in the following examples.

The following is an example of a PEM encoded signed X.509 certificate.

cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem

The following is an example of an unencrypted, PEM encoded RSA private key that corresponds to the preceding X.509 certificate.

pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem

This X.509 certificate is associated with your account until you generate or upload a new certificate. If you have an existing certificate that you prefer to use, you can return to the Access Key Identifiers upload it later.

5

Finally, you'll need to look up your AWS account ID. You should use this value whenever you need to provide an EC2 user ID. From the AWS portal page, point to Your Web Services Account and select the Account Activity link on the menu that appears. At the top of this page, locate your the Account Number which is a hyphenated number that looks similar to 4952-1993-3132. This number, with the hyphens removed, is your AWS account ID. In this example, it is 495219933132.


That's it. You're all set to start setting up your tools.