Opting out of Compute Optimizer
Use the following procedure to opt your account out of Compute Optimizer using the Amazon CLI. This procedure also deletes your account's recommendations and related metrics data from Compute Optimizer. For more information, see update-enrollment-status in the Amazon CLI Command Reference.
Note
You can't opt out using the Compute Optimizer console.
Procedure
To opt an account out of Compute Optimizer
-
Open a terminal or command prompt window.
If you haven't already, install the Amazon CLI and configure it to work with Compute Optimizer. For more information, see Installing the Amazon CLI and Quickly Configuring the Amazon CLI in the Amazon Command Line Interface User Guide.
-
Enter the following command.
aws compute-optimizer update-enrollment-status --status Inactive
Note
You can't specify the
--include-member-accounts
parameter when opting out with theupdate-enrollment-status
command. If you specify this parameter when opting out with this command, an error occurs.
Your account is opted out of Compute Optimizer after running the previous command. At the same time, your account's recommendations and related metrics data are deleted from Compute Optimizer. If you access the Compute Optimizer console, the option to opt in again should be displayed.