Posted On: Sep 20, 2023

AWS Cloud Map introduces a new API for retrieving the revision of your services. It allows your applications to update the state of your cloud resources only when it has changed, minimizing the discovery traffic and API cost. With AWS Cloud Map, you can define custom names for your application resources, such as Amazon Elastic Container Services (Amazon ECS) tasks, Amazon Elastic Compute Cloud (Amazon EC2) instances, Amazon DynamoDB tables, or other cloud resources. You can then use these custom names to discover the location and metadata of cloud resources from your applications using AWS SDK and authenticated API calls.

While the existing AWS Cloud Map’s DiscoverInstances API returns the full information about registered cloud resources, the new API called DiscoverInstancesRevision returns only the revision number. Now to keep your application up to date with the state of cloud resources it depends on, you can make a lightweight API call that returns only the revision number. Then you can compare it with the revision of the full list of cloud resources, and skip calling DiscoverInstances API again if the revision hasn’t changed. It reduces the network traffic, allows you to optimize your applications, and reduces the cost associated with service discovery.

To learn more, please refer to the AWS Cloud Map documentation. To see all of the Regions where AWS Cloud Map is available, see the AWS Region table.