AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Managing Multiple AWS Accounts

You might want to set up different AWS accounts to perform different tasks, such as testing, staging, and production. You can use the AWS Toolkit for Eclipse to add, edit, and delete accounts easily.

To add an AWS account with the AWS Toolkit for Eclipse

  1. In Eclipse, make sure the toolbar is visible. On the toolbar, click the arrow next to the AWS icon and select Preferences.

  2. Click Add account.

  3. In the Account Name text box, type the display name for the account.

  4. In the Access Key ID text box, type your AWS access key ID.

  5. In the Secret Access Key text box, type your AWS secret key.

    For API access, you need an access key ID and secret access key. Use IAM user access keys instead of AWS root account access keys. IAM lets you securely control access to AWS services and resources in your AWS account. For more information about creating access keys, see How Do I Get Security Credentials? in the AWS General Reference.

  6. Click OK.

To use a different account to deploy an application to Elastic Beanstalk

  1. In the Eclipse toolbar, click the arrow next to the AWS icon and select Preferences.

  2. For Default Account, select the account you want to use to deploy applications to Elastic Beanstalk.

  3. Click OK.

  4. In the Project Explorer pane, right-click the application you want to deploy, and then select Amazon Web Services > Deploy to Elastic Beanstalk.