8
23 Comments

How do you deploy your projects?

Straight to the point. I assume folks running NextJS use Vercel. I assume there are hackers that build on other frameworks than NextJS. How do you deploy these things?

AWS is an option - but can be overwhelming.

Running bare metal and doing "git pull" doesn't sound nice but is also an option.

What else do you guys use for your production &/or development environments?

on February 16, 2023
  1. 1

    We had a pretty similar setup at our startup. It worked fine until the one person who remembered all the restart commands wasnt available 😅
    Then we moved deployment to Kuberns. Now getting a change live doesnt depend on SSH access or someone remembering the exact server steps. Honestly, the biggest win is that anyone on the team can handle a deployment without being scared of breaking the server.

  2. 3

    I have a python backend that I deploy on an AWS EC2. I have NGINX and Gunicorn set up, but each release right now is just like you say: "git pull" then "systemctl daemon-reload".

    It's really fragile and I wish I had something better but it hasn't been a priority yet. It works for the stage I'm in so for now I'll keep it.

  3. 2

    Try Digital Ocean and use Github Actions for CI/CD

    To keep things more simple, you can also try Netlify or Digital Ocean App Platform. They work same as Vercel.

  4. 1

    I have used Heroku, DigitalOcean, AWS, Google Cloud and Netlify (I might have forgotten a couple more). And my take is: take what you know and are comfortable with.

    Being comfortable includes pricing and the process to deploy a new version. For my personal site I started preparing Docker containers and preparing AWS infrastructure and then simplified myself and went to Heroku thus making my life easier.

    In technology we tend to overcomplicate things, which ends up costing way more (money or time).

  5. 1

    using nextjs and deploying on aws amplify.

    It lets you setup github actions. git push and your live.

  6. 1

    I personally use Reder.com, way better than Heroku and way cheaper too!
    Started using it a few months back, and never looked back.

  7. 1

    I mostly use tools like Fly.io or digitalocean apps for deploying my backend. If you know how these tools work its pretty easy to get everything up and running.

    For your frontend you can use Vercel, Netlify or even digitalocean apps or fly.io. Just what you like. Personally I prefer to use Vercel since its easy and free (I think netlify too?)

    Another option is Azure, but azure is expensive and hard to start with. When everything is up and running its I think the platform with the most options so if you have big goals ahead in the future it can be smart to start with Azure.

  8. 1

    In the past I tried a lot of different strategies (docker, kubernetes, DO, ...). In the end it depends on your needs. Right now for my mvp TimeTide I'm using Vercel for the Application and Supabase for the database. But some of the services are pretty slow and my response times are bad as hell. Hopefully I find the bottleneck soon. :)

  9. 1

    Digital ocean, Bubble, and AWS. From my most recent, to least recent project.

  10. 1

    sudo git pull

    sudo supervisorctl restart app

  11. 1

    Azure Web App/Functions and GitHub Actions, super simple+fast to setup with lots of room for flexibility and scaling in services (Cognition, multiple DB offerings, etc).

    I also liked using Digital Ocean App Platform with some client projects. Nice balance of ease of use/setup, with features for teams.

  12. 1

    I use Railway
    I love the Github integration. A simple "git push" automatically deploys the latest and greatest. It has helped me move fast with my idea Saasbit

  13. 1

    It really depends on what you need for your project and how comfortable you are provisioning the infrastructure. If you find AWS slows you down because it's too overwhelming, you might want to check out Railway. In my opinion, it's the easiest way to deploy an app today and it's going to let you focus on building and not on the infra.

  14. 1

    Bare metal with a good internet provider. 😎

  15. 1

    aws amplify + route 53 for the domain, but this is for a site without a backend so... yeah

  16. 1

    I'm using DigitalOcean + Ploi.io

  17. 1

    Heroku or Render.

  18. 1

    I have an AWS Ec2 instance running an nginx server and it hosts a Laravel&Vue.js web app. I made a small Terminus snippet, which enters into the home directory, runs a git pull command and takes care of everything to rebuild my project.

    When I push something to the main branch, I simply click on this snippet and it deploys my latest changes.

    Maybe it's too simple, but it works just fine! 😀

    The only problem is that, when I change something in the DB with migrations, I have to run a migration command after the deployment was done. But that's all!

  19. 1

    I like throwing stuff through ftp and doing docker-compose up. Yep, dinosaurs era.

  20. 1

    Digital Ocean + dokku

    Once you configure it, deploying is then just git push dokku main

  21. 1

    Render.com is my favorite at the moment. It just hooks up to github and automatically builds and deploys when I push to the main branch. I've also heard good things about fly.io

  22. 1

    Using gitlab on my own server fo CI/CD. Grafana+Loki+Tempo for monitoring.