Deploy Flask to Scaleway
Run your Flask app on a Scaleway server in your own account, with Postgres, HTTPS and zero-downtime releases. Scaleway bills you for the server directly, and Railyard adds no markup.
Steps
- 1
Create a Scaleway API token
In the Scaleway console, open IAM → API keys and generate a new API key. Railyard needs the access key and secret key, plus your project ID. Paste it into Railyard and tick Save it to the team, so it's reused for every server after this one.
- 2
Add a Scaleway server
In Railyard, open Servers, then Add a server, then Create on your cloud, and pick Scaleway, a region and a size. Railyard preselects DEV1-S (1 vCPU, 2 GB of memory). It creates the server in your Scaleway account and finishes setup in about two minutes.
- 3
Deploy your Flask repository
Paste the GitHub link. Railyard reads the repository, detects Flask and fills in the build, the port, the release command, workers and Postgres.
- 4
Go live on HTTPS
Railyard builds your app, runs the release command, health-checks the new version and moves traffic only when it answers. Add your domain and the certificate is issued and renewed for you.
What Railyard sets up for Flask
- Detected from requirements.txt or pyproject.toml.
- gunicorn serves app:app on $PORT. Point it at your own module if it lives elsewhere.
- Set flask db upgrade or alembic upgrade head as the release command.
- psycopg becomes Postgres, with DATABASE_URL injected.
- RQ is offered as a worker, and any Procfile process becomes one.
Scaleway regions
Scaleway is a French cloud provider — every region above is in the EU by default.
- Paris
- Amsterdam
- Warsaw
- Milan
Questions
Which Scaleway server size should I start with?
Where does my Flask app's data live?
What does it cost to run Flask on Scaleway?
Flask on other clouds
Deploy Flask to your own Scaleway server.
No credit card. Your provider bills you for servers at its own price.
Free plan, no card, and 14 days of Pro for every new team. One flat price per team.