<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/stop-going-to-the-cloud-and-getting-scammed-200-infra-to-serve-your-startup-till-100k-monthly-user-ecfnhjsfi" -->

---
title: Stop going to the cloud and getting scammed. $200 infra...
description: This post discusses the drawbacks of relying on the cloud for startup infrastructure and suggests using self-hosted solutions like Postgres, caddyserver, and...
canonical: https://daily.dev/posts/stop-going-to-the-cloud-and-getting-scammed-200-infra-to-serve-your-startup-till-100k-monthly-user-ecfnhjsfi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Stop going to the cloud and getting scammed. $200 infra to serve your startup till 100k monthly users in 15 minutes. Self-hosted Postgres, caddyserver and docker-compose FTW. | daily.dev
og:description: This post discusses the drawbacks of relying on the cloud for startup infrastructure and suggests using self-hosted solutions like Postgres, caddyserver, and...
og:url: https://daily.dev/posts/stop-going-to-the-cloud-and-getting-scammed-200-infra-to-serve-your-startup-till-100k-monthly-user-ecfnhjsfi
og:image: https://api.daily.dev/og/posts/ECFnHjSfi.png
og:image:alt: Stop going to the cloud and getting scammed. $200 infra to serve your startup till 100k monthly users in 15 minutes. Self-hosted Postgres, caddyserver and docker-compose FTW.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop going to the cloud and getting scammed. $200 infra to serve your startup till 100k monthly users in 15 minutes. Self-hosted Postgres, caddyserver and docker-compose FTW.

**[Community Picks](https://daily.dev/sources/community)** · 18 min read · 20 upvotes · 1 comments

## Summary

This post discusses the drawbacks of relying on the cloud for startup infrastructure and suggests using self-hosted solutions like Postgres, caddyserver, and docker-compose. It provides a step-by-step guide on setting up a self-hosted Postgres instance and demonstrates how to achieve scalability and load balancing using docker-compose. The post also explains how to use Caddyserver as a reverse proxy for automatic SSL management. The setup allows startups to serve up to 100k monthly users at a cost of $200 per month.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://grski.pl/self-host>

## Community discussion

Top comments from developers on daily.dev.

**@sdev** · 0 upvotes

> > Add monitoring, observability, alerts. (Ain't that hard tbh, we will explore that one day)
>
> I would be interested by this hopefully next part following the same philosophy.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#cloud](https://daily.dev/tags/cloud), [#docker-compose](https://daily.dev/tags/docker-compose), [#postgresql](https://daily.dev/tags/postgresql), [#self-hosting](https://daily.dev/tags/self-hosting)

[View this post on daily.dev](https://daily.dev/posts/stop-going-to-the-cloud-and-getting-scammed-200-infra-to-serve-your-startup-till-100k-monthly-user-ecfnhjsfi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Stop going to the cloud and getting scammed. $200 infra to serve your startup till 100k monthly users in 15 minutes. Self-hosted Postgres, caddyserver and docker-compose FTW.","url":"https://daily.dev/posts/stop-going-to-the-cloud-and-getting-scammed-200-infra-to-serve-your-startup-till-100k-monthly-user-ecfnhjsfi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/stop-going-to-the-cloud-and-getting-scammed-200-infra-to-serve-your-startup-till-100k-monthly-user-ecfnhjsfi"},"datePublished":"2024-04-21T19:33:04.477Z","dateModified":"2024-05-24T02:13:13.947Z","description":"This post discusses the drawbacks of relying on the cloud for startup infrastructure and suggests using self-hosted solutions like Postgres, caddyserver, and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3c510d5ae5643f4a1fad1e3d30ba6db0?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3c510d5ae5643f4a1fad1e3d30ba6db0?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/stop-going-to-the-cloud-and-getting-scammed-200-infra-to-serve-your-startup-till-100k-monthly-user-ecfnhjsfi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":20},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"cloud,docker-compose,postgresql,self-hosting","timeRequired":"PT18M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Stop going to the cloud and getting scammed. $200 infra to serve your startup till 100k monthly users in 15 minutes. Self-hosted Postgres, caddyserver and docker-compose FTW."}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/stop-going-to-the-cloud-and-getting-scammed-200-infra-to-serve-your-startup-till-100k-monthly-user-ecfnhjsfi","comment":[{"@type":"Comment","text":"Add monitoring, observability, alerts. (Ain’t that hard tbh, we will explore that one day)\n\nI would be interested by this hopefully next part following the same philosophy.","datePublished":"2024-04-24T12:47:30.132Z","url":"https://daily.dev/posts/ECFnHjSfi#c-lddgGDejm","author":{"@type":"Person","name":"S Dev","url":"https://daily.dev/sdev","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile"}}]}
```

