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)
-
Open the Settings
page of the Amazon EC2 console, and then choose the Auto Scaling groups tab. -
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.
-
The Launch before terminate section shows whether the
launchBeforeTerminatesetting 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)
-
Open the Settings
page of the Amazon EC2 console, and then choose the Auto Scaling groups tab. -
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.
-
In the Launch before terminate section, choose Manage.
-
To enable the feature, select Enable. To disable the feature, clear Enable.
-
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