By Benjamin
Developer
Hello, we would like to launch a web app (server), a static website and a managed database for availability in multiple regions (United-States and Europe).
How would we do that using App Platform? How is handled the data replication?
Thank you.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
The DigitalOcean App Platform does not natively support multi-region deployment, data replication, or active geo-redundancy out of the box. You would have to manually set up these aspects yourself.
For multi-region availability, you would typically have to set up separate applications in each region, each with their own database.
Data replication can indeed be challenging, with the DigitalOcean Managed database clusters you can add read replicas easily, but having an active-active replication setup is not support. So this would mean that you will need to setup and maintain yourself. For exmaple you could do that with a Galera cluster:
I could also suggest this tutorial here:
https://www.digitalocean.com/community/tutorials/what-is-high-availability
Hope that this helps!
Best,
Bobby
Hello,
There is no option to change the app region directly from the app UI, but you can change it from the app spec file of your app.
follow the instructions below.
Hope this helps!
Cheers, Sri Charan
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.