News for hackers. Stuff that matters.

Tell HN: How to run a startup for $6 a year

Use this stack.

1. DynamoDB for database

2. AWS Lambda for backend

3. Netlify / Now / Surge for frontend

4. S3 for file/image hosting

5. Cloudinary for image hosting

6. IFTTT to webhook for cron

7. RedisLabs for queues, cache

8. Figma for designing and prototyping

9. Porkbun for $6 .com domains

10. Cloudflare for DNS

This setup is enough to handle ~1M/requests month, more or less, depending on the application.

If you are getting more traffic than that, your startup will be making money so you won’t mind upgrading. :)

( 30 comments | 143 points | on HN )
Re:Tell HN: How to run a startup for $6 a year by mooreds on Tuesday February 18, 2020 @06:58AM (#22355297)
Does this count network egress costs (for s3, lambda)? Those are hard to calculate but can add up. Also, you can uses sqs for queues, that has a pretty big free tier.

Finally, I think that bending the architecture of your app around what's free is not the best idea, especially if you are trying to get something out there to see if there is customer demand. (And doubly of you haven't built a cloud native app like is outlined here.)

In my mind the best way to build software for a startup is to build it using what you know as fast as you can. Avoid technical risk, because you have a boatload of business risk.

For me, that'd be using rails on heroku, which is still under $200/year for a fully functional dyno and database. For others it might be some varient of a mvc framework on a hosting provider. For others it might be WordPress (gasp!). For others it might be a cloud native app, as this post describes.

As long as you aren't spending extravagantly, time is more important than money when figuring out what your customers need.

This is true both in companies that have raised money and bootstrapped companies, for different reasons. For the first, you took money and need to figure out your product market for or scaling strategy ASAP. For the second, your time is super valuable because it is tied to your motivation. Doing work directly tied to customer value is a great motivator. (Doing other fun technical things that don't deliver customer value is a good way to learn things, but a bad way to run a bootstrapped business.)

Re:Tell HN: How to run a startup for $6 a year by mark_l_watson on Tuesday February 18, 2020 @09:04AM (#22356105)
I agree, for web apps with modest user requirements, Heroku is great. I am just running static web sites right now but if I start a new project I would probably start with Heroku. Their always on hobbyists dyno is $7/month and adequate.

If you ever grow your customer base it is not that difficult to move to directly using AWS, GCP, Azure, DO, etc.

Re:Tell HN: How to run a startup for $6 a year by JanAcai on Tuesday February 18, 2020 @07:53AM (#22355614)
In most cases it doesn't make a difference if you have costs of $6 or $60 annually, it's still marginal. I'd say speed it's way important - use the tools you know.

It's better to create a startup in 6 days than for $6/yr.

Re:Tell HN: How to run a startup for $6 a year by petercooper on Tuesday February 18, 2020 @07:54AM (#22355625)
The vibe I'm getting in this thread is people are recommending services that are free for developers.. in which case, I recently discovered https://free-for.dev/ which is a mammoth list of such things.
Re:Tell HN: How to run a startup for $6 a year by ArtWomb on Tuesday February 18, 2020 @09:58AM (#22356471)
Wow mammoth indeed ;)

Section I was most interested in "STUN, WebRTC, Web Socket Servers and Other Routers". I like the services like ngrok where you can just create a public ip for locally running web servers from the ide.

Re:Tell HN: How to run a startup for $6 a year by andrewvieyra on Tuesday February 18, 2020 @08:26AM (#22355846)
Some possible alternatives/improvements:

The AWS S3 free tier is 5GB for 12 months, with 20,000 GET requests and 2,000 PUT requests. [1]

Backblaze B2 (AWS S3 alternative) provides 10GB of free storage (no expiry date), and is part of the 'Bandwidth Alliance' [2] with CloudFlare. So aside from some pretty generous daily transaction fees (of which 2,500 of each type are free per day) [3], you could have your own free almost-cdn.

Porkbun currently have a 1st year (new domain registration) discount bringing the $6 .com domain cost down to $3,90. [4]

[1] https://aws.amazon.com/free/

[2] https://www.cloudflare.com/bandwidth-alliance/

[3] https://www.backblaze.com/b2/b2-transactions-price.html

[4] https://porkbun.com/tld/com

Re:Tell HN: How to run a startup for $6 a year by pkalinowski on Tuesday February 18, 2020 @04:12AM (#22354569)
You can use Netlify DNS to simplify your stack. Cloudflare is not needed.

Also, Netlify provides Functions, which is Lambda abstraction. Faster to develop.

Re:Tell HN: How to run a startup for $6 a year by utf_8x on Tuesday February 18, 2020 @07:24AM (#22355430)
This is cool for simple ideas but really doesn't scale with complexity, not mentioning the 100% reliance on 3rd party services that could shut down at any time and bleeding potentially sensitive data at every step of the way...
Re:Tell HN: How to run a startup for $6 a year by thiago_fm on Thursday February 20, 2020 @06:26AM (#22374299)
I'd just use heroku and pay a bit more(or nothing if no users?), use plugins for what you've mentioned etc.

The cost of running is marginal and if I'm lucky enough to get a lot of users, I can easily switch to anything.

There is a lot of dev cost to wire up everything you've mentioned. Serverless is very devtime-wise consuming, it's state of art tooling is still slow as fuck if you compare writing an app using Rails/Django/etc.

IMHO dev time is what hurts more running a startup, this is what I would try to reduce

Re:Tell HN: How to run a startup for $6 a year by pier25 on Tuesday February 18, 2020 @10:56AM (#22356916)
> 1. DynamoDB for database 2. AWS Lambda for backend 3. Netlify / Now / Surge for frontend

I'm evaluating FaunaDB with Zeit Now and so far it looks like a winning combo.

Zeit Now makes your dev much easier as all your application (front(s) + backend) can be in a single repo.

I don't have much experience with Dynamo but Fauna includes authentication + authorization out of the box and I think a more powerful query language. It also has first class support for GraphQL.

Re:Tell HN: How to run a startup for $6 a year by quickthrower2 on Wednesday February 19, 2020 @10:22AM (#22366217)
For marketing emails, Mailerlite has a generous and featureful free tier.

Zoho mail is damn good on the free tier.

Google forms / surveys.

GitHub of course!

Netlify is also a free CD / CI perhaps? You can run a script in a container on every deploy.

For seo, semrush has a good free tier for keyword research. There are other nice free tools like screamingfrog and keyword shitter.

Azure has some free forever tiers for functions and web apps but they are very basic.

Re:Tell HN: How to run a startup for $6 a year by the_resistence on Tuesday February 18, 2020 @07:31PM (#22361924)
Thanks for this reminder. My new mantra when currently developing an idea is "cheap MVP".
Re:Tell HN: How to run a startup for $6 a year by jacke127 on Monday March 02, 2020 @02:01PM (#22467583)
You will spend more while supporting such a stack. If you have enough experience just start with a production-ready stack, otherwise, youse cheap labor force (PHP, Python) to build initial prototype.
Re:Tell HN: How to run a startup for $6 a year by federicosan on Tuesday February 18, 2020 @09:55AM (#22356459)
Do you own any startup that uses this setup? Could you please tell me?
Re:Tell HN: How to run a startup for $6 a year by bdcravens on Tuesday February 18, 2020 @02:22PM (#22359364)
Worth noting that the AWS services are typically free for only the first year. (though assuming you don't exceed those limits, would only be in the low dozens of dollars per year)
Re:Tell HN: How to run a startup for $6 a year by k__ on Tuesday February 18, 2020 @06:25PM (#22361515)
Lambda is free as long as you stay under the (I think monthly?) quota.
Re:Tell HN: How to run a startup for $6 a year by Fudgel on Tuesday February 18, 2020 @11:53PM (#22363132)
> IFTTT to webhook for cron

Could you explain this one a bit for me

Re:Tell HN: How to run a startup for $6 a year by craftoman on Tuesday February 18, 2020 @04:13PM (#22360466)
I got the cheapest one, raspberry pi on my 100 mbps vdsl connection. Unlimited bandwidth/storage for less than 2.88 dollars per year.
Re:Tell HN: How to run a startup for $6 a year by d--b on Wednesday February 19, 2020 @06:12AM (#22364582)
Yes and then AWS free plan rolls off and you’re going to be paying quite a lot more!
Re:Tell HN: How to run a startup for $6 a year by terrycody on Tuesday February 18, 2020 @11:28PM (#22363040)
Wait, how you can be free to use Cloudflare if you get 1M requests per month?
Re:Tell HN: How to run a startup for $6 a year by duxup on Tuesday February 18, 2020 @03:37PM (#22360128)
Are there time limits on these like free for a given time?
Re:Tell HN: How to run a startup for $6 a year by reaperducer on Wednesday February 19, 2020 @09:55AM (#22365943)
That's not a startup. That's a hobby.

It's not a business until you register with various levels of government and pay all of their fees, which instantly makes the $6 figure false.

Re:Tell HN: How to run a startup for $6 a year by segmondy on Wednesday February 19, 2020 @10:07AM (#22366052)
awesome, but startups are not measured by requests per month but number of users.
Re:Tell HN: How to run a startup for $6 a year by polyterative on Tuesday February 18, 2020 @05:53AM (#22355023)
i remember buying a domain on namecheap for 1$
Re:Tell HN: How to run a startup for $6 a year by justaguyhere on Tuesday February 18, 2020 @09:11AM (#22356148)
As always, the devil is in the details. Was it a .com domain? I'm guessing $1 for the first year, is that correct? What is the cost from second year onwards?

Many companies use deceptive marketing selling stuff for such a low cost that it is too good to believe and it often is - you gotta read the fine print. I got my internet connection for $75 and two years later, I am paying 108$ for the exact same thing, with no additional benefit.

Re:Tell HN: How to run a startup for $6 a year by kakwa_ on Tuesday February 18, 2020 @03:06PM (#22359795)
you can pick very cheap domains with some tlds.

For example, my .ovh is costing me around 4$ per year and there are probably even cheaper tlds.

Re:Tell HN: How to run a startup for $6 a year by yesusalgusti on Tuesday February 18, 2020 @06:38AM (#22355192)
what about sending and receiving email?
Re:Tell HN: How to run a startup for $6 a year by utf_8x on Tuesday February 18, 2020 @07:28AM (#22355459)
With Mailgun[0] you can send 5000 emails for 3 months for free.

The Amazon Simple Mail Service (SES)[1] lets you send 2000 emails per day with the Free Tier...

Sendgrid[2] gives you 40k emails for 30 days and then 100 per day for free forever...

[0] https://www.mailgun.com/

[1] https://aws.amazon.com/ses/

[2] https://sendgrid.com/

Re:Tell HN: How to run a startup for $6 a year by hbcondo714 on Tuesday February 18, 2020 @12:19PM (#22357729)
I still get 25K emails / month for free with SendGrid using Azure:

https://docs.microsoft.com/en-us/azure/sendgrid-dotnet-how-t...

Re:Tell HN: How to run a startup for $6 a year by inkeddeveloper on Tuesday February 18, 2020 @11:26AM (#22357155)
+1 for sendgrid