Hey, has anyone tried to run the server in a Farga...
# ask-community
m
Hey, has anyone tried to run the server in a Fargate container?
a
I haven't yet @Manuel Aristarán but I hope to try it this week. How far have you gone?
🚀 1
m
Just getting started. It’s on my TODO list for today 🙂
🚀 1
I’ll report back on this thread
a
Nice, thanks! I'll do the same
🙏 1
m
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
I also have no experience with ECS but I am interested. Did you convert the docker-compose file or assembled everything "by hand"?
m
I converted the docker-compose into a JSON taskDefinition
with a lot of tweaks
d
Hi @Manuel Aristarán, I’m looking at doing the same - do you have any pointers on how you got it to work?
m
Hey. Sorry for the late reply. I manually built a JSON service definition based on the
docker-compose.yml
file that ships with Prefect.