Proof of Concept showing how you can use AWS Cloud Map or AWS Systems Manager Parameter Store to maintian details on deployed services and use it to dynamically reference resources.
- Ensure you have Node.js 18 installed on your machine
- Ensure you have the AWS CLI installed on your machine
- Configure a terminal session with AWS programmatic credentials
- Install this repo's dependencies
npm ci
- Run the CDK's boostrap command to ensure you AWS account is configured correctly
npx cdk boostrap
- Deploy the AWS resources
npm run deploy
- In the output look for
ssm-poc-service.ParameterStorePOCUrl
andcloudmap-poc-service.CloudMapPOCUrl
, these URLs will retrieve the URLs for our two mock microservices and call the API and return the output