Hi team, was wondering if there are any specific g...
# ask-community
p
Hi team, was wondering if there are any specific guidances on how to deploy Dagster on CDK. We're deploying the webserver on one fargate task definition and the daemon on another - not sure if that is correct.
🤖 1
a
I don’t think we have any existing guidance on CDK specifically.
We’re deploying the webserver on one fargate task definition and the daemon on another
sounds good so far How are you managing the code servers? just letting them run as subprocesses in those two fargate containers? That will probably work but youll want to ensure they have enough resources. You could move the code servers to their own tasks and have the webserver and daemon refer to them by known host addresses. You will want to use the
ECSRunLauncher
if you want job runs in isolated to their own container, by default they will run subprocess to the daemon (assuming you have the queued run coordinator enabled)