Create it
- Console
- CLI and API
- Coding agent
- Open the environment, then New service › Blueprint.
- Find Scaleway MySQL in the catalog and pick the major version.
- Fill in the variables. Required ones are marked; the others use their defaults.
- Create the service, and deploy it now or later.
Variables and outputs
Generated fromqbm.yml at SCW/mysql/8/1.5.2, the manifest the Console form is built from.
All 13 variables
All 13 variables
All 9 outputs
All 9 outputs
Reference
From the Blueprint’s README. Creates a Scaleway Managed Database for MySQL with a database and admin user. Supports configurable node type, storage, backups, slow query logging, HA cluster mode, and an optional network ACL. The Scaleway instance name is composed as{cluster_name}-{instance_name}.
Migration from 1.0.x
1.1.0 drops the standalone scaleway_rdb_user.this resource — the admin user is now created via user_name/password on scaleway_rdb_instance (the canonical Scaleway provider pattern). For existing deployments at 1.0.x, run once before upgrading:
Networking
The instance is always attached to the private network of the Qovery cluster, read from the Kapsule clusterqovery-<cluster short id>. Applications in the cluster reach it there. With
publicly_accessible, a public endpoint filtered by acl_allowed_cidr is added. Public access
needs a narrower CIDR than the 0.0.0.0/0 default, which validation rejects in public mode.
Upgrading to 1.5.0
Before 1.5.0,publicly_accessible = false did not make the instance private: Scaleway created
a public endpoint anyway, with its default ACL open to 0.0.0.0/0. Upgrading an existing
instance attaches it to the private network and points endpoint_ip / endpoint_port at the
private endpoint, but the old public endpoint stays, because the provider never removes it once
the load_balancer block is gone. Delete that endpoint in the Scaleway console once the
applications use the private one.
Variables
Required
Credentials
Both are optional — omit them and Qovery supplies the values, the way native managed databases did. In the console, leaving the field blank omits it. Through the API or Terraform, omit the variable rather than sending an empty string: the platform rejects an empty variable value.Engine & sizing
Backups, logging & ACL
Outputs
Required Scaleway IAM permissions
Scaleway IAM permissions are granted via permission sets on a policy attached to the application/user whose API key is used. Attach a policy with the following permission sets, scoped to the target Project:
The minimum scope is the Project where Qovery deploys this blueprint.