Enabling Service Discovery for AWS Fargate

Elastic Container Service

Provision Amazon Elastic Container Service (ECS) resources and deploy ECS service with integration of Cloud Map

This pattern provides sample Terraform IaC template to provision end to end Amazon Elastic Container Service (ECS) resources and deploy ECS service with integration of Cloud Map.
With Cloud Map, you can define custom names for your application resources, and it maintains the updated location of these dynamically changing resources

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/cloudmap-fargate-terraform

Deploy

terraform initterraform apply --auto-approve


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

terraform destroy --auto-approve

Created by:

Aditya Ranjan

Aditya Ranjan

Cloud Consultant at AWS ProServe