https://dagster.io/ logo
#ask-community
Title
# ask-community
j

Jim Abraham

04/04/2022, 4:55 PM
Hi All, I'm running Dagster on AWS Elastic Container Service. As such, I have the dagit web interface, but is there a way to use the Dagster CLI, pointed at a remote instance, or do I have to login to the dagster-daemon container?
j

johann

04/04/2022, 5:02 PM
Hi Jim, we offer a graphql CLI that’s helpful for reaching an external Dagit server
The main dagster CLI assumes that it has access to to the DB, so to use it you would have to have some mechanism to expose it to your storage
j

Jim Abraham

04/04/2022, 5:40 PM
Ah, yes, so if I had a dagster.yaml file in a given directory, with the appropriate entries for (my) Postgres run_storage, schedule_storage, scheduler, etc, it would work? I can give it a try. I like the graphql, but I'd basically end up wrapping your python code in Click and reproducing your CLI.
j

johann

04/04/2022, 5:51 PM
Yep, that should work to setup the cli