Join Slack
Powered by
Hey! How can I keep an ECS Agent running forever w...
# ask-community
k
Kelly Huang
03/23/2021, 9:11 PM
Hey! How can I keep an ECS Agent running forever without timing out on Fargate without an EC2 instance??
m
Mariia Kerimova
03/23/2021, 9:39 PM
Hello Kelly! You can use
ECS Service
, it can run agent task definition and ECS service scheduler will restart agent task in case if it failed.
s
Sumit Kumar Rai
04/26/2021, 7:48 AM
@Mariia Kerimova
is there a tutorial for this?
m
Mariia Kerimova
04/26/2021, 1:10 PM
Hello! I did open a PR, but it wasn't merged yet. You can check it out here:
https://github.com/PrefectHQ/prefect/pull/4302
s
Sumit Kumar Rai
04/27/2021, 3:28 AM
Thank you. I'll check it.
Sumit Kumar Rai
05/03/2021, 10:43 AM
A quick question. Does the ECS agent run 24x7 or does it automatically shutdown when there are no tasks around?
m
Mariia Kerimova
05/03/2021, 1:06 PM
It should run your agents as long as you want to create flow runs, so most likely 24/7
Open in Slack
Previous
Next