Deploy quickstart

Learn how to quickly deploy an app to Galaxy with these step-by-step instructions.

Galaxy makes it simple to deploy, scale, and monitor your Meteor app. This quickstart guide will walk new users through deploying your first app. It is the abridged version of the comprehensive guide aimed at developers who have experience deploying apps with remote databases.

Get your app ready

The Free plan on Meteor Cloud allows you to get started and deploy applications on a pre-configured shared MongoDB instance. To deploy for free, simply enter this command in your terminal:

meteor deploy my-app --free --mongo

Please note, free plans are not recommended for production applications. For production apps, you will need to configure your own MongoDB Database, outlined below:

Before you begin deploying your app to production, configure access to your MongoDB database and set up any environment variables your app depends on using your app’s settings.json file.

Deploy your app

The value of DEPLOY_HOSTNAME will depend on which region you are deploying to:

  • To deploy to US East:

  • To deploy to EU West:

  • To deploy to Asia-Pacific:

The region you deploy to will affect the URL of your dashboard. If your username is devname, you’ll see your US East apps at, your EU West apps at, and your Asia-Pacific apps at

Mac and Linux

On the command line, within your app’s directory, type:

DEPLOY_HOSTNAME=[region] meteor deploy [hostname] --settings [filepath.json]

  • region is ‘’ for US East, ‘’ for EU West, and ‘’ for Asia-Pacific
  • hostname is the fully qualified domain name where you’re planning to host your application (for example, ‘').
  • filepath.json is the path to your settings file (for example, ‘./settings.json’).


If you are using Windows, the commands to deploy are slightly different. You need to set the environment variable first, then run the deployment command second (the syntax is the same as everything you’d put for meteor deploy).

In the case of US East, the commands would be:

$ meteor deploy [hostname] --settings path-to-settings.json

Configure your app

Once your app is successfully deployed, head on over to the US East dashboard; EU West dashboard or Asia-Pacific dashboard to configure your app by adding a custom domain name and enabling SSL encryption.

Add a domain in your app’s settings and point your DNS to for the US East region, for the EU West region, or for the Asia-Pacific region.

Enable encryption to secure sensitive data by generating a free Let’s Encrypt certificate or uploading your own custom certificate.

How Billing Works

You’re only billed when you have an app running. Keep running your app for as long as you want and pay-as-you-go at low metered rates. Simply “Stop” your app on the Settings page and billing will stop. Your app’s code and settings are preserved until you’re ready to run it again.

You can see your bills in your account’s Settings page and read more about billing in our billing article.

Learn more

Edit on GitHub
// search box