Opting out of Compute Optimizer
Use the following procedure to opt your account out of Compute Optimizer using the AWS 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 AWS 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 AWS CLI and configure it to work with Compute Optimizer. For more information, see Installing the AWS CLI and Quickly Configuring the AWS CLI in the AWS Command Line Interface User Guide.
-
Enter the following command.
aws compute-optimizer update-enrollment-status --status InactiveNote
You can't specify the
--include-member-accountsparameter when opting out with theupdate-enrollment-statuscommand. 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.