3
10 Comments

Hosting applications

Hello there! How do you guys approach hosting your applications?

I have been wondering how you guys approach this. I hosted a simple app on DigitalOcean (Very simple app to scrap a website, make a couple API calls on Godaddy) then email me the report on a $5 droplet (private IP address).

Then I wanted to add a database, split the app into micro services, firewall for security, etc. The idea was to put everything on 1 droplet. But this sounds like a bad idea, because if the machine goes down, I lose all the data along.

The question is, how do you guys host your application for cheap, especially when they need database.

on February 27, 2022
  1. 1

    If you do not require do run the app constantly consider serverless solutions. For AWS this would be:

    • Code: Lambda (free tier may cover your needs)
    • DB: RDS (free tier for micro instance, no cost per month), Athena (with S3 as storage) or Aurora serverless
  2. 1

    I would use a managed product if at all possible, unless you know what you are doing.

    Do you have any familiarity with Docker? I would dockerize your application so that it is stateless (any data that you need is stored somewhere else, ideally s3 or DB.) You can set a cron job to run the container on a set schedule in something like Google Cloud Run or AWS Lamda. This way you only pay for the resources your application uses (sounds like very little.)

    This will also give you some Docker and cloud experience that can be very valuable.

  3. 1

    I would give a try for google cloud. They have free tiers for app engine, firebase. For front-end part I prefer vercel, I used them often recently.

  4. 1

    For my entrepreneurs community I use Netlify for the website and firebase for the DB

    1. 1

      Thank you! I will look into that!

  5. 1

    Use deta.sh, it's no brainer solution, they offer NoSQL DB, fast micros (like Faas, but faster than the others, no joke, have use it for a while), and storage for generous 10Gb limit.

    1. 1

      Niice! Thank you for sharing! Let me check them out!

  6. 1

    I use AWS, you get a decent amount with the free tier, particularly if you use a serverless design with lambdas. For the database, I use AWS dynamoDB which you again get a lot of throughput for free each month. My current side project is an AI tool which currently runs completely for free each month all hosted in AWS. I know Firebase is also very popular, but I have not tried it yet. Hope this helps!

    1. 1

      Thank you! I always thought anything with AWS was costly (well, maybe I scepter S3)!!

Trending on Indie Hackers
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 50 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 26 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 20 comments Codenhack Beta — Full Access + Referral User Avatar 20 comments 🚀 Get Your Brand Featured on FaceSeek User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 15 comments