Skip to content

Instance migration

Instance size (compute tier) can be changed at any time. The change takes effect on the next provision or rebuild — there is no live resize.

SizevCPURAMCompute units/month
nano0.250.5 GB0.85
small0.251 GB1.00
medium0.502 GB2.00
large1.004 GB4.00
xlarge2.008 GB8.00
2xlarge4.0016 GB16.00

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.