Questions tagged [aws-cloudmap]
30 questions
1
vote
1 answer
AWS Cloud Map with AWS S3 SDK
The AWS Cloud Map says it will work with S3 buckets. What I'm struggling to understand is how can I setup the AWS S3 SDK to use cloud map namespaces and services when making request to an S3 bucket. Is there a complete example somewhere that covers…

Jon Birch
- 13
- 2
1
vote
1 answer
How can I send http request between ECS services by using App Mesh and Cloud Map
What I try to do
Send a http request from app-gateway to app-backend.
I've created apps for the purpose. (https://github.com/tbrand/app-mesh-sample)
What I can't do
When the app-gateway sends http request to app-backend, it says 'ENOTFOUND'. (DNS…

Taichiro Suzuki
- 127
- 10
0
votes
1 answer
API Gateway to access cloudmap endpoint on port 5000
I have a configuration that looks somewhat like this:
I did setup an EC2 instance in my vpc to verify that the cloudmap configuration was working, i.e. i would curl my ecs task on port :5000 and get a response.
For the API gateway, I do however…

Jeppe Christensen
- 1,680
- 2
- 21
- 50
0
votes
1 answer
AWS APIGateway Weird behavior trying to find local file
I am following this article https://awsteele.com/blog/2022/10/15/cheap-serverless-containers-using-api-gateway.html to set up a cost-saving apigateway to fargate path using cloudmap instead of alb.
My app is on port 5230.
When I finish set up and…
0
votes
0 answers
No live upstreams while connecting to upstream after service tasks restart
I created a stack based on ECS Fargate.
I have Network Load Balancer that passes traffic to my Nginx deployed as Fargate.
Next of that, I have some services like backend API. In Nginx config, I created rules for path, etc.
Communication between…

quentino
- 1,101
- 1
- 10
- 25
0
votes
1 answer
Registering ECS services in CloudMap in Multi-Region environment
AWS ECS allows for new services to automatically use Service Discovery, as mentioned in the documentation here:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-configure-servicediscovery.html
If I understand correctly, there…

Przemek
- 6,300
- 12
- 44
- 61
0
votes
0 answers
How can I read from different Amazon RDS instances using one endpoint?
I’m gonna implement the following pattern using RDS Aurora instances:
I have to import into my DB large amount of data (about 30 millions
of records) two times a day
Gonna create 2 instances: A and B
While data is being imported into the Instance A…

Andrew
- 409
- 5
- 17
0
votes
1 answer
Create AWS Cloud Map DNS alias for an S3 static website
Route 53 can route traffic to an S3 bucket with static web hosting, but you can't manually add records to a Route 53 namespace managed by Cloud Map.
So how should Cloud Map be configured to route traffic from mys3website.private-namespace to…

hertzsprung
- 9,445
- 4
- 42
- 77
0
votes
1 answer
AWS ECS & CloudMap "no such host"
I have an ECS cluster setup with a container that runs a microservice hosting a public and private HTTP server.
I have the public HTTP server being connected through an Elastic Load Balancer which is working correctly, however the internal HTTP…

Myles S
- 1
0
votes
1 answer
Request mapping and wildcards in @aws-cdk/aws-apigatewayv2
I'm trying to add a HttpRoute in a HttpApi with the following features:
a wildcard after the initial path: i'd like to proxy everything after "/foo" (such as "/foo", "/foo/bar" etc) to an ecs service (via HttpServiceDiscoveryIntegration, already…

Zweer
- 46
- 4
0
votes
1 answer
EKS: how to register dynamic generated eks loadbalancer dns in eks cloudmap?
I have one kafka external service in which I have used type: Loadbalancer
Problem: This service will always create new load balancer after uninstall/delete.
Usecase: I want to register load balancer's dns against one static DNS in aws…

NIrav Modi
- 6,038
- 8
- 32
- 47
0
votes
1 answer
Can an ECS service / ASG instance add its own IP to an a Systems Manager Parameter Store entry on bootup?
I want nodes to add their own ip to a list at a key, so that other nodes joining the cluster can discover them.
The issue w/ using the supported CloudMap registration for doing this, is that doesn't seem very dynamic. I want the list to start off…

pdxleif
- 1,750
- 16
- 15
0
votes
1 answer
ECS Fargate service discovery
I am using AWS ECS Fargate, I am currently using service discovery to allow my tasks to communicate with eachother. I have an issue where my tasks can only communicate if I place this security group on them
resource "aws_security_group"…

pocockn
- 1,965
- 5
- 21
- 36
0
votes
0 answers
ECS service communication with spring microservices and AWS cloudmap
I am using the ECS Fargate launch type.
I am deploying Spring based microservices.
Every service registers itself to AWS CloudMap.
Now I am trying to communicate between two microservices using the RestTemplate.
I call the services by their DNS…

DerPauli
- 63
- 1
- 11
0
votes
1 answer
nginx conf uwsgi_pass not respecting DNS TTL
I am using nginx along with an upstream uwsgi app. The uwsgi app is using AWS Cloudmap to serve as service discovery.
The problem I have encountered is that cloudmap uses DNS resolution to the uwsgi hosts. It seems that uwsgi resolves and caches…

wonton
- 7,568
- 9
- 56
- 93