Gist: ECS Service Discovery Script Here’s a scrip...
# deployment-ecs
m
Gist: ECS Service Discovery Script Here’s a script I made to discover new deployments in my ECS deployment. It uses CloudMap to find new Code Locations and writes them to the
workspace.yaml
Since I’m using Compose, it has a few assumptions: 1. Service Discovery DNS looks like this:
user_code.{namespace}.local
hosted on
:4000
2. Dagit server is located at
<http://dagit.dagster.local:3000>
3. Dagit and Daemon need to have service discovery DNS setup I then run it once in the container command and use
cron
to schedule it to run every minute. https://gist.github.com/ecumene/080c20dcadb5c5ecf8cf1a18e5af8edf
daggy love 1