AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon AWS.

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 account root user 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.