This guide explains how to deploy Backstage to Koyeb, a serverless platform that provides the fastest way to deploy applications globally. Koyeb supports git-driven and container-based deployments.
Before you begin, make sure you have a Koyeb account to follow this guide.
Configuring the CLI
Then, configure your
app-config.yaml with your
# Should be the same as backend.baseUrl when using the `app-backend` plugin
# The $PORT environment variable is a feature of Koyeb
Push and deploy Backstage to Koyeb
Push your Backstage application with its Dockerfile to Koyeb using the following command:
koyeb app init example-backstage \
--git github.com/<YOUR_GITHUB_USERNAME>/<YOUR_REPOSITORY_NAME> \
--git-branch main \
--ports 8000:http \
--routes /:8000 \
Your application will be built and deployed to Koyeb. Once the build has finished, you will be able to access your application running on Koyeb by clicking the URL ending with
Congratulations! Now you should have Backstage up and running! 🎉