Instance migration
Resize an instance
Section titled “Resize an instance”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.
Instance sizes
Section titled “Instance sizes”| Size | vCPU | RAM | Compute units/month |
|---|---|---|---|
| nano | 0.25 | 0.5 GB | 0.85 |
| small | 0.25 | 1 GB | 1.00 |
| medium | 0.50 | 2 GB | 2.00 |
| large | 1.00 | 4 GB | 4.00 |
| xlarge | 2.00 | 8 GB | 8.00 |
| 2xlarge | 4.00 | 16 GB | 16.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.
How to resize
Section titled “How to resize”-
Open the database in the dashboard and go to Settings
-
Select the new Instance size from the dropdown
-
Click Save
-
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.
Move an instance to a different region
Section titled “Move an instance to a different region”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.
Available regions
Section titled “Available regions”| Region | Location |
|---|---|
| eu-west-1 | Ireland (EU) — default for all accounts |
| us-east-1 | Virginia (US) |
Migration steps
Section titled “Migration steps”-
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.
-
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.
-
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.
-
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 after migration
Section titled “API keys after migration”API keys are scoped to a specific instance. After provisioning the new instance:
- Create new API keys on the new instance (Database → API Keys → New Key)
- Update your application with the new keys
- 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:
- Open the connection in the dashboard (Connections)
- Edit the Default region field
- Save — new instances will use this region by default
Existing instances are not affected by changing the connection’s default region.