Inspired by this post on Hacker News: https://news.ycombinator.com/item?id=21024041
I figured I would ask the same question here (I am not the OP on hacker news). What's your tech stack? Here's mine:
Two EC2 micros running Ubuntu & Nginx, Mongo DB, AWS Lambda, Cloudfront, S3, API Gateway, NodeJS/Express, React/Redux, and the usual frontend stuff (javascript, bootstrap, SASS, etc), Let's Encrypt for SSL
The platform is a hosting provider where every site runs off a Lambda function. As such, the hosting costs are miniscule ($0 for almost 2500 sites). The only real fees are the EC2 instances.
Ah this wonderful recurring question!
Software:
For hosting:
For the site itself the total cost is ~$7.50/month with hosting, email (which will soon go up dramatically), domain name and backups. It can handle over 100x the peak traffic it got from being on the front page of HN.
2 Digital Ocean VMs and their load balancer running Apache and MariaDB with PHP and C++. Website is using Bootstrap and Jquery hosted sitting behind Cloudflare.
6 VPS with DO, BuyVM, RamNode, Hetzner running Ubuntu. Running Nginx, PHP 7.x and Laravel + VueJs+ MySQL there.
Some small NodeJs/Express implementations on Google cloud and Static stuff on Google Firebase hosting + Netlify.
Most of the templates are based on Bootstrap. Trying TailwindCss now. Let's Encrypt for SSL
This comment was deleted 6 years ago
I'm using Bulma on https://passwordsgenerator.online/ Trying to make the site as light as possible
Software:
Hosting:
IoT
Third Party Services:
Docs
Frontend: React SPA with create-react-app and Redux + Bootstrap + custom SCSS. (Also thinking about trying Tailwind, but I'm not quite there yet).
Backend: Firebase for database, hosting, auth, file storage.
Trying to keep things as simple as possible with my stack.
I'm optimizing for zero daily maintenance, which has worked quite well for me.
I'm on AWS Lightsail, which is just EC2 without the complexity. S3 for blob storage. Three main Debian backend nodes running Golang backend apps and also serving the frontend SPA written with JS + React, handling requests through the load balancer. For storage I'm running a CockroachDB cluster on the same three backend nodes, across three availability zones. The load balancer handles SSL with LetsEncrypt built in. For offline jobs, I have another two Debian nodes just polling the storage for work. Auth0 for authentication.
Monitoring is with Prometheus sending alerts to OpsGenie. I use Humio for remote logs. Currently testing out Datadog for external metrics.
I used to be on DigitalOcean for a lot of this, but I found they had a lot of outages during my time there, and also they wouldn't let me select availability zones for my nodes, so I left for the juggernaut.
Also, I've had two phone calls with Amazon (they reached out to me) where they asked how things were going, which I quite liked. Oh, and I was offered a $300 credit towards AWS for new businesses, which was quite cool.
is the load balancer also offered via lightsail? Because, this is something I would be very interested in having the load balancer of DO able to load balanced across region, they don't seems to do that at all.
Also, are their load balancer required to have the domain name(s) using route 53 or something?
Thanks
Yes, it’s basically the AWS load balancer with a simpler interface. It also has its own DNS name, so you can just point to it with a CNAME. Lightsail also has simple DNS. It’s all pretty nifty.
I don’t know if it can balance across regions, but across availability zones definitely.
I prefer to call it "the mothership"
This comment was deleted 4 years ago
This comment was deleted 6 years ago
I hadn’t heard about Wasabi, interesting. I wonder what makes them able to store so much cheaper?
How has your experience with Vert.x been?
This comment was deleted 6 years ago