https://prefect.io logo
#prefect-server
Title
# prefect-server
e

Egil Bugge

04/01/2022, 9:58 AM
Hey all! I tested Tyler's Terraform script, https://gist.github.com/TylerWanner/0b4b00f4701dae6ad0a98978efe01966, for setting up Prefect Server in a Compute Engine VM and I'm having real problems getting the startup script to run correctly. I changed the config.toml so that it uses "apollo_url", so no worries with that. Seems to be some problems with getting Docker and Docker-Compose up and running. Anyone tested this recently and got it working?
a

Anna Geller

04/01/2022, 10:12 AM
Maybe it's easier to start with Prefect 2.0, if you're just getting started?
re your issue: perhaps you can try a more recent docker-compose version? it could be that this is too outdated: original script:
Copy code
curl -L "<https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname> -s)-$(uname -m)" -o /usr/local/bin/docker-compose
You can try instead:
Copy code
curl -L "<https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname> -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Or just:
Copy code
pip3 install docker-compose
e

Egil Bugge

04/01/2022, 10:21 AM
Both of those are good points! I am interested in transitioning to Prefect 2.0, but have been putting it off a bit since it's not production ready. That said, my project won't be close to production ready either until at least next year. By that time I'm guessing Prefect 2.0 will be as well?
a

Anna Geller

04/01/2022, 10:23 AM
Definitely! You should expect Prefect 2.0 to come out of beta much sooner than that
e

Egil Bugge

04/01/2022, 10:23 AM
Alright! Maybe I'll just jump into it now then 🙂
a

Anna Geller

04/01/2022, 10:23 AM
Good choice! 🙌
6 Views