Skip to content

AWS Cloud Map is not working

0

I also tried using aws CLI but it's not working as well. Changing region didn't make a difference Enter image description here

asked 9 months ago165 views

2 Answers
0

Hey,

Hope you're keeping well.

If the AWS CLI and console are both failing, start by confirming your IAM user or role has the required servicediscovery:* permissions for the actions you're running. Make sure you’re targeting the correct region, as Cloud Map resources are regional, and verify the namespace and service names exactly match what’s in the console. If using DNS-based discovery, check that the VPC’s DNS hostnames and resolution are enabled, and that the namespace type supports DNS queries. You can also run aws servicediscovery list-services --region <your-region> to confirm resources exist and are accessible.

Thanks and regards,
Taz

answered 9 months ago

-1

Based on your description that "AWS Cloud Map is not working" and your attempt to use the AWS CLI, I'll need more specific information about the error you're encountering to provide targeted help.

There are several common issues that could be affecting your AWS Cloud Map usage:

  1. Authorization Issues: You might not have the necessary permissions to perform actions in AWS Cloud Map. Check if your IAM user has the appropriate permissions for the specific Cloud Map actions you're trying to perform.

  2. Service Discovery Configuration: If you're using Cloud Map with ECS, check that your service discovery configuration is correctly set up, particularly if you're trying to include port information in your service registry.

  3. DNS Query Issues: If you're trying to discover services using DNS queries, verify that you're using the correct DNS server and namespace format.

  4. Service Quotas: You might have reached a service quota limit for AWS Cloud Map. You can check your current quotas using the AWS CLI with:

aws service-quotas list-service-quotas --service-code AWSCloudMap
  1. CLI Configuration: Ensure your AWS CLI is properly configured with the correct credentials and region.

To troubleshoot effectively, I would need to know:

  • The specific error message you're receiving
  • The exact AWS CLI command you're trying to run
  • What you're trying to accomplish with AWS Cloud Map

With more details about your specific issue, I can provide more targeted assistance.
Sources
AWS cloudmap is not adding port when adding target using ECS service | AWS re:Post
Troubleshooting AWS Cloud Map identity and access - AWS Cloud Map
Learn how to use AWS Cloud Map service discovery with DNS queries and API calls using the AWS CLI - AWS Cloud Map
Managing your AWS Cloud Map service quotas - AWS Cloud Map

answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.