# What’s your server configurations?

**URL:** https://meta.discourse.org/t/what-s-your-server-configurations/212222
**Category:** Self-hosting
**Created:** [December 15, 2021, 5:14pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222 "2021-12-15T17:14:06Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![yhh9xdq7d](https://avatars.discourse-cdn.com/v4/letter/y/f0a364/32.png) [@yhh9xdq7d](https://meta.discourse.org/u/yhh9xdq7d)
#### Post date: [December 15, 2021, 5:14pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/1 "2021-12-15T17:14:06Z")

</div>

What server configurations do you use in your projects? Should you rely on Amazon Web Services for everything? EC2, S3, RDS and Cloudfront? Or is it better to use separate services, such as Amazon only for S3, while Digital Ocean for Discourse and maybe Fastly as a CDN?

I’d like to know how you manage this forum, but also other existing communities, to understand what should be done.

Thanks everyone in advance!

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 15, 2021, 5:20pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/2 "2021-12-15T17:20:31Z")

</div>

It really depends on your goal and requirements.

Running everything in a $5 droplet is great and enough for most hobby communities. There are very big Discourse sites running in a single machine, just scaling vertically as needed.

Enterprise and business sites may go for a more complex setup using public cloud services to achieve a strict SLA, or outsource the hosting to a professional hosting like [Discourse pricing | Discourse - Civilized Discussion](https://www.discourse.org/pricing)

---

<div class="post-metadata">

### Author: ![rmccown](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rmccown/32/155375_2.png) [@rmccown](https://meta.discourse.org/u/rmccown)
#### Post date: [December 15, 2021, 5:48pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/3 "2021-12-15T17:48:15Z")

</div>

I’m using a $20 DO droplet for my site, Cloudflare in front of that, and S3 storage on the back end. My site has about 400k total posts with about 10k sessions/day average according to Google Analytics.

---

<div class="post-metadata">

### Author: ![yhh9xdq7d](https://avatars.discourse-cdn.com/v4/letter/y/f0a364/32.png) [@yhh9xdq7d](https://meta.discourse.org/u/yhh9xdq7d)
#### Post date: [December 15, 2021, 5:54pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/4 "2021-12-15T17:54:10Z")

</div>

I am new to this community but have had experiences in web development in the past. However, I am a person who loves to do things well and manage everything in the best possible way. I think very big! And I find that the idea of managing the database and uploads separately is really good. But I’m having a hard time deciding whether to manage everything with AWS using their products or not. For example, the Vendor Lock-In. Obviously, if using EC2 with a standard linux distribution such as Ubuntu and RDS for the database postgresql, there is no problem but with the S3 or maybe using other vendor standards and features such as Lambda, this could be a problem when you want to migrate to any other server hosting.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 15, 2021, 6:13pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/5 "2021-12-15T18:13:38Z")

</div>

There are other supported s3 providers: [Using Object Storage for Uploads (S3 & Clones)](https://meta.discourse.org/t/using-object-storage-for-uploads-s3-clones/148916).

From what you have said, I would recommend that you start with a single EC2 to get things figured out. If you later want to move to RDS (and elasticache), and S3 then you can do that as your needs and budget require and allow.

---

<div class="post-metadata">

### Author: ![yhh9xdq7d](https://avatars.discourse-cdn.com/v4/letter/y/f0a364/32.png) [@yhh9xdq7d](https://meta.discourse.org/u/yhh9xdq7d)
#### Post date: [December 15, 2021, 7:53pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/6 "2021-12-15T19:53:27Z")

</div>

Last question. To use the S3, you need a CDN right? But the same cdn used for the site or should another cdn be configured specifically for the data that is loaded on the S3?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 15, 2021, 8:13pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/7 "2021-12-15T20:13:12Z")

</div>

The later. The site CDN and the S3 CDN have different “Origins”.

---

<div class="post-metadata">

### Author: ![yhh9xdq7d](https://avatars.discourse-cdn.com/v4/letter/y/f0a364/32.png) [@yhh9xdq7d](https://meta.discourse.org/u/yhh9xdq7d)
#### Post date: [December 15, 2021, 8:15pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/8 "2021-12-15T20:15:36Z")

</div>

So for example Fastly for the forum and Amazon Cloudfront for the S3. Am I right?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 15, 2021, 8:21pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/9 "2021-12-15T20:21:12Z")

</div>

I would use either Cloudfront or Fastly for both. Using multiple vendors for the exact same product in a single instance sounds needlessly complicated.

When we say “another CDN” we mean another “CDN distribuition” or “CDN instance”. Not literally another CDN company.

---

<div class="post-metadata">

### Author: ![yhh9xdq7d](https://avatars.discourse-cdn.com/v4/letter/y/f0a364/32.png) [@yhh9xdq7d](https://meta.discourse.org/u/yhh9xdq7d)
#### Post date: [December 15, 2021, 8:23pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/10 "2021-12-15T20:23:30Z")

</div>

Oh okay, thanks for the explanation.

---

<div class="post-metadata">

### Author: ![criadoperez](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@criadoperez](https://meta.discourse.org/u/criadoperez)
#### Post date: [December 18, 2021, 11:35am UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/11 "2021-12-18T11:35:18Z")

</div>

I don’t rely on Amazon for anything.  
I would never use a solution that isn’t considered a standard and therefore can’t get migrated easily somewhere else.  
A traditional virtual server does a great job. I can easily change providers in the future if I want to.

---

<div class="post-metadata">

### Author: ![yhh9xdq7d](https://avatars.discourse-cdn.com/v4/letter/y/f0a364/32.png) [@yhh9xdq7d](https://meta.discourse.org/u/yhh9xdq7d)
#### Post date: [December 18, 2021, 12:17pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/12 "2021-12-18T12:17:25Z")

</div>

What alternatives to EC2, S3, RDS and Elasticache would you recommend? I mean standard solutions, to avoid as you say, the Vendor Lock-In problem.

For example Linode? Digital Ocean?

---

<div class="post-metadata">

### Author: ![MarkDoerr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markdoerr/32/549630_2.png) [@MarkDoerr](https://meta.discourse.org/u/MarkDoerr)
#### Post date: [December 18, 2021, 8:30pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/13 "2021-12-18T20:30:44Z")

</div>

I’ve managed web apps on all three (AWS, Linode, & Digital Ocean). I prefer Linode & DO. I found them cheap, rock-solid, and most importantly, simpler to manage. I was the only tech person at a tiny little company, so those were really important factors to me.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 18, 2021, 8:40pm UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/14 "2021-12-18T20:40:26Z")

</div>

It’s really not hard to move discourse to a different platform, even if you’re using all those aws tools, you can take a backup and restore it to any discourse installation.

---

<div class="post-metadata">

### Author: ![lightweight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lightweight/32/116381_2.png) [@lightweight](https://meta.discourse.org/u/lightweight)
#### Post date: [December 20, 2021, 2:37am UTC](https://meta.discourse.org/t/what-s-your-server-configurations/212222/15 "2021-12-20T02:37:12Z")

</div>

DO and Linode (along with hundreds of similarly priced competing cloud service providers) are far more cost-effective (about 10% the cost, in my experience) than AWS or MS Azure for equivalent services, and far less likely to require you to build things using their proprietary APIs and interfaces which inhibits moving to another commodity hosting provider. I’d strongly recommend staying vendor neutral and staying away from AWS and MS Azure.
