MySQL

Databases are automatically provisioned for each environment.

Developers are allowed to provision multiple MySQL databases per environment.

Usage

The following example demonstrates how a upgrade D8 project might provisions 2 databases to test migrations:

  • Default database for the application.
  • Secondary database containing D7 version of the site.

.skpr/defaults.yml

services:
  mysql:
    default: {}
    migrate_d7: {}

Apply this configuration by running skpr deploy.

Deep Dive

Database instances are backed by AWS Aurora Serverless due to it's scaling feature.

Databases are provisioned on shared Non-Prod or Prod MySQL Aurora Serverless instances based on the production: true flag.

Dedicated MySQL instances coming soon...