View a markdown version of this page

Turn off Container Insights - Amazon Batch
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).

Turn off Container Insights

To explicitly disable Container Insights on a compute environment, set the value to DISABLED.

Amazon Web Services Management Console
  1. Open the Amazon Batch console.

  2. Choose Environments.

  3. Choose the compute environment that you want.

  4. On the Container insights tab, choose Disabled for the compute environment.

Amazon CLI

Use update-compute-environment to disable Container Insights on an existing compute environment.

$ aws batch update-compute-environment \ --compute-environment my-compute-env \ --ecs-settings containerInsights=DISABLED
API

Set containerInsights to DISABLED in your UpdateComputeEnvironment request.

{ "computeEnvironment": "my-compute-env", "ecsSettings": { "containerInsights": "DISABLED" } }

For more information, see UpdateComputeEnvironment in the Amazon Batch API Reference.

Important

After you set a Container Insights value on a compute environment, you cannot revert to the default (unset) behavior, where the Container Insights setting is managed outside of Amazon Batch. To change the Container Insights mode, you must call UpdateComputeEnvironment with the new value.

This also means that if you set this property in a Amazon CloudFormation template, a stack rollback cannot revert the setting to its previous unset state.