Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate away from Heroku for demo server #1307

Closed
ml-evs opened this issue Aug 25, 2022 · 7 comments · Fixed by #1400
Closed

Migrate away from Heroku for demo server #1307

ml-evs opened this issue Aug 25, 2022 · 7 comments · Fixed by #1400
Labels
deployment An app serves the OPTIMADE regular server

Comments

@ml-evs
Copy link
Member

ml-evs commented Aug 25, 2022

Heroku is dropping its free tier in November, so we probably need to find somewhere else to host the reference server deployed from this repo. Two alternatives with sufficiently generous free tiers are Fly (https://fly.io/docs/about/pricing/) and Render (https://render.com/pricing).

@ml-evs ml-evs added the deployment An app serves the OPTIMADE regular server label Aug 25, 2022
@JPBergsma
Copy link
Contributor

Thanks for pointing this out, I have put the closing date in my agenda, so I can migrate the Heroku app for the trajectory endpoint.

@ml-evs
Copy link
Member Author

ml-evs commented Oct 29, 2022

November has come around quickly... @JPBergsma have you already migrated the trajectories app? If not, I can investigate moving the normal reference server to Fly?

@JPBergsma
Copy link
Contributor

Sorry, I did not reply sooner, I thought I had replied already.

It would be good if you investigate the move. Fly asks for a credit card which I do not have. So perhaps Render would be the easier option for now. There are several other alternatives as well, what are the requirements we need ?

@ml-evs
Copy link
Member Author

ml-evs commented Nov 21, 2022

Just followed their Heroku migration guide (https://fly.io/docs/rails/getting-started/migrate-from-heroku/) and now we have https://optimade.fly.dev/, seems to work fine.

I'll keep an eye monitoring to make sure I don't get billed... and can make a PR that deploys to Fly each update to master.

@ml-evs
Copy link
Member Author

ml-evs commented Nov 21, 2022

After many back and forth PRs, I think the Fly deployment is now working from the CI... sometimes it only seems to work the second time, so there may be some more triaging needed after dealing with #1400.

@JPBergsma
Copy link
Contributor

JPBergsma commented Nov 22, 2022

I have migrated my trajectory branch to render.
https://optimade-python-tools-trajectory-demo.onrender.com/v1

@ml-evs
Copy link
Member Author

ml-evs commented Nov 22, 2022

Looks good! Once things have settled down a bit I'll make the current Fly app under an organization and give you access.

@JPBergsma JPBergsma reopened this Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment An app serves the OPTIMADE regular server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants