https://dagster.io/ logo
#deployment-ecs
Title
# deployment-ecs
a

Aaron Brezel

08/23/2023, 2:08 PM
Hey folks! My team runs Dagster on ECS and I’m looking for some help integrating with the Dagster Graphql Client. I recently deployed an AWS lambda that uses the Python client to trigger a job run on the ECS service with the
submit_job_execution(job_name=)
method. This works locally, but hangs when deployed. I’m trying to suss out why this is the case
z

Zach

08/23/2023, 2:19 PM
Sounds like a networking issue - have you checked to make sure that you have a security group on your Dagster ECS service that allows inbound from a security group placed on the Lambda? Are they in the same VPC?
a

Aaron Brezel

08/23/2023, 2:21 PM
This sounds really promising. The lambda is not part of the same VPC. I’ll give that a shot. Thank you!
z

Zach

08/23/2023, 2:26 PM
That will definitely cause an issue
Unless you have VPC peering or something along those lines set up (I'm not very familiar with those more complex VPC setups)
a

Aaron Brezel

08/23/2023, 3:08 PM
Bingo. That was the issue. Very much appreciate the help
🎉 1
z

Zach

08/23/2023, 3:09 PM
No worries - I now look back with slight fondness at my memories of pulling my hair out debugging Lambda VPC connectivity issues
It's amazing what time will do to the past
dagsgiving 2 1
10 Views