Turn off Access to your Instance Metadata

  • For existing instances, you can turn off access to your instance metadata by disabling the HTTP endpoint of the instance metadata service, regardless of which version of the instance metadata service you are using and you can reverse this change at any time by enabling the HTTP endpoint.

  • Use the modify-instance-metadata-options and set the http-endpoint parameter to disabled.

Last updated