Meteor-Cloud-Run: Deploy Meteor Apps to Google Cloud Run
Today, I’m releasing Meteor-Cloud-Run, an open-source CLI tool that makes deploying Meteor.js apps to Google Cloud Run effortless.
The Problem
Self-hosting Meteor applications to production has always been unnecessarily complex. You have to deal with containerization, authentication, secrets management, and scaling configurations can be tedious and error-prone.
The Solution
Meteor-Cloud-Run handles everything in a simple library, making it easy to self-deploy Meteor apps to your own Google Cloud instances.
# Install
npm install -g meteor-cloud-run
# In your Meteor app directory
meteor-cloud-run init # Interactive setup
meteor-cloud-run deploy # Deploy to Cloud Run
# Your app is live at *.run.app!
Key Features
- One-command deployment - No complex configuration needed
- Automatic version detection - Supports Meteor 1.x through 3.x
- Secure secrets management - Integrates with Google Secret Manager
- Zero-downtime updates - Rolling deployments keep your app online
- Scale-to-zero - Pay only when your app is used
- HTTPS & custom domains - Automatic SSL certificate provisioning
- CI/CD ready - GitHub Actions integration included
Cost-Effective
Unlike traditional hosting solutions, Cloud Run’s pay-per-use model means:
- Basic deployments: ~$1-20/month
- With custom domain: ~$25-45/month
Your app scales automatically from zero to thousands of requests, and you only pay for what you use.
Get Started
The tool generates all necessary configuration files and walks you through the setup process.
Project Links:
Built for the Meteor community to make cloud deployment as simple as it should be.
Feel free to contribute, raise issues, and have fun!