https://prefect.io logo
Title
m

Manuel Aristarán

04/13/2020, 3:41 PM
Hey, has anyone tried to run the server in a Fargate container?
a

Adam Roderick

04/13/2020, 3:41 PM
I haven't yet @Manuel Aristarán but I hope to try it this week. How far have you gone?
🚀 1
m

Manuel Aristarán

04/13/2020, 3:42 PM
Just getting started. It’s on my TODO list for today 🙂
🚀 1
I’ll report back on this thread
a

Adam Roderick

04/13/2020, 3:42 PM
Nice, thanks! I'll do the same
🙏 1
m

Manuel Aristarán

04/14/2020, 8:22 PM
Hey. After a lot of tinkering (never used ECS or Fargate before), I have prefect server running as an ECS service
💯 1
Unfortunately, the UI hardcodes
localhost
as the API endpoint, so we need to forward the port locally
but it seems to work
p

Pedro Machado

04/15/2020, 12:18 AM
I also have no experience with ECS but I am interested. Did you convert the docker-compose file or assembled everything "by hand"?
m

Manuel Aristarán

04/15/2020, 9:43 PM
I converted the docker-compose into a JSON taskDefinition
with a lot of tweaks
d

Darragh

05/01/2020, 10:19 AM
Hi @Manuel Aristarán, I’m looking at doing the same - do you have any pointers on how you got it to work?
m

Manuel Aristarán

05/05/2020, 10:27 PM
Hey. Sorry for the late reply. I manually built a JSON service definition based on the
docker-compose.yml
file that ships with Prefect.