Question: Running Spinnaker in non-EKS/AWS environment with AWS account configured. Seeing these warnings:

com.amazonaws.util.EC2MetadataUtils      : Unable to retrieve the requested metadata (/latest/dynamic/instance-identity/document). Failed to connect to service endpoint


Answer: This normal warning as AWS is trying to get information related to its environment that is not accessible from outside.


These can be disabled by placing these lines in the clouddriver-*local.yml in the .hal/defaults/profiles


logging:

  level:

    com.amazonaws.util.EC2MetadataUtils: ERROR

    com.amazonaws.internal.InstanceMetadataServiceResourceFetcher: ERROR