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
Added Cloud Run Support #542
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this to be approved, it need full support of all features in the AWS deployment.
- Deployment of new versions through Github.
- Support for autoscaling.
- Separate instances for Postgres and Redis.
- Support for file uploads.
- Correct setup for certificates and domain names.
I think at the current state, this may be better off as a tutorial. I would be happy to link to it from the documentation.
Thanks for the suggestion. As of now when we do a push to GitHub it will create a new revision of service and migrate the traffic to the new one. The old one will still exist if some problem occurs we can change the traffic from new revision to old revision. Cloud run automatically supports scalling we can even spin up 100 of serverpod service running within seconds. We are packing our serverpod server into a docker( size ~30mb ) so that we can easily deploy them to any cloud services or even physical servers As Suggested I will work on that postgres , redis , domain and certification part. And will make it as a complete solution and will keep you posted. If possible can you create this as feature and assign to me |
We will soon be starting work on GCP support, this may be a nice starting point! |
Hi @vlidholt that's good to hear. Please let me know how can I help you 😃 |
Thank you! I started working on this now. Looks like a great entry point. :) |
I've been working on GCP deployment over the past weeks. There is a GCP module up for review here: I'll use this code as a base for the deployment, so @ajay-k07 will get credited as co-author. |
I wanted to use serverpod for production apps, is it possible to deploy or should we wait for some more time? |
We have added full support for Cloud Run or Compute Engine. The guides for deploying your Serverpod are available here: |
Added Cloud Run Support by creating a separate Workflow and documented the steps which need to be followed along with screen shorts
serverpod/serverpod_docs#4
List which issues are fixed by this PR. You must list at least one issue.
Deployment Support to Cloud Run
Pre-launch Checklist
///
), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.