Deploy Authorizer on Koyeb
Introduction
This guide explains how to deploy a ready-to-use Authorizer instance on Koyeb.
Koyeb is a developer-friendly serverless platform to deploy apps globally.
The platform lets you seamlessly run Docker containers, web apps, workers, and APIs with git-based deployment, native autoscaling, a global edge network, and built-in service mesh and discovery.
Requirements
To follow along, you need to complete the steps below:
-
A Koyeb account. If you don't have one, click "Sign Up" in the top right corner of the page to open a free account.
-
A PostgreSQL database. Providers like Neon and Aiven offer free tiers that can be used to provision a PostgreSQL database.
Deploy an Authorizer Instance
Deploy production ready Authorizer instance using Koyeb with an external PostgreSQL database.
Click the button below to deploy an Authorizer instance to Koyeb quickly.
After clicking the button, follow the steps mentioned below.
Step 1: Enter application details
Choose the configuration you'd like to use for your image:
- Name: The name you want to give the service in Koyeb.
- Region: Where you want to deploy to.
- Instance: The size of instance you wish to use.
- Scaling: How many instances you want to deploy.
- App name: The name you want to give the application in Koyeb.
Step 2: Configure the database URL
In the "Environment variables" section, modify the value of the DATABASE_URL
variable to use the connection string for your PostgreSQL database.
Step 3: Configure the environment
- Open authorizer instance endpoint in browser.
- Sign up as an admin with a secure password.
- Configure environment variables from authorizer dashboard. Check env docs for more information.
Note:
DATABASE_URL
,DATABASE_TYPE
andDATABASE_NAME
are only configurable via platform envs
That's all! 🎉 You can start integrating Authorizer in your frontend application.