View a markdown version of this page

Manage account settings - Amazon EC2 Auto Scaling
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Manage account settings

You can view and change your account settings using the Amazon EC2 console or the Amazon CLI. Account settings are specific to each Amazon Region. For the available account settings, see Available account setting.

View your account settings

You can view all the available account settings for your account, or a specified account setting.

To view your account settings (console)
  1. Open the Settings page of the Amazon EC2 console, and then choose the Auto Scaling groups tab.

  2. On the navigation bar at the top of the screen, choose the Amazon Web Services Region for the account settings that you want to view.

  3. The Launch before terminate section shows whether the launchBeforeTerminate setting is Enabled or Disabled.

To view all the account settings for your account (Amazon CLI)

Use the describe-account-settings command. Omit the --name parameter to return all account settings.

aws autoscaling describe-account-settings

The following is example output.

{ "Settings": [ { "Name": "launchBeforeTerminate", "Value": "enabled", "EnforcementType": "none" } ] }
To view the specified account setting for your account (Amazon CLI)

Include the --name parameter to return the specified account setting.

aws autoscaling describe-account-settings \ --name launchBeforeTerminate

Change an account setting

You can change an account setting at any time.

To enable or disable a feature (console)
  1. Open the Settings page of the Amazon EC2 console, and then choose the Auto Scaling groups tab.

  2. On the navigation bar at the top of the screen, choose the Amazon Web Services Region for the account setting that you want to change.

  3. In the Launch before terminate section, choose Manage.

  4. To enable the feature, select Enable. To disable the feature, clear Enable.

  5. Choose Update launch before terminate.

To enable or disable a feature (Amazon CLI)

Use the put-account-setting command. Set the --value parameter to enabled or disabled.

aws autoscaling put-account-setting \ --name launchBeforeTerminate \ --value enabled