# Improve my DO droplet setup

**URL:** <https://meta.discourse.org/t/improve-my-do-droplet-setup/141665>\
**Category:** Self-hosting\
**Created:** [February 15, 2020, 5:13am UTC](https://meta.discourse.org/t/improve-my-do-droplet-setup/141665 "2020-02-15T05:13:25Z")\
**Posts on this page:** 5\
**Page:** 1

## AI-generated summary

User [Fausto_Dassenno](/t/-/141665/1) seeks to improve their DO droplet setup by creating a more redundant system to avoid a single point of failure. [merefield](/t/-/141665/5) suggests that DO might already have a robust failover system, citing their own experience with Scaleway and minimal downtime. [marianord](/t/-/141665/6) proposes a setup with a load balancer, droplets with application containers, and a managed PostgreSQL database, but notes that this would significantly increase costs and may not be necessary, given DO's reliability.

<div class="post-metadata">

**Author:** ![Fausto\_Dassenno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fausto_dassenno/32/166480_2.png) [@Fausto\_Dassenno](https://meta.discourse.org/u/Fausto_Dassenno)\
**Post date:** [February 15, 2020, 5:13am UTC](https://meta.discourse.org/t/improve-my-do-droplet-setup/141665/1 "2020-02-15T05:13:25Z")

</div>

Hi all,  
I am running my discourse on a single droplet on DO and I would like to create a more redundant setup. All the resources I found online points me in the direction of load balancer but for doing so I need to create an external DB droplet, move the DB from prod and so on.  
Does anyone have experience on something similar?

Thx!

F.

---

<div class="post-metadata">

**Author:** ![wanghaisheng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wanghaisheng/32/163707_2.png) [@wanghaisheng](https://meta.discourse.org/u/wanghaisheng)\
**Post date:** [February 15, 2020, 5:19am UTC](https://meta.discourse.org/t/improve-my-do-droplet-setup/141665/2 "2020-02-15T05:19:20Z")

</div>

what do you mean by more redundant setup

---

<div class="post-metadata">

**Author:** ![Fausto\_Dassenno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fausto_dassenno/32/166480_2.png) [@Fausto\_Dassenno](https://meta.discourse.org/u/Fausto_Dassenno)\
**Post date:** [February 15, 2020, 7:11am UTC](https://meta.discourse.org/t/improve-my-do-droplet-setup/141665/4 "2020-02-15T07:11:27Z")

</div>

Now my droplet is single point of failure 🙂

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [February 15, 2020, 7:14am UTC](https://meta.discourse.org/t/improve-my-do-droplet-setup/141665/5 "2020-02-15T07:14:35Z")

</div>

I imagine many providers have some level of implicit failover. Have you confirmed with DO what level of failover they provide with a droplet?

As an aside I’ve been running two forums on Scaleway for several years and had maybe 30 mins of downtime not caused by a deliberate rebuild? Can only imagine DO has similar robustness. Why do you need to improve on that kind of SLA? That’s a better level of robustness than most banking systems I’ve known!

---

<div class="post-metadata">

**Author:** ![marianord](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marianord/32/90502_2.png) [@marianord](https://meta.discourse.org/u/marianord)\
**Post date:** [February 15, 2020, 2:19pm UTC](https://meta.discourse.org/t/improve-my-do-droplet-setup/141665/6 "2020-02-15T14:19:45Z")

</div>

If you want (for some reason) a fully HA setup in Digital Ocean I’d do something like:

- Load Balancer
- Droplets with the application container
- Managed PostgreSQL Database from DO

Here’s some information about the configuration for the external DB.

> [@Configure Discourse to use a separate PostgreSQL server](https://meta.discourse.org/t/running-discourse-with-a-separate-postgresql-server/46375):
>
> Let’s say you’re using AWS RDS, or an existing PostgreSQL server managed elsewhere. It’s fairly straightforward to get Discourse to use such a setup, without needing to grant superuser privileges to anything that Discourse itself runs. Here’s how. Prerequisites Discourse requires PostgreSQL’s major version to [match what we ship with in our docker images](https://github.com/discourse/discourse_docker/blob/main/image/base/Dockerfile#L37); if you try to run on a newer or older version, it might work, but we don’t guarantee it, and if something breaks in the future, you get to …

This will increase greatly the monthly bill for the infrastructure, and I really think it’s unnecessary. Also, this will not protect you from a massive data center issue as Digital Ocean doesn’t have Multi Availability Zones per region, or inter region load balancing (at least that’s my understanding).

In the five years or so I’ve been using Digital Ocean, I haven’t seen any issue that would affect in such a way the Data Center.
