Skip to content

Instance migration

Instance size (compute tier) can be changed at any time. The change is saved immediately but shown as “pending” until you click Apply Changes to deploy the new configuration. 4xlarge and above are only available on Business and Enterprise plans.

SizevCPURAMCompute units
nano0.250.5 GB0.5
small0.251 GB1
medium0.252 GB2
large0.504 GB4
xlarge1.008 GB8
2xlarge2.0016 GB16
4xlarge4.0030 GB32
8xlarge8.0060 GB64
16xlarge16.00120 GB128

Choose a size that fits your dataset in memory, not your query load — the entire snapshot must fit in RAM. A good starting point: take your MySQL database size and multiply by 1.5× for index and overhead headroom.

  1. Open the database in the dashboard and go to Settings

  2. Select the new Instance size from the dropdown

  3. Click Save

  4. Click Rebuild to apply the change — the current instance stays running until the new one is ready, then traffic is swapped over

The rebuild takes 3–5 minutes. The old instance continues serving queries until the new one is live.


Instances cannot be migrated between regions in-place. The process is: provision a new instance in the target region, verify it, then terminate the old one.

RegionLocation
eu-west-1Ireland (EU) — default for all accounts
us-east-1Virginia (US)
  1. Provision a new instance in the target region

    Open the database in the dashboard, click Add Instance, and select the target region from the Region dropdown. Complete provisioning — this takes 3–5 minutes.

  2. Verify the new instance

    Once the new instance is running, run a test query against it:

    Terminal window
    curl https://<new-instance-id>.reflexdb.cloud/query \
    -H "Authorization: Bearer <api-key>" \
    -d '<any_table> { id }'

    Confirm the response matches your expectations.

  3. Update your clients

    Update your application’s ReflexDB endpoint URL to point to the new instance ID. If you use multiple API keys, create new keys on the new instance before removing the old ones.

  4. Terminate the old instance

    Once all traffic is routing to the new instance, open the old database entry in the dashboard and click Terminate. This removes the running instance and all associated infrastructure.

API keys are scoped to a specific instance. After provisioning the new instance:

  1. Create new API keys on the new instance (Database → API Keys → New Key)
  2. Update your application with the new keys
  3. Revoke the old keys once traffic has fully switched over

Changing the default region on a connection

Section titled “Changing the default region on a connection”

To make future instances in this connection default to the new region:

  1. Open the connection in the dashboard (Connections)
  2. Edit the Default region field
  3. Save — new instances will use this region by default

Existing instances are not affected by changing the connection’s default region.