Running dagster as a service on an EC2 instance an...
# ask-community
t
Running dagster as a service on an EC2 instance and am currently running it in the background. It wants to stop whenever I log out of the instance however. Currently working on figuring out how to run it as a systemd service but does anyone know how to keep it running otherwise?
t
How are you currently running it as a service? Do you ssh in and run
dagster-daemon run
? Have you tried running the daemon at startup via a cloud-config, user data, etc.? If those aren't possible, an option could be to
nohup
the dagster instance? haven't tried it myself
t
I got it, actually created a systemd service for both dagster and dagit.
👏🏽 1