<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ben Makes Stuff</title>
    <description>Join 60+ makers on a journey to build profitable businesses</description>
    
    <link>https://ben-makes-stuff.beehiiv.com/</link>
    <atom:link href="https://rss.beehiiv.com/feeds/yZXZK88Tq1.xml" rel="self"/>
    
    <lastBuildDate>Thu, 26 Nov 2026 21:15:32 +0000</lastBuildDate>
    <pubDate>Wed, 26 Aug 2026 05:19:15 +0000</pubDate>
    <atom:published>2026-08-26T05:19:15Z</atom:published>
    <atom:updated>2026-11-26T21:15:32Z</atom:updated>
    
      <category>Startups</category>
      <category>Software Engineering</category>
      <category>Technology</category>
    <copyright>Copyright 2026, Ben Makes Stuff</copyright>
    
    <image>
      <url>https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/publication/logo/f1e35169-097e-4576-8502-050da95094b8/X02_V5kF_400x400.jpg</url>
      <title>Ben Makes Stuff</title>
      <link>https://ben-makes-stuff.beehiiv.com/</link>
    </image>
    
    <docs>https://www.rssboard.org/rss-specification</docs>
    <generator>beehiiv</generator>
    <language>en-us</language>
    <webMaster>support@beehiiv.com (Beehiiv Support)</webMaster>

      <item>
  <title>How to move your entire business to a dedicated server, the right way</title>
  <description>And why I decided to do this</description>
      <enclosure url="https://images.unsplash.com/photo-1653154726310-5dcc764680ce?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxfHxtaW5pJTIwcGN8ZW58MHx8fHwxNzg3NjgxNTk2fDA&amp;ixlib=rb-4.1.0&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/how-to-move-your-entire-business-to-a-dedicated-server-the-right-way</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/how-to-move-your-entire-business-to-a-dedicated-server-the-right-way</guid>
  <pubDate>Wed, 26 Aug 2026 05:19:15 +0000</pubDate>
  <atom:published>2026-08-26T05:19:15Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="hey-there">Hey there 👋</h1><p class="paragraph" style="text-align:left;">If you’ve been reading my posts for a while, you might remember my post from 2024 on how to <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/selfhost-app-2024-right-way?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">self-host your app, the right way</a>. This is going to be a bit of a follow-up to that post.<br><br>Why even write a followup post? Well, it’s now 2026, and a lot of things I mentioned in that post have changed!<br><br>Namely, I recently made the decision to move all of my products to a dedicated server and stop using several different VPS nodes hosted on AWS.</p><p class="paragraph" style="text-align:left;">If you’ve been thinking about making this kind of move - this post is for you, because once again I’m going to show you how to do it the right way.<br><br>If you read it and this post helped you, click here to ☕️<a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow"> buy me a coffee</a>. I really appreciate it!</p><h1 class="heading" style="text-align:left;" id="if-at-first-you-dont-succeed-try-tr">A dedicated server? Why would you do that?</h1><div class="image"><img alt="Y GIF" class="image__image" style="" src="https://media4.giphy.com/media/v1.Y2lkPTI0NTBlYzMwOG9pazR3NG5qOHprM25tOTFjczZlNTQzd3JiMGVnMXBhdzNwajAwdSZlcD12MV9naWZzX3NlYXJjaCZjdD1n/gxSc4hTA9QhsFagSbs/giphy.gif"/></div><p class="paragraph" style="text-align:left;">First of all, the <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/how-i-got-12-000-in-cloud-credits-for-free-in-2025-a10c9c05c381a297?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">AWS cloud credits that I got for free</a> are rapidly running out at this point and will expire within a few months, the <a class="link" href="https://en.wikipedia.org/wiki/2025%E2%80%93present_global_memory_supply_shortage?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">RAMpocalypse happened</a> and renting a VPS from Hetzner is no longer a good value after they tripled their pricing from 2023-2024 lows, I’ve <a class="link" href="https://flightschools.fyi?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">launched more apps</a>, and my compute needs have grown as a result.</p><p class="paragraph" style="text-align:left;">There are sillier reasons too: I’ve been building computers since I was 17 years old or something like that, and I find linux sysadmin fun. I find it so fun that I ran my own dedicated server out of my house with redundant networking and maintained 100% uptime for a few months before deciding I didn’t want to be a full time sysadmin.<br><br>Finally, I wanted more control over where my customer data is hosted after some bad experiences with AWS support, and I wanted to get as close as possible to the hardware while also paying a professional company to help me in the event of a server failure so that I don’t turn into a full-time sysadmin.</p><p class="paragraph" style="text-align:left;">Unlike self-hosting with a VPS though, I’m not going to tell you running your own dedicated server is for “pretty much everyone.”</p><p class="paragraph" style="text-align:left;">It does require extra knowledge and time, but when you’re ready to take that next step into self-hosting land with bare metal servers, I hope this post helps you out.</p><h1 class="heading" style="text-align:left;" id="did-you-really-move-everything-to-a">Did you really move <i>everything</i> to a dedicated server?</h1><div class="image"><img alt="Cat Wow GIF" class="image__image" style="" src="https://media2.giphy.com/media/v1.Y2lkPTI0NTBlYzMwMjJsYnQ2am9nb3l0NXE0dm9uejVjN3docW90czR5azRidnR3azV4OCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/PUBxelwT57jsQ/giphy.gif"/></div><p class="paragraph" style="text-align:left;">Well, admittely not 100% of everything. 🙂 The three things I don’t think are worth it to host myself at this stage are:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Email (I’ll continue to use SES, and the excellent free + self-hosted <a class="link" href="https://sessy.do/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">Sessy</a> tool to monitor my emails)</p></li><li><p class="paragraph" style="text-align:left;">AI inference (my OpenAI spend isn’t high enough to warrant this yet)</p></li><li><p class="paragraph" style="text-align:left;">CDN (Cloudflare simply brings me too much value, I can’t see myself going through the pain of building my own CDN by stringing together a bunch of servers around the world)</p></li></ol><p class="paragraph" style="text-align:left;">But everything else is now under my control and running on the dedicated server. Apps, databases, monitoring and alerting, various internal tools, logging, uptime monitoring and status pages, CI and CD - all accounted for.<br><br>I do also use the free tier of a cloud uptime monitoring service to monitor my self-hosted uptime monitoring service which is kind of meta/ironic 😄 </p><h1 class="heading" style="text-align:left;" id="pivoting-httpssimpleotpcom-into-a-m">Do<i> </i>I really need a dedicated server?</h1><p class="paragraph" style="text-align:left;"><b>Maybe</b>. As I said, unlike “self-hosting” in general with a VPS, you do need more of a justification for a dedicated server.</p><p class="paragraph" style="text-align:left;">Why? Well, keep in mind that there’s a higher initial setup cost that you need to pay, so it better pay enough dividends in the future to make the setup cost worth your while. I’d say a rough “management/setup annoyance” ranking goes something like this:<br><br>💆 <i>Below average annoyance</i>: A PaaS like Render/Heroku/etc</p><p class="paragraph" style="text-align:left;">🤷‍♂️ <i>Below average-to-average annoyance</i>: managing your own VPS</p><p class="paragraph" style="text-align:left;">😐 <i>Moderate annoyance</i>: running your own dedicated server <b>← this guide is here</b></p><p class="paragraph" style="text-align:left;">😡 <i>Extreme annoyance unless you have the budget to hire IT staff</i>: owning the server hardware and the datacenter</p><p class="paragraph" style="text-align:left;">That said, there a few categories of companies that might find a dedicated server interesting:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Heavy compute users</b>. Think 64GB+ of RAM usage, or low latency + high capacity storage requirements. i.e. running a database with heavy reads/writes and many, many TBs of storage.</p></li><li><p class="paragraph" style="text-align:left;"><b>Hosting companies</b>. They need lots of cores and memory for obvious reasons.</p></li><li><p class="paragraph" style="text-align:left;"><b>Cost conscious business owners who want predictable bills</b>. Self-explanatory for anyone like me paying an AWS bill with random amounts of “Other” charges every month.</p></li><li><p class="paragraph" style="text-align:left;"><b>Privacy conscious business owners</b> who don’t want to share customer data with third parties / want to keep everything centralized in one place.</p></li><li><p class="paragraph" style="text-align:left;">Businesses with applications that experience <b>heavy, consistent traffic</b> instead of low-to-medium traffic with intermittent bursts, making shared CPU VPS nodes untenable.</p></li><li><p class="paragraph" style="text-align:left;">Business owners who just like <b>tinkering with hardware and Linux!</b></p></li></ol><p class="paragraph" style="text-align:left;">As for me, I’m some combination of 3, 4, to a lesser extent 5, and definitely 6. 🤓<br><br>3) is the least important item, but I see no reason to pay AWS $100/mo when what they offer is available elsewhere for less than half the cost ($30/mo flat) and I get to have fun doing sysadmin while saving money.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/d4ddddae-8047-4b08-8e86-0f2d3100c367/image.png?t=1787689348"/><div class="image__source"><span class="image__source_text"><p>$95/mo or so to rent 3-4 shared VPSes, a database with RDS, and some IPv4s. Not the biggest AWS bill in the world, but a bad value for what I was getting. And don’t get me started with the $11 in “Others” or another $10 “EC2 - Other” charges, as if anyone even knows what that means.</p></span></div></div><h1 class="heading" style="text-align:left;" id="alright-i-want-one-how-do-i-get-sta">Alright, I want one. How do I get started?</h1><p class="paragraph" style="text-align:left;">Well listen up, because I’ll tell you.</p><p class="paragraph" style="text-align:left;">And no, the answer isn’t “Hetzner Server Auction.” As of the time of this article being written, the cheapest Hetzner server available in their auction is somewhere around $70/mo with tax, uses a very old (10+ year old) processor and very old hard drives, all with relatively terrible performance and it lacks ECC RAM:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3173a0be-c2c9-46fd-b379-07992614cbe5/image.png?t=1787691566"/></div><p class="paragraph" style="text-align:left;">Not a good buy at all. Not for any serious use cases with customer data involved anyway.</p><p class="paragraph" style="text-align:left;">So first…</p><h1 class="heading" style="text-align:left;" id="lets-think-through-some-requirement">Let’s think through some requirements, shall we?</h1><p class="paragraph" style="text-align:left;">Before we jump the gun and buy the first dedicated server we see, we need to make sure it has a few key requirements to avoid unnecessary risks for ourselves and our customers.</p><p class="paragraph" style="text-align:left;">I’m not going to cover specifics on how many cores and how much RAM you should get, because that’s very specific to your workload, but there are some key things you should look for beyond those things:</p><p class="paragraph" style="text-align:left;">🔧 <b>ECC RAM</b>: Computers, particularly dedicated servers that stay online 24/7, are at some level of risk of memory faults. When you’re dealing with important customer data and you don’t want corrupt data written to disk, ECC (“Error Correction Code”) RAM is a very nice insurance policy in case this does happen.<br><br>⚠️ Related Warning: Many hosts will use consumer-grade RAM without ECC capabilities because it’s cheaper - be sure to check/ask if ECC RAM is included. If you’ve already got a server and you’re not sure, simply run <code>dmidecode -t memory | grep &#39;Error Correction&#39;</code> and inspect the output. You should see something like this if your motherboard <b>supports</b> ECC RAM:</p><div class="codeblock"><pre><code>Error Correction Type: Single-bit ECC</code></pre></div><p class="paragraph" style="text-align:left;">Then to be doubly sure, run <code>dmidecode -t memory | grep &#39;Part Number&#39;</code> and google the part numbers:</p><div class="codeblock"><pre><code>Part Number: 18ASF2G72AZ-2G6E2
Part Number: 18ASF2G72AZ-2G6E2</code></pre></div><p class="paragraph" style="text-align:left;">In my case, these are 2x16GB UDIMM ECC RAM sticks made by Micron, a reputable manufacturer of memory modules, and unfortunately one of the biggest culprits behind the RAM crisis of 2026!</p><p class="paragraph" style="text-align:left;">👴 <b>Not too old, not too new hardware</b>: This is not an absolute must like ECC RAM is, but I believe the sweet spot for dedicated server hardware to be about 4-5 years old. At that point, the hardware is still new enough to reduce the possibility of hardware failures in the next several years and be reasonably fast, but “old” enough to be discounted heavily relative to the latest and greatest. Even expensive cloud providers that promise reliability don’t use the latest and greatest hardware - AWS uses hardware from 2019 in many of their burstable instances.</p><p class="paragraph" style="text-align:left;">💪 <b>Enterprise-quality motherboard</b>: enterprise/”rack” motherboards use higher quality components that are known to last for many years when operating 24/7/365 in a datacenter, and often include a BMC chip for remote management. Consumer motherboards are okay, but have much higher failure rates in these types of environments and lack remote management functionality. To figure out which motherboard you’re using, run this command: <code>dmidecode -t system | grep &#39;Product Name&#39;</code> - you’ll see output like this:</p><div class="codeblock"><pre><code>Product Name: E3C246D4U2-2T</code></pre></div><p class="paragraph" style="text-align:left;">Based on the model number, turns out mine is <a class="link" href="https://www.asrockrack.com/general/productdetail.asp?Model=E3C246D4U2-2T&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way#Specifications" target="_blank" rel="noopener noreferrer nofollow">made by AsRock Rack</a> and is indeed the type of board I want to see in a dedicated server. It has the level of manufacturing I’m looking for, and a BMC chip clearly visible (that’s the ASPEED chip in the diagram):<br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/51f3e61e-a5ac-453e-8ede-66939bd70340/image.png?t=1787720716"/><div class="image__source"><span class="image__source_text"><p>The actual board used in my server. Management chip is on the top right.</p></span></div></div><p class="paragraph" style="text-align:left;"><b>🏎️ At least two SSDs - ideally NVMe SSDs.</b> If you want to use your dedicated server purely for low risk internal apps - this might not be a concern, but if you host things like databases for your apps, these workloads really do benefit from fast NVMe storage relative to old HDDs. Read and write speeds are usually 30-90x faster with NVMe drives relatively speaking. And you’ll want multiple SSDs so you can run RAID 1 for redundancy in case one drive dies. I’ll explain how below.</p><p class="paragraph" style="text-align:left;">💾 <b>Drives with significant useful life remaining</b>: many hosting providers cheap out and buy used hard drives that have already gone through 80-90% of their useful life. Always ensure your the drives in your server are as fresh as possible. Mine were at 0% and 1% when I started, and only 1% and 2% wear respectively after 3 months of continuous use and database writes, so I’m happy with the current wear and the wear rate.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8f1e511e-7d65-41ed-a582-3ebee6e8f33b/image.png?t=1787710238"/><div class="image__source"><span class="image__source_text"><p>Proxmox shows a “Wearout” column that lets you know if your drives are likely to die soon.</p></span></div></div><p class="paragraph" style="text-align:left;">Beyond the wearout %, investigate the drive-writes-per-day (“DWPD”) figure for the drives the host has used. Enterprise level drives will support 1 DWPD or more, meaning they have so much endurance that you can write the entire drive worth of data every day without the drive wearing out. In my case, these are “prosumer” level drives from Samsung. Good quality, but not exactly “enterprise” quality and they definitely don’t support &gt;= 1 DWPD. Overall, this is okay for my use case because I don’t write 500+ GB per day, not even close to that - if I had intense storage needs this would be a no-go though, so it’s always good to check.</p><p class="paragraph" style="text-align:left;">🧊 <b>Proper cooling: </b>when running a dedicated server, always make sure to inspect the temps under whatever your peak load is to ensure that they make sense. High temps over a long period of time can cause reboots, or worse - hardware failures. To do this, use the <code>sensors</code> command and inspect the output:</p><div class="codeblock"><pre><code>coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +37.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +37.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:        +37.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:        +37.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:        +36.0°C  (high = +80.0°C, crit = +100.0°C)
Core 4:        +36.0°C  (high = +80.0°C, crit = +100.0°C)
Core 5:        +37.0°C  (high = +80.0°C, crit = +100.0°C)

... rest of output truncated</code></pre></div><p class="paragraph" style="text-align:left;">This is what my CPU is doing under these circumstances. 36-37C on all cores is quite cool, and I’d only be concerned about a cooling-related hardware failure if the temps were somewhere around 80C+.<br><br>🛜 <b>2-3x your peak throughput in port speed</b>: This is simply a rough way to make sure your server won’t get saturated by a significant increase in traffic if one of your apps happens to go viral. For example, if you transfer 50 mbps during peak, you’d want a port speed of at least 100 mbps. Most hosts are going to offer either 500mbps or 1000mbps. </p><p class="paragraph" style="text-align:left;">🎉 <b>Unmetered or 2-3x the amount of bandwidth that you used last month</b>: This isn’t a strict requirement, but if a host doesn’t offer unmetered bandwidth, you might get a surprise bill or get shut down if your app becomes popular. I prefer to look for hosts that aren’t strict about this.<br><br>✅ <b>Transparent and high quality peering in a proper datacenter</b>: sometimes, cheap hosts are cheap because their datacenter lacks certifications and network quality is shoddy. To avoid this problem, always look for datacenters that have the <a class="link" href="https://us.ovhcloud.com/compliance/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">certifications you need</a> to support your customers, run a <code>tracert</code> , and generally prefer hosts that offer a “Looking Glass” to let you inspect their routing. Here’s an example from OVHCloud’s Looking Glass UI tracing the route between OVH and Cloudflare:</p><p class="paragraph" style="text-align:left;">Notice there are only two ASNs involved in the output here - OVH (AS16276) and Cloudflare (AS13335). This is a direct hop from one ASN to another, and this is exactly what you want to see:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bba0009b-543b-4d4c-a624-173047f5573f/image.png?t=1787696723"/><div class="image__source"><span class="image__source_text"><p>OVHcloud US in their Vint Hill DC offers a ~1.8ms direct hop to Cloudflare.</p></span></div></div><h1 class="heading" style="text-align:left;" id="but-do-we-have-to-100-selfhost-ever">So which host should we go with?</h1><div class="image"><img alt="Confused Trailer Park Boys GIF" class="image__image" style="" src="https://media1.giphy.com/media/v1.Y2lkPTI0NTBlYzMwbnlvd2MxajB6enVxbmRlNnFlMW44MXpvanNhdXZiZ24xZG96MWx0dCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/YVPwi7L2izTJS/giphy-downsized.gif"/></div><p class="paragraph" style="text-align:left;">Unlike a VPS, your options for dedicated servers meeting all of the above criteria are going to be very limited.</p><p class="paragraph" style="text-align:left;">A dedicated server is more of a specialty product that appeals to fewer customers, and many providers simply do not offer them, or when they do, they charge insanely high prices for ancient hardware. Hetzner <i>used</i> to have good value dedicated servers with relatively new components, but they only offered them in the EU, and now they don’t offer them at all at the right price.</p><p class="paragraph" style="text-align:left;">I did a ton of research, and by far, the best pricing and combination of features comes from OVHcloud. I’m not sponsored by them at all, I just think they offer a compelling product offered worldwide, not just in the EU.<br><br>I’d recommend specifically taking a look at their Eco server line, and within the Eco line, the <a class="link" href="https://eco.us.ovhcloud.com/?display=list&range=soyoustart&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">So You Start variant of servers</a> is the best price-to-performance ratio I’ve found. This server line is in high demand, but it does get restocked occasionally, so you’ll need to refresh until it’s available.<br><br>I personally ended up with the SYS-1 node for $30/flat per month after tax. I mean: roughly a 4 year old CPU, 12 threads and 32 GB RAM with unmetered bandwidth and 1gbps port speeds, hosted at a datacenter a couple miles down the road from AWS us-east-1 for that price is such a great combination that I had to pull the trigger, and so far I’m glad I did.</p><p class="paragraph" style="text-align:left;">The one major downside I’d call out is that OVH support is mediocre in my experience so far. I interacted with them a bit and got some nonsensical replies about a question I had, which means it’s even more important to verify the stuff above. </p><p class="paragraph" style="text-align:left;">I mean: be absolutely sure you’ve confirmed the drive wearout figures, proper cooling, proper motherboard, etc before you commit to moving everything to OVH, as support in the event of a hardware outage might be slow or ineffective.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/a300afc6-390b-431e-b73f-bc922606c2e1/image.png?t=1787702319"/><div class="image__source"><span class="image__source_text"><p>The configuration I ended up with. There was some free activation promotion when I bought it as well which sweetened the deal.</p></span></div></div><p class="paragraph" style="text-align:left;">Now onto how I set this absolute beast of a machine (ok not really, but it’s pretty good!) up.</p><h1 class="heading" style="text-align:left;" id="operating-system-selection">Operating system selection</h1><div class="image"><img alt="penguin linux GIF" class="image__image" style="" src="https://media4.giphy.com/media/v1.Y2lkPTI0NTBlYzMwZmZ4NGM3aGc3NThkNDFpM3R1dDE0eXp1aGdpYTFubWRtNXhrN3Q4MSZlcD12MV9naWZzX3NlYXJjaCZjdD1n/4N5ddOOJJ7gtKTgNac/giphy.gif"/></div><p class="paragraph" style="text-align:left;">The first choice you’ll need to make after selecting a dedicated server is which operating system to pick. </p><p class="paragraph" style="text-align:left;">I’m a big fan of Debian for its stability and simplicity, and a more recently a big fan of Proxmox for virtualization which is based on Debian.</p><p class="paragraph" style="text-align:left;">For my situation of wanting to run a bunch of VMs, I decided to go with Proxmox 9.x (which is based on Debian 13) for the hypervisor and plain ol’ Debian 13 for the individual VMs, because I like having VM-level separation between different workloads for independent scaling and resource allocation, and some security benefits if one VM is compromised. For this reason, I have separate VMs for apps, data, monitoring, VPN, and CI.</p><p class="paragraph" style="text-align:left;">First things first though, let’s get Proxmox installed.<br><br>Luckily, OVH makes that simple. They have a Proxmox 9 template built right into their dashboard (which is pretty ugly, but works). I unfortunately lost my screenshots for this part, but basically you select Proxmox 9, remember to check the box to enable RAID 1 with <a class="link" href="https://pve.proxmox.com/wiki/ZFS_on_Linux?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">ZFS</a> for software-based RAID, and off you go in 1-2 clicks.</p><h1 class="heading" style="text-align:left;" id="security-and-locking-down-your-serv">Security and locking down your server</h1><p class="paragraph" style="text-align:left;">Right after you install the OS, it’s time to make sure hackers and script kiddies can’t try anything funny. You’ll want to do two things, pretty much immediately:</p><p class="paragraph" style="text-align:left;">First, secure your OVH account itself with two-factor authentication:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/efe8dfd4-c514-459f-96f6-4993cbcb2f2a/image.png?t=1787704048"/></div><p class="paragraph" style="text-align:left;">Then, lock down your Edge Network Firewall rules and ensure “Active” is checked:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/223da154-81c9-4b5d-b83d-92280020d001/image.png?t=1787703514"/><div class="image__source"><span class="image__source_text"><p>Very simple ruleset: block all incoming traffic, but allow existing outbound TCP connections made by your server to other servers to proceed. <br><br>In theory anyway. In practice, there’s a major gotcha - see below.</p></span></div></div><p class="paragraph" style="text-align:left;">This will lock you out of SSH and everything else of course, but this is where OVH’s IPMI/KVM tool comes in. This allows you to get access to your server to perform maintenance tasks even when all of your ports are blocked. </p><p class="paragraph" style="text-align:left;">⚠️ Major gotcha: <b>do not rely on just the “Edge Network Firewall” to stop attacks!</b> OVH has a pretty silly design flaw where they allow traffic coming from <span style="text-decoration:underline;">any</span> OVH datacenter worldwide to your server even if you have edge firewall rules enabled. <br><br>That means anyone with $10 can buy a cheap VPS from OVH in order to completely sidestep all of your global firewall rules and attack you. <br><br>I found this out the hard way when I noticed suspicious network traffic despite the firewall being enabled 😅 I’ll show you how to fix this security hole properly using nftables in the next section, so keep reading.</p><p class="paragraph" style="text-align:left;">Anyway, for now, head on over to the Dedicated Servers menu, select your server, then select IPMI/KVM:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/e44caa3d-5fe2-4ffa-ad4e-bde20a08a5e7/image.png?t=1787703706"/></div><p class="paragraph" style="text-align:left;">Tap “Via your web browser”, wait a few moments, maybe refresh the page, then click the new button that appears below the “Via your web browser” button to open the remote access UI.<br><br>You’ll be greeted with a terminal. Now inside the terminal, log in with your root password and run the following commands to get some basics installed and make access easier:</p><div class="codeblock"><pre><code>apt install dnsmasq rclone fail2ban
curl -fsSL https://tailscale.com/install.sh | sh
tailscale up --ssh --accept-dns=false
# Wait for tailscale&#39;s prompt to show you a QR code, then scan it to complete setup</code></pre></div><p class="paragraph" style="text-align:left;">We’ll use <code>dnsmasq</code> (as well as nftables which is already installed) to help us with DNS and network address translation (NAT) in a later step. This is necessary because OVH only gives us one public IPv4, and we need a way to route all network traffic through that one IP - every new VM we create will not be able to share the same IPv4 for outbound network requests otherwise. </p><p class="paragraph" style="text-align:left;"><code>rclone</code> is a nice utility we can use to copy automated backups to an external host for redundancy.</p><p class="paragraph" style="text-align:left;">Setup for all of these utilities will come in a later part of this post, so don’t worry about these tools for now.</p><p class="paragraph" style="text-align:left;"><code>fail2ban</code> stops attackers from being able to brute force SSH logins and repeatedly attempt attacks. It mostly won’t be needed as our firewall will block all incoming traffic, but it’s good to have in case your firewall accidentally gets disabled for whatever reason.</p><p class="paragraph" style="text-align:left;"><code>tailscale</code> is my preferred choice of VPN. It’s free, and will allow us to access the proxmox UI even when all of our TCP ports are blocked without having to resort to IPMI/KVM.</p><p class="paragraph" style="text-align:left;">At this point, once tailscale is installed, you should be able to access <code>http://yourserver:8006</code> which will then give you a Proxmox login prompt. </p><p class="paragraph" style="text-align:left;">Use the root password given to you by OVHcloud and you should finally be greeted with a dashboard showing that you have zero VMs active, which is what we expect at this point. <b>Make sure to change the root password</b> by clicking root@… in the top right → Password.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8d311ee5-fc42-4215-8455-f5cdf774480e/image.png?t=1787718202"/></div><h1 class="heading" style="text-align:left;" id="first-boot-benchmarking-and-a-nice-">First boot, benchmarking and a nice surprise</h1><p class="paragraph" style="text-align:left;">The first thing I always do when setting up a new VPS or server is to run a benchmark. There are many, but I like <a class="link" href="https://github.com/masonr/yet-another-bench-script?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">YABS</a>, so that’s what I recommend running. Do a <code>ssh root@yourserver</code> with Tailscale installed on your dev machine, and go ahead and run the script directly using the instructions in their README:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/726743dd-6f79-41ec-acdb-b7062bf4279a/image.png?t=1787701380"/><div class="image__source"><span class="image__source_text"><p>GeekBench 6: 1722 single / 7201 multi. About 10x faster on multicore than my low end AWS VMs!</p></span></div></div><p class="paragraph" style="text-align:left;">The first thing I noticed when I ran the script was that OVH gave me a free CPU upgrade from a Xeon E-2136 to a Xeon E-2236!</p><p class="paragraph" style="text-align:left;">Not a big upgrade, but the Xeon E-2236 benchmarks ~2% better than the E-2136 which is what was advertised and it’s slightly newer - so it’s a nice surprise.</p><p class="paragraph" style="text-align:left;">I always like companies that try to delight their customers by default instead of only delivering what was asked, so bravo to OVH there. I try to do the same with my own customers.</p><p class="paragraph" style="text-align:left;">The second thing I confirmed is that the RAM capacity is roughly correct at 31.1 GiB, transfer speeds look reasonable at ~1gbps even to a provider in amsterdam, and latency looks sensible as well. Everything checked out.</p><h1 class="heading" style="text-align:left;" id="now-for-some-networking-magic">Now for some networking magic ✨</h1><p class="paragraph" style="text-align:left;">Remember the problem I mentioned about having only one IPv4 and some of the firewall issues? Time to solve all of that before an attacker notices your brand new server is online. </p><p class="paragraph" style="text-align:left;">The first thing we’ll need to do is log into our Proxmox UI at <code>http://yourserver:8006</code>, select your server, click Networking, and create another network interface that will be used for your VMs.<br><br>Make sure to select “Linux Bridge” under the create menu and use these settings before clicking Create:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/29a5975d-09e2-4532-be6b-0728a424faa6/image.png?t=1787704804"/></div><p class="paragraph" style="text-align:left;">What this says is: “create a network interface advertising IPs 10.0.0.x, where only the last octet varies, starting with 10.0.0.1 and ending with 10.0.0.254.”</p><p class="paragraph" style="text-align:left;">That gives us 254 possible IPs for VMs - and if you manage to create more than 254 VMs on a host with only 12 cores and 32 GB of RAM, you’re more than likely oversubscribing your host!</p><p class="paragraph" style="text-align:left;">Anyway, at this point, we already have <code>dnsmasq</code> installed, so all we’ll have to do is add a couple config files and enable the systemd service to get NAT working. </p><p class="paragraph" style="text-align:left;">First, create a config file at <code>/etc/dnsmasq.d/vmbr1.conf</code> and use these contents:</p><div class="codeblock"><pre><code>interface=vmbr1
bind-interfaces

dhcp-range=10.0.0.100,10.0.0.200,12h

dhcp-option=option:router,10.0.0.1
dhcp-option=option:dns-server,10.0.0.1

domain=vm.local</code></pre></div><p class="paragraph" style="text-align:left;">This allows any VMs that use <code>vmbr1</code> as their network interface to route DNS through 10.0.0.1 (our main proxmox install), which will also hand out IPs dynamically through DHCP as needed. </p><p class="paragraph" style="text-align:left;">This is nice for fresh installs of new VMs, as Debian will automatically detect the DNS server and use it to download packages during the install.</p><p class="paragraph" style="text-align:left;">Then we’ll need to configure <code>nftables</code> which is already installed in order to perform the NAT needed by our future VMs and lock down our firewall rules for good. Edit <code>/etc/nftables.conf</code> with the following contents:</p><div class="codeblock"><pre><code>#!/usr/sbin/nft -f

flush ruleset

table inet filter &#123;
	chain input &#123;
		type filter hook input priority filter;
		policy drop;

		# localhost
		iif &quot;lo&quot; accept
		
		# existing connections
		ct state established,related accept
		
		# tailscale
		iifname &quot;tailscale0&quot; accept

		# icmp
		ip protocol icmp accept
        ip6 nexthdr icmpv6 accept
		
		# udp for DNS requests from VMs
		iifname &quot;vmbr1&quot; udp dport 53 accept
	&#125;

	chain forward &#123;
		type filter hook forward priority filter;
		policy drop;

		# Allow VMs on vmbr1 to access the Internet
		iifname &quot;vmbr1&quot; oifname &quot;vmbr0&quot; accept

		# Allow reply traffic back to VMs
		iifname &quot;vmbr0&quot; oifname &quot;vmbr1&quot; ct state established,related accept
	&#125;

	chain output &#123;
		type filter hook output priority filter;
		policy accept;
	&#125;
&#125;

table ip nat &#123;
	chain postrouting &#123;
		type nat hook postrouting priority srcnat;

		# NAT private VM network out through OVH public interface
		oifname &quot;vmbr0&quot; ip saddr 10.0.0.0/24 masquerade
	&#125;
&#125;
</code></pre></div><p class="paragraph" style="text-align:left;">Once you’ve saved these files, run the following commands to enable dnsmasq and the new nft rules:</p><div class="codeblock"><pre><code>systemctl enable --now dnsmasq
systemctl enable --now nftables

# to check the status of each service:
systemctl status dnsmasq
systemctl status nftables</code></pre></div><p class="paragraph" style="text-align:left;">Now for some explanations on the above config files.</p><p class="paragraph" style="text-align:left;">Whew, that file nftables looks complicated at first glance - but it’s not so bad. <code>policy drop</code> says to drop all inbound traffic immediately (this shuts off the loophole where other OVH customers can otherwise access our host behind the global firewall), then we have several <code>accept</code> rules after that to allow only the specific applications that we care about to send packets properly.</p><p class="paragraph" style="text-align:left;">⚠️ Warning: Make sure you <b>do not remove the ICMP and ICMPv6 rules</b>. OVHcloud requires those to know that your server is up! If you accidentally remove them like I did, an OVH technician will be dispatched to the datacenter to take a look at why your server is offline and an automated support ticket will be created. Ask me how I know 😅</p><p class="paragraph" style="text-align:left;">The more interesting part is the <code>chain forward</code> and <code>chain postrouting</code> section under NAT:<br><br>The former says to “forward” all traffic on vmbr1 (the new interface we created, remember?) to vmbr0 - which has the one public IPv4 assigned to it. The latter finishes setting up this configuration by setting “masquerade” on any IP in the 10.0.0.x range, which is the range we’re using for all of our VMs. This allows our VMs to use our main proxmox host running nftables and dnsmasq as a gateway to access the internet - all using one single public IPv4 for outbound traffic.<br><br>NAT masquerading is interesting, and if you’d like to understand it more in detail, use this visualizer to figure out what’s going on: <a class="link" href="https://demos.learningdevops.com/nat-masquerade-demo/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">https://demos.learningdevops.com/nat-masquerade-demo/</a>. It’s a bit out of scope for this guide.<br><br>Obviously, if you have more than one public IPv4, you don’t need to do this step at all as you can simply assign each IPv4 to each VM manually, but this is a good way to avoid spending money unnecessarily on IP rental costs.<br><br>Now that we’ve locked things down and set up our networking stack properly, it’s time to actually make some VMs! But now, the hardest problem in Computer Science:</p><h1 class="heading" style="text-align:left;" id="naming-things">Naming things 😎</h1><p class="paragraph" style="text-align:left;">I recommend coming up with some naming scheme for your VMs so that you remember what they do.</p><p class="paragraph" style="text-align:left;">I went with the nerdiest possible option and named everything after things in greek mythology:</p><p class="paragraph" style="text-align:left;"><code>gaia</code> - entire world. I used this for the name of the proxmox host as it holds everything.<br><br><code>pangea</code> - a bunch of land masses joined together into one ‘supercontinent’, i.e. all of my apps run here</p><p class="paragraph" style="text-align:left;"><code>argus</code> - many-eyed giant, i.e. used for monitoring tools and analytics<br><br><code>delos</code> - sacred/protected island, i.e. various business related databases<br><br><code>charon</code> - carried souls across the river, i.e. network traffic into the walled garden (it runs a Tailscale Exit Node)<br><br><code>talos</code> - giant bronze automaton, i.e. CI server</p><div class="image"><img alt="nerd yes GIF" class="image__image" style="" src="https://media2.giphy.com/media/v1.Y2lkPTI0NTBlYzMwbWVmYWQ0dWNwc3gza3VkNmMxaXk3NjZzcWRqcjlwdXEwMjZ2YmV5dyZlcD12MV9naWZzX3NlYXJjaCZjdD1n/m745dTCAxerHa/giphy.gif"/><div class="image__source"><span class="image__source_text"><p>When the naming scheme hits just right</p></span></div></div><p class="paragraph" style="text-align:left;">Apparently Meta has some database tech called delos, so great minds think alike there. Please don’t sue me Meta.</p><p class="paragraph" style="text-align:left;">In the future, if I ever need to horizontally scale any of these use cases with something like k3s, I’ll use pangea-01, pangea-02, etc to create multiple VMs of the same category.</p><h1 class="heading" style="text-align:left;" id="our-very-first-vm">Our very first VM 🥲</h1><p class="paragraph" style="text-align:left;">With the naming scheme figured out, we’ll completely ignore it for a second because our first VM will not need a fancy name and will simply serve as our template VM. <br><br>Templating is a feature in Proxmox that lets you set up one VM with common utilities/configs, then simply clone that VM every time you have a new use case that needs a new VM (i.e. apps vs. data vs. monitoring tools)<br><br>But before we can actually create that template VM, we need to make sure our proxmox host has an ISO image to install an operating system on the VM. I like Debian, so I simply uploaded the latest Debian 13.x in the “ISO Images” menu:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0b569609-9133-4791-bb67-0e8ce5f96905/image.png?t=1787706880"/></div><p class="paragraph" style="text-align:left;">Now it’s time to create the VM, finally. Call it <code>debian-13-template</code> use the following settings: </p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8fa80c7b-d98f-4eec-9e0c-acd19dab699e/image.png?t=1787708187"/><div class="image__source"><span class="image__source_text"><p>Ensure “Start at Boot” is selected so that your VM automatically restarts when the system restarts.</p></span></div></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/b9fa148b-9b72-428d-b53d-48a6779ff4c1/image.png?t=1787707700"/><div class="image__source"><span class="image__source_text"><p>Select the ISO we just uploaded in the previous step.</p></span></div></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/cb080534-f20d-46d5-bb06-25f801eec98b/image.png?t=1787707752"/><div class="image__source"><span class="image__source_text"><p>I like about 32 GiB for each host, unless it’s a data VM. However, you can always resize partitions later, not a big deal if you underallocate storage to begin with.</p></span></div></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/60a85e63-4bf1-411f-9f08-f59bed511e08/image.png?t=1787707877"/><div class="image__source"><span class="image__source_text"><p>This menu is confusingly named. “Cores” is really the number of threads you want to allocate. For example, the Xeon E-2236 has 6 physical cores but <b>12 threads </b>with HT enabled.</p></span></div></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8369dbaf-4ae8-42e5-a8e0-3c2153a962e0/image.png?t=1787707986"/><div class="image__source"><span class="image__source_text"><p>⚠️ <b>Make sure to select vmbr1, NOT vmbr0.</b></p></span></div></div><p class="paragraph" style="text-align:left;">Now click Console on your newly created VM and the “Start” button if the VM hasn’t already been started.</p><p class="paragraph" style="text-align:left;">I won’t go through how to install Debian as that’s out of scope of this guide, but it’s fairly straightforward. DNS settings should be autodetected and the installer should finish its work after a few minutes. Use all of the default disk settings, like ext4 with the default partition table, etc.</p><p class="paragraph" style="text-align:left;">⚠️ <b>Just make sure you use UTC as the timezone in the installer. Remember, this is a server, not your own machine! Time zone bugs are horrible, don’t create them by setting up your Debian install to be in some random time zone.</b></p><p class="paragraph" style="text-align:left;">Then just go ahead and install all of your usual utilities like <code>ssh</code>, <code>tailscale</code> and whatever else you want. <br><br>Finally, stop the VM, then convert it to a template to make sure you have a clean template to use for all of your future VMs.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/5ffc01eb-2867-4445-84c6-1ea7f781891a/image.png?t=1787708399"/><div class="image__source"><span class="image__source_text"><p>Right click on the VM, use the “Convert to template” feature.</p></span></div></div><p class="paragraph" style="text-align:left;">Whenever you want to spin up a new VM, just right click on the template VM and click “Clone” → select “Full Clone.” Then you can log into the new VM in the proxmox UI, change the hostname, and do anything else you’d need to do.</p><h1 class="heading" style="text-align:left;" id="selfhosting-web-apps-on-the-dedicat">Self-hosting web apps on the dedicated server </h1><p class="paragraph" style="text-align:left;">How hard could it be? Just “Clone” the template VM and deploy your apps as usual, right?</p><div class="image"><img alt="Happy Chris Pratt GIF" class="image__image" style="" src="https://media1.giphy.com/media/v1.Y2lkPTI0NTBlYzMwMnRodzdsMWp4MzR2OGN0aHRtY2Uyanp6ZGpiZHlsamhkeWoxMm1jNiZlcD12MV9naWZzX3NlYXJjaCZjdD1n/rVbAzUUSUC6dO/giphy.gif"/></div><p class="paragraph" style="text-align:left;">Nope, not so fast. Remember how we set up NAT masquerading to allow our VMs outbound access to the internet over IPv4?<br><br>We never solved for <i>inbound</i> HTTP access, so let’s do that now 😉</p><p class="paragraph" style="text-align:left;">Obviously, all of our ports are closed. That’s great for security, but it’s a double-edged sword because it means that real users cannot access our VM in order to hit our backend services.</p><p class="paragraph" style="text-align:left;">The way I like to solve this problem is with <a class="link" href="https://developers.cloudflare.com/tunnel/setup/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">Cloudflare Tunnel</a>, which you’ll need to install on your apps VM. There’s a bit of a wrinkle with OVH specifically though - they don’t allow the QUIC protocol preferred by Cloudflare for whatever reason, so the default Cloudflare Tunnel installer will fail.</p><p class="paragraph" style="text-align:left;">To fix this, edit the systemd config for Cloudflare Tunnel after the install fails and simply change ExecStart to this:<br><code>ExecStart=/usr/bin/cloudflared --no-autoupdate tunnel --protocol http2 run --token-file /etc/cloudflared/token</code></p><p class="paragraph" style="text-align:left;">The key is using <code>--protocol http2</code> which works fine on OVH. You’ll also have to put your cloudflare token that you got in the tunnel setup into this file with <code>sudo echo &#39;yourtoken&#39; &gt; /etc/cloudflared/token</code> <br><br>Finally, restart the service with <code>sudo systemctl restart cloudflared</code> and everything should work as expected.</p><h1 class="heading" style="text-align:left;" id="conclusion">Self-hosting Postgres on the dedicated server</h1><p class="paragraph" style="text-align:left;">If you’re a Postgres user like I am, you probably have thought about running your own Postgres instance at some point, and now’s the time to try it out. It’s not so bad in my experience, and I’ve had zero issues for several months now.<br><br>I personally created my own Postgres image using the default Postgres image as a base with some of the extensions I want installed. Here’s that Dockerfile which accepts an <code>ARG</code> for the postgres version if you want to do something similar:</p><div class="codeblock"><pre><code># ARG must be declared before FROM to parameterize it, then redeclared after
# because Docker resets build args after each FROM.
ARG PG_VERSION=0

FROM postgres:$&#123;PG_VERSION&#125;

ARG PG_VERSION=0
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update \
    &amp;&amp; apt-get install -y --no-install-recommends \
        postgresql-$&#123;PG_VERSION&#125;-postgis-3 \
        postgresql-$&#123;PG_VERSION&#125;-pgvector \
    &amp;&amp; rm -rf /var/lib/apt/lists/*

COPY init.sql /docker-entrypoint-initdb.d/init.sql</code></pre></div><p class="paragraph" style="text-align:left;">There’s also init.sql which will run automatically to configure the server on first boot. Here’s what I’ve got in my init file, most of the config comes from the excellent <a class="link" href="https://pgtune.leopard.in.ua/?dbVersion=18&osType=linux&dbType=web&cpuNum=2&totalMemory=4&totalMemoryUnit=GB&connectionNum=&hdType=nvme&dbSize=mid_ram&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">PgTune</a> utility and it’s specific to my VM, so you’ll need to tune according to your own hardware and replace init.sql with what you need. But, here’s my <code>init.sql</code> if it helps:</p><div class="codeblock"><pre><code>-- WARNING
-- wal_compression = lz4 requires PostgreSQL
-- to be compiled with --with-lz4
-- 
-- io_method = io_uring requires PostgreSQL
-- to be compiled with --with-liburing

-- DB Version: 18
-- OS Type: linux
-- DB Type: web
-- Total Memory (RAM): 4 GB
-- CPUs num: 2
-- Data Storage: nvme

ALTER SYSTEM SET max_connections = &#39;200&#39;;
ALTER SYSTEM SET shared_buffers = &#39;1GB&#39;;
ALTER SYSTEM SET effective_cache_size = &#39;3GB&#39;;
ALTER SYSTEM SET maintenance_work_mem = &#39;256MB&#39;;
ALTER SYSTEM SET checkpoint_completion_target = &#39;0.9&#39;;
ALTER SYSTEM SET wal_buffers = &#39;16MB&#39;;
ALTER SYSTEM SET default_statistics_target = &#39;100&#39;;
ALTER SYSTEM SET random_page_cost = &#39;1.1&#39;;
ALTER SYSTEM SET effective_io_concurrency = &#39;1000&#39;;
ALTER SYSTEM SET work_mem = &#39;5041kB&#39;;
ALTER SYSTEM SET huge_pages = &#39;off&#39;;
ALTER SYSTEM SET jit = &#39;off&#39;;
ALTER SYSTEM SET wal_compression = &#39;lz4&#39;;  -- requires --with-lz4
-- ALTER SYSTEM SET io_method = &#39;io_uring&#39;;    -- requires --with-liburing
ALTER SYSTEM SET min_wal_size = &#39;1GB&#39;;
ALTER SYSTEM SET max_wal_size = &#39;4GB&#39;;

-- Install into template1 so all future databases inherit the extensions.
\c template1

CREATE EXTENSION IF NOT EXISTS postgis;
CREATE EXTENSION IF NOT EXISTS postgis_topology;
CREATE EXTENSION IF NOT EXISTS vector;</code></pre></div><p class="paragraph" style="text-align:left;">Note: I noticed the default Docker image for postgres does not support <code>io_uring</code>, so I simply disabled that option. The <code>create extension</code> lines are helpful just to make sure all newly created databases automatically pick up the extensions I usually use.</p><p class="paragraph" style="text-align:left;">A simple GH actions deploy file can be used to get the image deployed initially:</p><div class="codeblock"><pre><code>name: Build and Push

on:
  push:
    branches: [ &quot;main&quot; ]

permissions:
  contents: read
  packages: write

env:
  PG_VERSION: 18

jobs:
  build_and_push:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v7

    - name: Set up QEMU
      uses: docker/setup-qemu-action@v4

    - name: Set up Docker Buildx
      uses: docker/setup-buildx-action@v4

    - name: Log in to GitHub Container Registry
      uses: docker/login-action@v4
      with:
        registry: ghcr.io
        username: $&#123;&#123; github.actor &#125;&#125;
        password: $&#123;&#123; github.token &#125;&#125;

    - name: Build and Push
      uses: docker/build-push-action@v7
      with:
        context: .
        pull: true
        push: true
        platforms: linux/arm64,linux/amd64
        build-args: PG_VERSION=$&#123;&#123; env.PG_VERSION &#125;&#125;
        tags: |
          ghcr.io/$&#123;&#123; github.repository &#125;&#125;:$&#123;&#123; env.PG_VERSION &#125;&#125;
          ghcr.io/$&#123;&#123; github.repository &#125;&#125;:$&#123;&#123; env.PG_VERSION &#125;&#125;-$&#123;&#123; github.sha &#125;&#125;
          ghcr.io/$&#123;&#123; github.repository &#125;&#125;:latest</code></pre></div><p class="paragraph" style="text-align:left;">Now that you have a reasonable Docker image for Postgres, how are we going to run it and make sure the process stays up?<br><br>Personally, I went with <code>dokku-postgres</code> because it provides some nice automated backup functionality if you want it, manages volume mounts for you, supports zero downtime for certain types of upgrades, and I’m familiar with <code>dokku</code> for hosting apps already.<br><br>If you decide to do the same thing, you can first install dokku, authenticate with the registry using <code>dokku registry:login</code>, then run:<br><code>dokku postgres:create postgres-18 --image &quot;ghcr.io/yourusername/postgres&quot; --image-version &quot;18-&lt;commit hash&gt;&quot; </code> </p><p class="paragraph" style="text-align:left;">Then, to expose the container to other hosts, so your apps VM can talk to your database, first edit your Docker config like so: <a class="link" href="https://github.com/dokku/dokku-datastore/issues/8?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way#issuecomment-3605060071" target="_blank" rel="noopener noreferrer nofollow">https://github.com/dokku/dokku-datastore/issues/8#issuecomment-3605060071</a></p><p class="paragraph" style="text-align:left;">Then run: <code>dokku postgres:expose postgres-18 5432</code> to expose it on 0.0.0.0:5432. In this case, since we have all TCP ports blocked from the outside, only internal IPs will be able to hit &lt;your DB VM IP&gt;:5432 - which is exactly what you want.</p><p class="paragraph" style="text-align:left;">Then use DBeaver or any other database tool to export and import your databases to your new VM, and of course update your apps to point to the VM’s internal IP address. I like to assign a static IP to my DB VM so that apps can always connect to a consistent IP.</p><h1 class="heading" style="text-align:left;" id="backups">Backups</h1><p class="paragraph" style="text-align:left;">Before allowing real traffic to hit your dedicated server for the first time, I recommend setting up automated backups and offsite storage.<br><br>Automated backups for all VMs are included in Proxmox by default. Here’s how you get those going:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/19f9ed12-d335-4d59-93fa-9daa2b34364f/image.png?t=1787715514"/><div class="image__source"><span class="image__source_text"><p>Find the Backup menu in Datacenter → Backup. Then click Create. Use 21:00 as the schedule, select all VMs. </p></span></div></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/b37d19a3-199c-4f7f-8e73-37cafe9e0978/image.png?t=1787715822"/><div class="image__source"><span class="image__source_text"><p>To minimize disk usage, I’d recommend only keeping the last 7 days of backups on the Proxmox host itself. The offsite backup storage will be where longer term backups live anyway.</p></span></div></div><p class="paragraph" style="text-align:left;">Now, there are a number of ways to get your backups copied to offsite storage, and Proxmox even offers a product for it: Proxmox Backup Server. </p><p class="paragraph" style="text-align:left;">However, I didn’t want to have to install a separate ISO on another host or VM just to get offsite backups working. Seemed like too much complexity.</p><p class="paragraph" style="text-align:left;">I instead went with a simple bash script automated by <code>systemd</code> on my proxmox host which uses <code>rclone</code> on a schedule to automatically copy <b>encrypted</b> backups to offsite storage (by the way: never send cleartext backups to an offsite host, they may read your backups otherwise!).</p><p class="paragraph" style="text-align:left;">For the offsite backup provider, I went with <a class="link" href="https://my.hostbrr.com/order/forms/a/MjAyODc=?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow">HostBrr</a> (ad) - they offer 500GB of backup storage for $7.77/y which is probably the best deal I’ve ever seen for backup storage, and they have a simple SFTP integration with DirectAdmin that you can use. So far, everything is fine. The risk here is of course that HostBrr has only been around for a few years, and they could disappear, but given my server has redundant storage and a week of backups stored locally, I feel comfortable with taking the risk.</p><p class="paragraph" style="text-align:left;">Here’s how I set up that script in <code>/root/sync-backups.sh</code>:</p><div class="codeblock"><pre><code>#!/bin/bash

set -euo pipefail

SRC=&quot;/var/lib/vz/dump&quot;
DST=&quot;gaia-backups-crypt:&quot;

OPENOBSERVE_URL=&quot;http://10.0.0.3:5080/api/default/default/_json&quot;
OPENOBSERVE_AUTH=&quot;my@email.com:REDACTED&quot;

send_openobserve() &#123;
  local status=&quot;$1&quot;
  local level=&quot;info&quot;

  if [[ &quot;$status&quot; == &quot;error&quot; ]]; then
    level=&quot;error&quot;
  fi

  curl -sS -k \
    -u &quot;$OPENOBSERVE_AUTH&quot; \
    -H &quot;Content-Type: application/json&quot; \
    &quot;$OPENOBSERVE_URL&quot; \
    -d &quot;[&#123;
      \&quot;level\&quot;:\&quot;$level\&quot;,
      \&quot;job\&quot;:\&quot;sync_backups\&quot;,
      \&quot;host\&quot;:\&quot;gaia\&quot;,
      \&quot;status\&quot;:\&quot;$status\&quot;,
      \&quot;timestamp\&quot;:\&quot;$(date -u +%Y-%m-%dT%H:%M:%SZ)\&quot;
    &#125;]&quot;
&#125;

trap &#39;send_openobserve error&#39; ERR

rclone copy \
  &quot;$SRC&quot; \
  &quot;$DST&quot; \
  --transfers 4 \
  --checkers 8 \
  --stats 1m

rclone delete \
  &quot;$DST&quot; \
  --min-age 30d \
  --transfers 4 \
  --checkers 8 \
  --stats 1m

send_openobserve success
</code></pre></div><p class="paragraph" style="text-align:left;">I then created a <code>systemd</code> service and timer file in <code>/etc/systemd/system</code> named <code>sync-backups.service</code> and <code>sync-backups.timer</code> (to run nightly at 2 AM UTC) respectively:</p><div class="codeblock"><pre><code>[Unit]
Description=Sync Proxmox backups to remote storage
After=network-online.target
Wants=network-online.target

[Service]
Type=oneshot
ExecStart=/root/sync-backups.sh
User=root
WorkingDirectory=/root</code></pre></div><div class="codeblock"><pre><code>[Unit]
Description=Nightly Proxmox backup sync

[Timer]
OnCalendar=*-*-* 02:00:00
Persistent=true

[Install]
WantedBy=timers.target</code></pre></div><p class="paragraph" style="text-align:left;">This script relies on OpenObserve which is my observability platform that I self host on my monitoring VM. I have an alert set up to fire whenever the backup job does not run, so I’m made aware of it immediately. </p><p class="paragraph" style="text-align:left;">Note that <code>rclone</code> is used to actually do the copying and automated deleting of old backups. </p><p class="paragraph" style="text-align:left;">Here’s my rclone config which I created with <code>rclone config</code> (you should do the same and follow the prompts to configure everything) - you’ll want <code>crypt</code> storage as well as your offsite storage defined:</p><div class="codeblock"><pre><code>root@gaia:~# rclone config show
[gaia-backups]
type = sftp
host = REDACTED
user = REDACTED
port = REDACTED
pass = REDACTED
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum

[gaia-backups-crypt]
type = crypt
remote = gaia-backups:backups-encrypted
password = REDACTED</code></pre></div><p class="paragraph" style="text-align:left;">This config says: “copy backups to the gaia-backups host, but encrypt them first, and place them in the <code>backups-encrypted</code> directory on the host.”</p><p class="paragraph" style="text-align:left;">You can test if the encryption worked by running the script manually and inspecting the FTP server after it exits. </p><p class="paragraph" style="text-align:left;">If you see obfuscated filenames and file contents, you’re in good shape and you should then enable the systemd service:</p><div class="codeblock"><pre><code>systemctl enable --now sync-backups</code></pre></div><h1 class="heading" style="text-align:left;" id="automated-updates">Automated Updates</h1><p class="paragraph" style="text-align:left;">This is going to be a short one. As a solo sysadmin, you need automated updates to avoid manually patching N different hosts and your dedicated server every other week. Luckily, since Proxmox is based on Debian, the usual unattended-upgrades flow works just fine. </p><p class="paragraph" style="text-align:left;">I use this config on all of my hosts including my dedicated server to keep everything up to date without any manual intervention:</p><div class="codeblock"><pre><code>root@gaia:~# cat /etc/apt/apt.conf.d/52unattended-upgrades-local
Dpkg::Options &#123;
    &quot;--force-confdef&quot;;
    &quot;--force-confold&quot;;
&#125;;

Unattended-Upgrade::Origins-Pattern &#123;
    &quot;o=*&quot;;
&#125;;

Unattended-Upgrade::Automatic-Reboot &quot;true&quot;;
Unattended-Upgrade::Automatic-Reboot-Time &quot;04:00&quot;;</code></pre></div><p class="paragraph" style="text-align:left;">There’s also a 20-auto-upgrades file which got added automatically, you may or may not need to define it:</p><div class="codeblock"><pre><code>root@gaia:~# cat /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists &quot;1&quot;;
APT::Periodic::Unattended-Upgrade &quot;1&quot;;</code></pre></div><h1 class="heading" style="text-align:left;" id="conclusion">Conclusion</h1><div class="image"><img alt="Thats It Jimmy Fallon GIF by The Tonight Show Starring Jimmy Fallon" class="image__image" style="" src="https://media2.giphy.com/media/v1.Y2lkPTI0NTBlYzMwb25kOG16MWVyNDhweW9ubjZ4Mmk2Z3N6bDRlbjF2d2RkcTJ5dDBxNiZlcD12MV9naWZzX3NlYXJjaCZjdD1n/uSZQ6WPIcpouUEpNTe/giphy.gif"/></div><p class="paragraph" style="text-align:left;"><br>That’s all we have folks! I thought about including more detail about how to set up monitoring in Proxmox, but basically, they support Graphite/InfluxDB/OpenTelemetry - so it’s easy enough to get that going on your own and add alerts on Proxmox metrics.</p><p class="paragraph" style="text-align:left;">I hope this helps you set up your own dedicated server, “exit the cloud,” and remove your dependency on big cloud providers - at least to the maximum extent possible.<br><br><span style="background-color:#fffa00;"><b>I put a lot of research into this, so if you find some value out of what I’ve written here, here’s a link to ☕️</b></span><span style="background-color:#fffa00;"><a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-move-your-entire-business-to-a-dedicated-server-the-right-way" target="_blank" rel="noopener noreferrer nofollow"><b> buy me a coffee</b></a></span><span style="background-color:#fffa00;"><b> and show your support!</b></span><br><br>Thanks so much for reading either way.</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=beafc2ba-b583-416e-b203-81dd7bf66b42&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>My response to an AI doomer</title>
  <description>And why you should take advice with a grain of salt when it comes from &quot;technology critics&quot;</description>
      <enclosure url="https://media3.giphy.com/media/v1.Y2lkPTI0NTBlYzMwMTIxczJrZ2ltMnp2bGxmM3FiZ3V6cmQ2eWxxbXpvaTBncm44NDBmNSZlcD12MV9naWZzX3NlYXJjaCZjdD1n/xBqg5gAf1xINizpek6/giphy.gif"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/my-response-to-an-ai-doomer</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/my-response-to-an-ai-doomer</guid>
  <pubDate>Wed, 15 Apr 2026 03:06:49 +0000</pubDate>
  <atom:published>2026-04-15T03:06:49Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="which-doomer-might-this-be">Which doomer might this be?</h1><div class="image"><img alt="We Are Doomed Reaction GIF" class="image__image" style="" src="https://media3.giphy.com/media/v1.Y2lkPTI0NTBlYzMwMTIxczJrZ2ltMnp2bGxmM3FiZ3V6cmQ2eWxxbXpvaTBncm44NDBmNSZlcD12MV9naWZzX3NlYXJjaCZjdD1n/xBqg5gAf1xINizpek6/giphy.gif"/></div><p class="paragraph" style="text-align:left;">I rarely use Facebook because it’s mostly boomers sharing poorly created memes, people getting enraged about clickbait political news that they have no control over, and not much else.</p><p class="paragraph" style="text-align:left;">When I last checked my feed though, I saw that one of my friends had written a post that linked to an article <a class="link" href="https://www.wheresyoured.at/the-subprime-ai-crisis-is-here/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=my-response-to-an-ai-doomer" target="_blank" rel="noopener noreferrer nofollow">relating the AI boom to the subprime mortgage crisis of 2008</a> and claiming the entire industry is unprofitable.</p><p class="paragraph" style="text-align:left;">Well, If you’re reading this, you might know that I&#39;m running a <a class="link" href="https://watchdog.chat?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=my-response-to-an-ai-doomer" target="_blank" rel="noopener noreferrer nofollow">profitable AI startup</a> that uses generative AI models to identify and block scam messages, and have been for the last few years. Without the advent of large language models, I wouldn’t have a business at all. If ya didn’t know, now ya know!</p><h1 class="heading" style="text-align:left;" id="my-instant-reaction">My instant reaction</h1><div class="image"><img alt="Gordon Ramsey Idiot GIF" class="image__image" style="" src="https://media0.giphy.com/media/v1.Y2lkPTI0NTBlYzMwOWswZ3cwMnFxNWduc3p2cXN3aWx6cjMxMGM5djRnNDN6eW5jZGlndiZlcD12MV9naWZzX3NlYXJjaCZjdD1n/3o85xnoIXebk3xYx4Q/giphy.gif"/><div class="image__source"><span class="image__source_text"><p>Me, Gordon Ramsay, speaking to the author of the blog article</p></span></div></div><p class="paragraph" style="text-align:left;">Anyway, upon seeing that post, it might not be surprising that I instantly had a reaction of “is the author out of his goddamn mind, or are the drugs he’s taking just that good? If the latter, I want whatever he’s having!”</p><p class="paragraph" style="text-align:left;">In any case, I read the whole article so you don’t have to - you’re welcome, that’ll be $20 - and now I’ll respond to it. </p><p class="paragraph" style="text-align:left;">tl;dr: it’s a blog post almost entirely comprised of emotional, fear-mongering, over-generalized BS written by a &quot;technology critic&quot; who has never built anything related to AI in his entire life, yet now thinks himself to be an expert on the future of said technology - with some nuggets of truth embedded.</p><h1 class="heading" style="text-align:left;" id="okay-so-he-gets-some-credit">Okay, so he gets <i>some</i> credit</h1><p class="paragraph" style="text-align:left;">To be fair, there&#39;s a lot of hype with all the new AI tools and agents coming out to the point that I get annoyed with all of it myself even as an AI business owner, and it’s not like I approve of everything that is going on in AI-land (AI generated LinkedIn posts can die in a fire, that site was already a dumpsterfire before AI and now it’s truly in the gutter), so I sometimes like reading critical articles like this to see what they have to say.</p><p class="paragraph" style="text-align:left;">I mean, the people that write doomer style blog posts sometimes make good points! Sometimes those posts even written by serious people who have built something relevant themselves instead of just complaining about something they have no experience with, and those articles deserve more weight.</p><p class="paragraph" style="text-align:left;">The one in the Facebook post that I linked above doesn’t get it right, though. There are a number of problems with his argument, and I’ll address the 5 most egregious ones now.</p><h1 class="heading" style="text-align:left;" id="and-here-they-are">And here they are:</h1><div class="image"><img alt="Jimmy Fallon Anticipation GIF by The Tonight Show Starring Jimmy Fallon" class="image__image" style="" src="https://media0.giphy.com/media/v1.Y2lkPTI0NTBlYzMwd25wZDJteHg2bWQ4ZGIwZmltejZqczRiMXh1ZGIxbTk0OWhwYmczZCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/CLCT8BXR1T2oyBYilM/giphy.gif"/></div><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Relating the AI funding boom to the subprime mortgage crisis of 2008 doesn&#39;t make any sense</b>. This AI funding boom is no more and no less the standard formula of &quot;sell something people want below cost to get as many users as possible as fast as possible, operate at a loss until all the competitors die, meanwhile use VC funding to pay the bills - then raise prices&quot; in action, and it’s something that happens across many different types of VC-funded businesses. It&#39;s not like this is an exclusive strategy only used when AI is involved, it happens every 5 years or so whenever there’s a new VC trend to bet money on. Last time the bet was NFTs - a laughably bad bet with zero utility, let’s be real here - and now it’s AI. With AI, we’ve got vastly more utility (don’t lie, you the one person who reads my blog posts, you’ve used ChatGPT as a pretty good replacement for your asshole therapist who charges you $420/hour at least once! Admit it!) with an unknown long term impact. And if the bet doesn’t pay off? Only the VCs, not the entire population of everyone who ever prompted an AI model, will lose their investments. It’s not even close to the same thing as people losing their primary residences, because taking massive risks with the chance of losing everything is part of the job description when it comes to VCs spending VC money. It’s not the same expectation when you get a loan from the bank to buy a house in ‘merica - that’s <i>supposed</i> to be a “safe” and “protected” investment that has a loan underwritten by a federally-insured bank that is expected to go up and to the right with minimal fuss, which is why the ‘08 crash was a different animal.<br></p></li><li><p class="paragraph" style="text-align:left;"><b>I have no idea what he&#39;s talking about when he says that Uber has/had &quot;no capex.”</b> Talk about being “wrong, ignorant and potentially a big fucking liar” to use his own words<i>.</i><b><i> </i></b>Apparently, he doesn&#39;t understand how to read a balance sheet or how expensive it is to operate a logistics company, or he’s just being intentionally obtuse. Uber had over <a class="link" href="https://finbox.com/NYSE:UBER/explorer/capex/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=my-response-to-an-ai-doomer" target="_blank" rel="noopener noreferrer nofollow">$300 million in capex just in the last year</a> and has had a similar figure for capex for the last several years. Hell, if you go back to over 5 years ago, they were spending nearly <i>double</i> on capex than what they do now and <i>that</i> figure is <i>even lower</i> than what they were likely spending on capex relative to their pre-IPO PMF finding stage, so this claim of “ThEy NeVeR hAd AnY CaPeX!!111” becomes even weaker. You could argue that the current percentage of capex relative to their revenue or net income is low, but that’s a different and more sensible argument than “they don’t have any capex at all.” Come on now.<br></p></li><li><p class="paragraph" style="text-align:left;"><b>The fact that the most famous AI companies have gotten more funding than AWS or Uber doesn&#39;t mean that they’re somehow doomed to fail.</b> Companies get more or less investor money according to their assumed/potential impact on society and according to how expensive it is to get the business started and operating. It’s then not hard to understand that more investor money does not equal more risk of failure. It merely implies that VCs are betting more heavily on this specific trend vs. past trends because reasons. Are they right to do so? Who fucking knows, we’re not in the room when the deals get signed. We’ll just have to see, won’t we?<br></p></li><li><p class="paragraph" style="text-align:left;"><b>The entire industry is not based on &quot;unprofitable economics,&quot; and I’m the counterpoint to that entire argument. </b>I run a <a class="link" href="https://watchdog.chat?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=my-response-to-an-ai-doomer" target="_blank" rel="noopener noreferrer nofollow">profitable AI business</a>, and I’m here to tell you that you can absolutely make a profit and charge reasonable prices to customers even with GPUs/AI/whatever boogeyman the author is worried about in the mix. There&#39;s no need to pay-per-million-tokens and use the most expensive &quot;frontier&quot; models to solve problems - sometimes they don’t even perform as well as open-source, lower cost models. I’ve written <a class="link" href="https://x.com/ben_makes_stuff/status/2032538435274117198?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=my-response-to-an-ai-doomer" target="_blank" rel="noopener noreferrer nofollow">about exactly how I’ve optimized my AI bills before</a>, and what I’ve done can be replicated by any business owner that puts in the effort to benchmark models and run experiments. Certainly, token prices for &quot;frontier&quot; models will and already have gone up because at some point investors start asking for a return on their capital, so I can&#39;t disagree with the author there, but it&#39;s straightforward to opt out of paying the standard unprofitable per-token prices by using smaller, targeted models and only using the frontier models as a fallback, and/or purchasing your own power-efficient hardware. Which brings me to my next point…<br></p></li><li><p class="paragraph" style="text-align:left;"><b>This article seems to assume that power efficiency gains will never happen and that people will just be locked into renting GPUs at pay-per-million-token prices in the cloud forever</b>. That&#39;s not a bet I&#39;m going to take with <a class="link" href="https://www.nvidia.com/en-us/products/workstations/dgx-spark/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=my-response-to-an-ai-doomer" target="_blank" rel="noopener noreferrer nofollow">stuff like this</a> coming out. Instead of requiring a rackmounted server with 138 GPUs in a datacenter cabinet and all of the datacenter builds all the NIMBYs are against because “ThE DaTaCenTerS aRe StEaLinG oUr WaTer” you can now run large AI models on your desk in the form factor of a mini PC with significantly lower power consumption than a server running in the datacenter, and significantly lower costs than paying per token generated by said servers - particularly for heavy inference workloads. Also, there are 4-5 <a class="link" href="https://www.asus.com/us/networking-iot-servers/desktop-ai-supercomputer/ultra-small-ai-supercomputers/asus-ascent-gx10/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=my-response-to-an-ai-doomer" target="_blank" rel="noopener noreferrer nofollow">competing pieces of hardware</a> from ASUS, HP, Framework, GMKTek, and so on that are lower in price than the DGX Spark machine I linked, usually by $1,000 or more. So: more and more power-efficient, smaller form factor, and competitively priced AI-related pieces of hardware will come out requiring less and less physical space. It&#39;s a matter of time until inference and training workloads no longer eat up so many resources.</p></li></ol><h1 class="heading" style="text-align:left;" id="and-the-conclusion-is">And the conclusion is…?</h1><div class="image"><img alt="Thinking Think GIF" class="image__image" style="" src="https://media3.giphy.com/media/v1.Y2lkPTI0NTBlYzMwazZuZ3hqMDFtNzFvcW5yeGppdm9rem95d3R2dXB3MTlpdW14YTNocSZlcD12MV9naWZzX3NlYXJjaCZjdD1n/a5viI92PAF89q/giphy.gif"/></div><p class="paragraph" style="text-align:left;">I don’t know man.</p><p class="paragraph" style="text-align:left;">The only question that I think is worth thinking about after reading this article is: will future demand for AI-related solutions outpace efficiency gains that are coming down the pipe for the hardware that powers it?</p><p class="paragraph" style="text-align:left;">And of course, I have no idea and neither does anyone else. It’ll be fun to see what happens though.</p><p class="paragraph" style="text-align:left;">Until then, keep on prompting and keep on shipping! </p><p class="paragraph" style="text-align:left;"><sub>And ignore the doomers. Mostly. Unless you feel like a good rant, which I did. Ayylmao</sub></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=52e44c14-2c93-4c66-b9c0-a816a82ffbf5&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>How to learn how to fly without burning a hole in your wallet</title>
  <description>Plus tips and tricks on how to pass the FAA knowledge test</description>
      <enclosure url="https://media2.giphy.com/media/v1.Y2lkPTI0NTBlYzMwdTZzdnM3NzNyZ3YyMWx2Z3Q5MnJubmR3OG9hOTh4aWQxNDN1cnlraCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/Btn42lfKKrOzS/giphy-downsized.gif"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet</guid>
  <pubDate>Mon, 13 Apr 2026 20:07:45 +0000</pubDate>
  <atom:published>2026-04-13T20:07:45Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="hey-there-im-ben">Hey there, I’m Ben 👋</h1><p id="hey-there-im-ben-if-youre-new-to-my" class="paragraph" style="text-align:left;">If you’re new to my posts, I’m Ben - a solo founder building profitable software businesses.</p><p class="paragraph" style="text-align:left;">If you’re not new, welcome back!</p><p class="paragraph" style="text-align:left;">As for this, this post, it’s going to be something different. I usually post about startups, software, and building a business.</p><p class="paragraph" style="text-align:left;">I’m still doing all of that, but recently, I decided that I’d go after my childhood dream: becoming a pilot and learning how to fly an airplane.</p><h1 class="heading" style="text-align:left;" id="huh-flying-whered-that-come-from">Huh? Flying? Where’d that come from?</h1><div class="image"><img alt="Flying Adult Swim GIF" class="image__image" style="" src="https://media4.giphy.com/media/v1.Y2lkPTI0NTBlYzMwcG4yZHo3dHQ0ZmhhNGZrN2g4aGkwbnUycnhlcnBvOHFlcWIzeW1ncCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/JhncGNdBoyeKk/giphy.gif"/><div class="image__source"><span class="image__source_text"><p>me irl</p></span></div></div><p class="paragraph" style="text-align:left;">Yes. When I was 5, I told my mom I wanted to be a pilot when I grew up. I don’t know why. Maybe it was the flashing buttons in the cockpit that I wanted to press rather than a genuine desire to fly an aircraft, but in any case, it was the first thing I ever told anyone I wanted to do with my life.</p><p class="paragraph" style="text-align:left;">I then promptly forgot all about that, took a quick 30ish-year detour to go to school for Computer Science, work in software, move to California, move to New York, quit everything, <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/a-year-of-living-in-thailand-as-a-solo-founder?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet" target="_blank" rel="noopener noreferrer nofollow">move to Thailand to start my own software company</a>, and finally move back to NYC to continue running my software business and be closer to family and customers. Whew.</p><p class="paragraph" style="text-align:left;">In any case, while I was over in Thailand, something started gnawing at me internally: the desire to learn how to fly was back! I was a bit surprised myself when I realized that was what I wanted to do.</p><p class="paragraph" style="text-align:left;">To be clear, I don’t know why this feeling came back. Nothing spurred this for me. I didn’t have a concussion or a brain injury, and I didn’t go to a shaman in South America and do Ayahuasca for a week to get to this epiphany.</p><p class="paragraph" style="text-align:left;">I simply got the idea in my head one day, and when I get an interesting idea in my head something in my brain latches on, so here we are.</p><h1 class="heading" style="text-align:left;" id="is-there-any-logic-to-this">Is there any logic to this?</h1><div class="image"><img alt="Thinking Math GIF" class="image__image" style="" src="https://media4.giphy.com/media/v1.Y2lkPTI0NTBlYzMwbzd5eTZoNndpMW90N3E1NXRwbTBlYzQ5cmJ6M2o5bjl1Y21rbHZ6ayZlcD12MV9naWZzX3NlYXJjaCZjdD1n/DfSXiR60W9MVq/giphy.gif"/></div><p class="paragraph" style="text-align:left;">I’ve thought about this a lot.</p><p class="paragraph" style="text-align:left;">Maybe it’s that I’ve always had this interest in exploration and traveling and I’ve tried many different ways of scratching that itch: I have a motorcycle license and rode motorcycles for about 5 years, I tried sailing lessons for a week in Lake Tahoe when I was living in San Francisco and realized very quickly it wasn’t for me, I’ve gone paragliding, and of course I’ve been driving cars since I was 16 and riding bicycles before that.</p><p class="paragraph" style="text-align:left;">But, being able to fly a plane is more interesting to me than all of those other modes of transportation because:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>You can fly almost year round, weather permitting:</b> On the other hand, boats typically need to be taken out of the water for the winter, and their performance is way more affected by windy conditions than planes are. For motorcycles, you won’t want to ride a bike when it’s cold outside as you will absolutely freeze when you get up to speed. And paragliding just isn’t a practical way to get around!<br><br>However, many planes tend to perform <i>better</i> when it’s a bit cold outside (caveat: obviously, you’ll need to avoid icing conditions/thunderstorms/etc). One reason for this, particularly for propeller-based planes, is that cold air is denser than warm air - so there are simply more air molecules for the propeller to push around, leading to better performance.<br></p></li><li><p class="paragraph" style="text-align:left;"><b>It unlocks new places to go to in an efficient manner: </b>grass airstrips in the middle of mountain ranges (after getting the necessary training for mountain flying of course), islands, and other “airplane only” destinations that aren’t accessible by car, friends that don’t live near major airports: all within reach and in a relatively short amount of time without dealing with congested major airports/TSA/etc. And to be clear, I think the idea of crossing the Atlantic over the course of a month or two in a sailboat while traveling around the speed of a bicycle is super cool, I just want a bit more speed than that when I travel on a regular basis.<br></p></li><li><p class="paragraph" style="text-align:left;"><b>It triggers the right things in my brain: </b>flying is something that seems to flex the same muscles in my brain that programming does for me. It’s something about the procedural, problem-solving, “obsession over the details” aspects of flying that really hooked me. Besides, if our AI overlords make working in software useless and I decide that I no longer want to run a business some day, this is something else that I think I’ll be good at, although who knows if AI will take pilot jobs as well if it gets good enough. There’s already <a class="link" href="https://www.garmin.com/en-US/autonomi/autoland/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet" target="_blank" rel="noopener noreferrer nofollow">Garmin Autoland</a> after all. Worst case scenario though: I learn how to fly and notice some problems that can be solved in a new industry, which is often how I come up with business ideas. So it’s a win-win.</p></li></ol><h1 class="heading" style="text-align:left;" id="isnt-it-expensive">Isn’t it expensive?</h1><div class="image"><img alt="No Money GIF by Tsoulfasp" class="image__image" style="" src="https://media0.giphy.com/media/v1.Y2lkPTI0NTBlYzMwZThwNDE5eW42aHNscDlwMjVzZG14d3dnZWllbDBuOTh3M21hdTE1NiZlcD12MV9naWZzX3NlYXJjaCZjdD1n/rQkYW6hZaoZ88eOz7D/giphy-downsized.gif"/><div class="image__source"><span class="image__source_text"><p>Pictured: my wallet after finishing flight training.</p></span></div></div><p class="paragraph" style="text-align:left;">Yes. </p><p class="paragraph" style="text-align:left;">If sailing a boat reminds you of the phrase <b>B</b>reak <b>O</b>ut <b>A</b>nother <b>T</b>housand - then for planes, think of <b>P</b>ouring <b>L</b>iquid <b>A</b>ssets <b>N</b>early <b>E</b>ndlessly (until you have nothing left, big RIP to your wallet).</p><p class="paragraph" style="text-align:left;">Keep in mind, though, that you don’t have to own a plane to fly around the skies. You can always rent instead of own which is a lot more doable for infrequent flying - or if you do want to own an aircraft and fly more often, older Cessna 150s can be had for not-an-insane-amount-of-money: around $35K, or the same price as a new car. Of course, ongoing maintenance can be a different story if you don’t buy right.</p><p class="paragraph" style="text-align:left;">But I’m getting off track here. This post is about learning how to fly, not owning an airplane outright. And to that end, there are some tips and tricks you can use to make your training much more efficient and cost effective that I’ll share with you now.</p><h1 class="heading" style="text-align:left;" id="so-then-where-should-one-learn-to-f">So then, where should one learn to fly?</h1><p class="paragraph" style="text-align:left;">I’ll caveat this by saying: this advice is only for those of you looking to learn how to fly in the US.</p><p class="paragraph" style="text-align:left;">And in my opinion, the US is the best place in the world to learn how to fly. Why? Take a look at this sectional chart:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f8bea83b-94f5-41a6-90af-fbb0e430e76c/image.png?t=1776104066"/><div class="image__source"><span class="image__source_text"><p>A sectional chart of the northeast/central US, courtesy of <a class="link" href="http://skyvector.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet" target="_blank" rel="noopener noreferrer nofollow">SkyVector</a>.</p></span></div></div><p class="paragraph" style="text-align:left;">Those dots surrounded by purple circles? <b>Those are airports. </b>There are even more of them that aren’t visible in this zoomed out map.</p><p class="paragraph" style="text-align:left;">It might be surprising to learn that the US has the highest number of airports in the entire world. There are some historical reasons for this dating back to WW2, and that’s how the US ended up with so many airports.</p><p class="paragraph" style="text-align:left;">In my view, this is a major safety factor, because if you have an engine that dies in the middle of the wilderness in, for example, Canada - you might not be within gliding distance to an airport depending on where you are. And airplanes turn into (heavy) gliders when you lose an engine.<br><br>In the US, that specific problem is greatly reduced by the sheer number of airports available. Of course, if you lose an engine shortly after takeoff or something like that, it’s a problem regardless, but I get some comfort in the fact that there are simply orders of magnitude more “guaranteed” landing spots available relative to other countries:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/fdae2c7a-89d9-46e0-8cc6-5664ac8e3ea7/image.png?t=1776104225"/><div class="image__source"><span class="image__source_text"><p>The massive difference between the number of US airports relative to Canada.</p></span></div></div><p class="paragraph" style="text-align:left;">To illustrate what I mean, check the above map and note the stark difference in the number of available airports.</p><h1 class="heading" style="text-align:left;" id="so-then-where-should-one-learn-to-f">What are all of the steps to get a pilot’s license?</h1><p class="paragraph" style="text-align:left;">There are many steps to getting a FAA private pilot certificate (more commonly known as a PPL “private pilot license” — but the official term is Private Pilot Certificate). These steps can be done in almost any order if you do them <a class="link" href="https://www.ecfr.gov/current/title-14/chapter-I/subchapter-D/part-61?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet" target="_blank" rel="noopener noreferrer nofollow">Part 61 style</a>, but I’ve listed the optimal order below:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Pass a medical exam with a special doctor</b> certified to conduct aviation-related medical exams. These are called Aviation Medical Examiners (AMEs) in the US and only a few doctors in each state have the ability to do these exams.</p></li><li><p class="paragraph" style="text-align:left;"><b>Finish ground school</b>. It’s what it sounds like - you learn all the material and regulations required to operate an airplane in the US. You can either pay an instructor at ~$70/h to teach you the material you need to know - or you can teach yourself on your own time. I would strongly recommend the latter, and I’ll go into why below.</p></li><li><p class="paragraph" style="text-align:left;"><b>Pass your FAA knowledge test.</b> This is the Private Pilot Airplane test (test code: PAR). This is done at an in-person testing center with strict security in terms of what you can bring with you to the test. They certainly don’t like cheaters, so don’t try. Note that this is a timed, 2-hour test with 65 questions (5 of which are “trial” questions that the FAA is testing, they don’t count against your score).</p></li><li><p class="paragraph" style="text-align:left;"><b>Complete flight instruction (in the plane). </b>There are a maximum of 40 required hours of training by law, but almost no one finishes in that amount of time. I’m just starting, but I expect to finish in around ~70-80 hours worst case scenario, not 40. There’s a mix of day, night, instrument, and cross-country flying required as a part of this.</p></li><li><p class="paragraph" style="text-align:left;"><b>Pass a fairly grueling practical test with a FAA-designated examiner. </b>This is called the “checkride” where the examiner gives you an oral exam first to make sure you understand the material and can apply it to different situations that might come up while flying - then, provided you pass that part, they hop in the plane with you while you take off, do maneuvers that have to be completed within certain tolerances, and execute a cross-country flight. Then they award you with your certificate if you pass (you get a temporary cert in person, and a real one in the mail a few weeks later - similar to driver’s licenses).</p></li></ol><p class="paragraph" style="text-align:left;">So! Let’s dive into some tricks to make this all efficient and as cheap as possible:</p><h1 class="heading" style="text-align:left;" id="the-dreaded-medical-exam">The dreaded medical exam</h1><div class="image"><img alt="Mr Bean Thumbs Up GIF" class="image__image" style="" src="https://media2.giphy.com/media/v1.Y2lkPTI0NTBlYzMwbWJzMmQyamR2b3N3dXk3ejVvaDlldHkxbXozNmtnZXY2bWx5aTVwZSZlcD12MV9naWZzX3NlYXJjaCZjdD1n/9Ai5dIk8xvBm0/giphy.gif"/></div><p class="paragraph" style="text-align:left;">Okay, it’s not that bad and this is probably the easiest part of the whole experience, but it’s still something you should be careful not to mess up. </p><p class="paragraph" style="text-align:left;">It’s also something you should do first before anything else - if you start flying and then find out you legally can’t hold a pilot cert due to medical problems, you’ve wasted a ton of time and money!</p><p class="paragraph" style="text-align:left;">And if you do get denied medical clearance by the FAA, it is a long road to convince them that you can safely fly an airplane sometimes lasting months or years, and because it’s a government agency, you can imagine just how slow this process is.</p><p class="paragraph" style="text-align:left;">It will also cost you around $100-200 as it’s an elective doctor visit not covered by insurance.</p><p class="paragraph" style="text-align:left;">So how do you not mess this up and avoid wasting your money?<br><br><i>By being prepared and picking the right doctor.</i></p><p class="paragraph" style="text-align:left;">First, you need to fill out your complete medical history on <a class="link" href="https://medxpress.faa.gov/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet" target="_blank" rel="noopener noreferrer nofollow">https://medxpress.faa.gov/</a> and sign up for a medical. If you just want to fly for fun, the most you need is a 3rd class medical, so be sure to sign up for that one and not a 2nd or 1st class medical which are only useful for commercial and airline transport pilot operations.</p><p class="paragraph" style="text-align:left;">I can’t say for sure what will disqualify you when filling out your medical history, but I’ve heard that if you take lots of anti-depressants, have had a history of depression/suicidal thoughts, or take lots of prescription drugs that affect your thinking it can cause a denial. It makes sense - you can’t reasonably expect to operate an aircraft while your thinking is impaired.</p><p class="paragraph" style="text-align:left;">In my area in NYC, there are several doctors at major hospitals like NYU Langone that can technically perform AME responsibilities by law. But they also have 1 trillion patients per day and don’t spend most of their time doing these type of exams.<br><br>Don’t go to these doctors. What you want to do is find an AME who is:</p><ul><li><p class="paragraph" style="text-align:left;"><b>A pilot themselves</b>. Not a requirement, but it helps to have someone who understands what you’re trying to do.</p></li><li><p class="paragraph" style="text-align:left;"><b>Does many of these exams per week</b>. The guy I went to could have done this type of exam in his sleep - his entire practice is just doing these special medical exams and nothing else and he was highly efficient.</p></li><li><p class="paragraph" style="text-align:left;"><b>Willing to advocate for you</b>. If they have too many patients (or again, they’re not a pilot themselves), I’d be cautious about their willingness to help you deal with the FAA if there are any problems with your exam results.</p></li></ul><p class="paragraph" style="text-align:left;">I actually ended up renting a car and driving to an airport in New Jersey where one of these doctors was operating. Sometimes it’s worth putting in extra effort like this to get a good result.</p><p class="paragraph" style="text-align:left;">Once you’ve identified a doctor, get mentally prepared for the exam. It’s not very challenging, but you need to make sure your blood pressure is reasonable (there’s a high threshold, I think it’s something like 155/95 mmHg but don’t quote me) and be mentally prepared for 3 tests beyond the blood pressure check:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Colorblindness test:</b> this is a timed test, and it’s unforgiving. I was given an old iPad to do the test on, and it only gives you about 1 second per question to answer <i>and</i> tap next. If you don’t tap next in time, you get the question wrong. I’m not colorblind but this was still stressful because of the old touch sensor on the iPad and missing a few questions due to the next button not triggering when I tapped on it.</p></li><li><p class="paragraph" style="text-align:left;"><b>Vision test:</b> instead of having to read letters off a chart like you do at the DMV, this one was a bit harder for me. I had to tell the examiner which part of a random symbol (not a letter) was “open”/”closed” for each column in the chart.</p></li><li><p class="paragraph" style="text-align:left;"><b>Urine test: </b>you pee in a cup. Then they analyze your pee while you’re at the appointment to verify you don’t have diabetes, your kidney is functioning, etc.</p></li></ol><p class="paragraph" style="text-align:left;">If you pass all of those, you’ll know - and the examiner will immediately print your medical certificate. </p><p class="paragraph" style="text-align:left;"><span style="background-color:#fffd00;"><b>Pro-tip</b></span><b>:</b> provided you’re under 40 at the time you receive your medical, it’s valid for 5 years - expiring at the end of whatever month that is 5 years in the future - so make sure to take this exam early in the month, ideally on the 1st of the month, to buy yourself more time.</p><h1 class="heading" style="text-align:left;" id="how-to-finish-ground-school-on-the-">How to finish ground school on the cheap</h1><p class="paragraph" style="text-align:left;">Once you’ve gotten your medical, the next thing I’d recommend is to get ground school and your FAA knowledge test out of the way. It’s one less thing you have to worry about while learning how to fly a plane, so I wouldn’t suggest learning how to fly the plane and doing ground school at the same time.</p><p class="paragraph" style="text-align:left;">While you can pay an instructor to teach you the material, I wouldn’t suggest that. You can and should pass the exam on your own time to save a ton of money.</p><p class="paragraph" style="text-align:left;">Do it all online as I did. For reference, it took me about ~60h (~2 mo) of self study to finish:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8c6e5d27-75a0-42b2-993d-0dbccd71c3e6/image.png?t=1776106847"/><div class="image__source"><span class="image__source_text"><p>I have no idea why my average practice exam score was computed as 4,648% but I’ll take it!</p></span></div></div><p class="paragraph" style="text-align:left;">This will save you a ton of money because you otherwise will have to pay an instructor to teach you for $70+/h.<br><br>Compare the costs involved here:<br><br>Classroom study with an instructor: $70/h * 60h = <b>$4,200 </b>⚠️<br>Self-study online: $50-299 course.<br><br><b>That is a savings of at least $3,901.</b></p><h1 class="heading" style="text-align:left;" id="which-ground-school-should-i-pick">Which ground school should I pick?</h1><p class="paragraph" style="text-align:left;">I have nothing to sell you related to online ground schools, so here&#39;s my honest recommendation:</p><p class="paragraph" style="text-align:left;">The school you use doesn&#39;t really matter. They&#39;re all pretty similar.</p><p class="paragraph" style="text-align:left;">Just make sure the one you go with gives you an endorsement to take the test when you finish it. It’s required for a certified flight instructor (CFI) to sign off that you’re ready to take the knowledge test, which is what that endorsement is for.<br><br>The cheapest option I’ve found for this is going to be FreePilotTraining’s premium course at $50 which includes an endorsement: <a class="link" href="https://www.freepilottraining.net/products/premium-ground-course-with-endorsement?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet" target="_blank" rel="noopener noreferrer nofollow">https://www.freepilottraining.net/products/premium-ground-course-with-endorsement</a><br><br>I haven’t tried that one as I didn’t know it existed at the time, but FreePilotTraining runs an excellent YouTube channel that I used to help me study when I didn’t quite get the explanations in the ground school I went with, so I bet their premium course with the endorsement included is good as well.</p><p class="paragraph" style="text-align:left;">The other commonly recommended options are Sporty’s or Gold Seal both at $299. </p><p class="paragraph" style="text-align:left;">I personally did Gold Seal simply because I liked their cool domain name (<a class="link" href="https://groundschool.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet" target="_blank" rel="noopener noreferrer nofollow">groundschool.com</a>) and it was fine, but Sporty’s has a superior practice test library and practice test taking experience.<br><br><span style="background-color:#fffd00;"><b>Pro-tip</b></span>: regardless of which ground school you go with, use Sporty’s test prep software (free, available here: <a class="link" href="https://courses.sportys.com/training/portal/demo/course/PRIVATE/testprep?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-learn-how-to-fly-without-burning-a-hole-in-your-wallet" target="_blank" rel="noopener noreferrer nofollow">https://courses.sportys.com/training/portal/demo/course/PRIVATE/testprep</a>) to take a bunch of practice tests before your in-person knowledge test! </p><p class="paragraph" style="text-align:left;">It’ll help you get a good score as the questions are similar to what you’ll see on the real test. Note that the test questions on the real test are different and include different wording, maps, and figures so you have to know what you’re doing and actually pay attention in ground school - but if you do well on the practice tests consistently and truly understand why you messed up when you get questions wrong, then you should be fine on the in person knowledge test.</p><h1 class="heading" style="text-align:left;" id="any-tips-to-passing-the-knowledge-t">Any tips to passing the knowledge test?</h1><p class="paragraph" style="text-align:left;">First of all, the passing score on this test is a 70% which is not very hard to do, but you want to get as close to 100% as you can. I personally got a 90%. That said, a pass is a pass and I wouldn’t bother retaking the test just to get a higher score if your first attempt was a pass.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/e8609c35-3985-4ac3-b4aa-e637bb590703/image.png?t=1776110517"/><div class="image__source"><span class="image__source_text"><p>The paper you get after passing the test. Includes items to study that you got wrong on the test.</p></span></div></div><p class="paragraph" style="text-align:left;">Why should you care about getting a high score? Well, during your checkride at the end of your training, the FAA designated examiner might decide to grill you on whatever you missed on the knowledge test - they can see how well you did and which areas of focus you need to improve on based on what you got wrong.</p><p class="paragraph" style="text-align:left;">So, don’t suck. 🙂 Get a high score. Now how to do that specifically:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">During ground school, you will likely learn how to use an E-6B for wind correction and other calculations. It’s an old school paper calculator that’s very useful to know how to use, but it’s too slow for the timed nature of the knowledge test. <b>Instead, buy an ASA CX-3 flight computer off Amazon for ~$150 with a 30-day return policy close to your exam date, then just return it after the test.</b></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/4f79de14-d103-4a84-907b-bd1726a9c1d3/image.png?t=1776108135"/><div class="image__source"><span class="image__source_text"><p>ASA CX-3. Superior to the paper E-6B for the knowledge test specifically.</p></span></div></div><p class="paragraph" style="text-align:left;"><br><br>It’s approved for use with the knowledge test just like the E-6B is - it’s just much faster and has easier built-in calculations for things like density altitude, cloud tops, wind correction, and more. There were 4-5 questions on my test where I was really glad I had the CX-3 with me.<br></p></li><li><p class="paragraph" style="text-align:left;">Read the questions carefully, double check your work, and obviously make sure you’ve done your studying before you arrive to take the test. Note that many test questions will have tricky answers that are ~5 degrees apart, so <b>you really need to make sure you know how to use your plotter and get the exact right answer.</b><br><br><span style="background-color:#fffd00;"><b>A helpful trick</b></span><span style="background-color:#fffd00;">, because during the exam you won’t have a normal paper sectional to plot a course on:</span> hold your scratch paper up to the monitor (it’s fairly transparent) and use your pencil to mark the points in your course. Then put the paper down, and use your plotter to figure out the angle between the two points → select the closest answer.<br></p></li><li><p class="paragraph" style="text-align:left;"><b>Use the knowledge testing supplement to your advantage</b>: This is a booklet you’ll get with the exam. I had one test question that asked me about the typical limits of a certain airspace around various airports. I couldn’t remember the exact figure, so what I did is opened the knowledge test supplement and found enough examples of airports in the airspace the question was asking about, and noted the maximum height of the shelf of that airspace in most of the examples I found. That ended up being the right answer!</p></li></ol><h1 class="heading" style="text-align:left;" id="how-about-picking-a-flight-school-f">How about picking a flight school for in-plane instruction?</h1><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/cdb18ba2-813c-4b5b-a747-73c13861c96a/image.png?t=1776109686"/><div class="image__source"><span class="image__source_text"><p>Me flying around in a Piper Cherokee during my discovery flight</p></span></div></div><p class="paragraph" style="text-align:left;">I’ve just started my lessons, so I’d take my advice with a grain of salt, but I’ll share what I looked for in a flight school and how I made a decision:</p><p class="paragraph" style="text-align:left;">First, I signed up with a “discovery flight” at 3 different local flight schools - this is a fun flight you do with an instructor just to get a feel for flying and see how they run their operation.<br><br>During this process, interview the instructors you’re flying with as much as possible. See how they think about safety in particular. </p><p class="paragraph" style="text-align:left;">To that point, something really important that I wanted to see from each instructor was a thorough safety briefing before taking off, and 2 out of 3 flight schools I went to didn’t do this!</p><p class="paragraph" style="text-align:left;">In other words, the instructor should inform you what happens during an engine failure particularly at takeoff at various distances (what happens if it quits with runway remaining, without runway remaining, and at various altitudes), should be comfortable talking about picking landing spots, and how they manage safety during the flight.</p><p class="paragraph" style="text-align:left;">Unbelievably, one of the instructors I took a discovery flight responded with “uh I don’t know about a landing spot around here, I’d probably just put the plane down in the river over there” when I asked him how he’d identify a landing spot if the engine quit, and he didn’t explain why. I never flew with that instructor again for obvious reasons.</p><p class="paragraph" style="text-align:left;"><span style="text-decoration:underline;">More things to look for in a good flight school:</span></p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Part 61:</b> you might be tempted to go to a part 141 school because of lower training requirements and structured classes. Those training minimums are irrelevant though, because almost no one finishes their private pilot cert in 40 hours anyway, so chances are having a 35 hour minimum instead of a 40 hour minimum doesn’t help you. Lastly, if you have a life and a job already, you won’t want to be a full time-student or be held to strict lesson plans - you’ll want the flexibility to train in whatever order, at whatever pace (a benefit if you’re a fast learner as you can finish faster), and whenever you want. That’s what Part 61 schools let you do.</p></li><li><p class="paragraph" style="text-align:left;"><b>DPE on staff</b>: there’s a shortage of FAA designated pilot examiners right now. Having one on staff at the flight school you’re training at means you don’t have to wait an extra month and incur skill decay while you’re struggling to schedule a checkride at the end of your training or locate a DPE. This saves potentially thousands of dollars of aircraft rental costs (that you’d have to incur to shake the rust off) and many hours of time, not to mention minimal stress as you don’t have to find a DPE on your own.</p></li><li><p class="paragraph" style="text-align:left;"><b>Maintenance inhouse</b>: I decided not to work with at least one school because they mentioned they had to fly their planes to another city to do maintenance. That’s downtime that will again lead to skill decay if the plane isn’t fixed quickly. The school I went with, on the other hand, is owned by a few A&P mechanics who do all of their own maintenance and inspections for the fleet of aircraft in a hangar at the airport the school is located at, meaning very minimal downtime if any.</p></li><li><p class="paragraph" style="text-align:left;"><b>An instructor you get along with: </b>if your instructor gets you and is a calm and effective teacher, you’re going to have a much better time. If not, you might have to switch instructors in the middle of training which again wastes time and money you could be spending making actual progress. Get it right upfront.</p></li><li><p class="paragraph" style="text-align:left;"><b>“Wet” aircraft rentals:</b> be careful about fuel surcharges (“dry” aircraft rentals do not include fuel), particularly in 2026 with fluctuating oil prices for obvious reasons. Since the cost of fuel fluctuates, you’re much better off renting a plane for training from a school that offers “wet” rentals meaning fuel costs are baked into the hourly rental cost. This is one less variable expense you don’t have to worry about.</p></li><li><p class="paragraph" style="text-align:left;"><b>Commute to the “practice area”</b>: some flight schools operate in busy airspace and the practice area is many nautical miles away from the airport. That means you’ll take off and waste 30 minutes flying to wherever this practice area is on every lesson, which is a waste of money.</p></li><li><p class="paragraph" style="text-align:left;"><b>Stage check signoffs: </b>“stage checks” are where another instructor besides your own evaluates your progress and gives you a signoff to move onto the next lesson. This is a good thing, in my view, as I can see how it would improve safety if your primary instructor is missing something - but it becomes a problem when only one instructor is the designated “stage check signoff” instructor at the school. Then you’re fighting with their schedule. So make sure multiple instructors at the school can sign off on stage checks, not just one!</p></li></ol><h1 class="heading" style="text-align:left;" id="so-whats-next">So what’s next?</h1><p class="paragraph" style="text-align:left;">Whew! That’s about all I have for now in terms of tips on how to get started with flight training and save money. Even with some of the cost cutting measures I mentioned, it’s still a fairly expensive endeavor, but a worthwhile one in my view.<br><br>As for me, I’ve already passed my medical exam, finished ground school, and passed my FAA knowledge test. The remaining 2 items, and the hardest ones by far are the actual flight training which I’m just starting, followed by the checkride. After all of that, I might go do an instrument rating so I can legally fly through the clouds, but one thing at a time!<br><br>As for this blog, I might write a followup post about my experiences doing the flight training and passing the exam, and I might even use a GoPro to record my lessons. And I’ll certainly write a new post if I end up getting any cool aviation-related business ideas.<br><br>Until next time, I can’t think of anything else to say here, so: toodaloo!</p><div class="image"><img alt="Plane Airplane GIF" class="image__image" style="" src="https://media2.giphy.com/media/v1.Y2lkPTI0NTBlYzMwdTZzdnM3NzNyZ3YyMWx2Z3Q5MnJubmR3OG9hOTh4aWQxNDN1cnlraCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/Btn42lfKKrOzS/giphy-downsized.gif"/></div></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=e2538ef5-da0e-404a-bc62-2a673c4944b3&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>How I got $12,000 in Cloud Credits for Free in 2025</title>
  <description>Follow my guide to pay $0 in hosting and payment processing fees for years on end. No VC funding or special connections required.</description>
      <enclosure url="https://images.unsplash.com/photo-1600586316434-29a13a4f9aa9?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwzNnx8ZnJlZSUyMG1vbmV5fGVufDB8fHx8MTc0NTY1NTU5OXww&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/how-i-got-12-000-in-cloud-credits-for-free-in-2025-a10c9c05c381a297</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/how-i-got-12-000-in-cloud-credits-for-free-in-2025-a10c9c05c381a297</guid>
  <pubDate>Sat, 26 Apr 2025 10:55:14 +0000</pubDate>
  <atom:published>2025-04-26T10:55:14Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="hey-there-im-ben">Hey there, I’m Ben 👋</h1><p class="paragraph" style="text-align:left;">If you’re new to my posts, I’m <a class="link" href="https://x.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">Ben</a> - a solo founder building profitable software businesses.</p><p class="paragraph" style="text-align:left;">If you’re not new, welcome back!<br><br>And either way, I hope you’re ready to learn how to save absolute boatloads of money and avoid handing over your life savings to ThE cLoUd — because I’m ready to save you quite literally tens of thousands of dollars in bills for your business.</p><p class="paragraph" style="text-align:left;">This is an approach I came up with myself as I used it to save myself money when I was getting started with business a year or two ago, and now I’m sharing my approach with you.<br><br>So if you finish reading this and you’re happy with the <i>tens of thousands of dollars</i> I’ve almost certainly saved you, I’d like to suggest that you simply ☕️<a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow"> buy me a coffee</a>. </p><p class="paragraph" style="text-align:left;">Otherwise, I did include a couple of affiliate links to relevant products that I personally use for this article. By clicking those links, it helps support me as I get a referral bonus — and you get benefits as well as I outline below.</p><h1 class="heading" style="text-align:left;" id="if-at-first-you-dont-succeed-try-tr">Twelve thousand dollars?! You must be joking.</h1><div class="image"><img alt="Season 6 What GIF by The Office" class="image__image" style="" src="https://media4.giphy.com/media/v1.Y2lkPTI0NTBlYzMwN3V5ZjJ6bTVhNWZkMWZ3MGl6N2N1MHRuaHd0eW9iaW4zcTBuZ2Z5NSZlcD12MV9naWZzX3NlYXJjaCZjdD1n/ghuvaCOI6GOoTX0RmH/giphy.gif"/><div class="image__source"><span class="image__source_text"><p>Gif by theoffice on Giphy</p></span></div></div><p class="paragraph" style="text-align:left;">Not joking, this is a real thing. It’s even better than that: the $12K is only for cloud credits — you can also get $5K in free payment processing credits as a separate allotment.</p><p class="paragraph" style="text-align:left;">As I said in the intro section, I can confirm that this works as it took me a couple years to build a <a class="link" href="https://watchdog.chat?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">product</a> that started making money, and I’ve just now had to start paying bills after a couple years of experimentation using the exact approach I’ll outline in this article.</p><p class="paragraph" style="text-align:left;">You don’t need VC funding to take advantage of this, and you don’t need to do any kind of vendor lock-in or use proprietary tools. </p><p class="paragraph" style="text-align:left;">What I’m about to describe applies to <b>everyone who has shipped a real software product with a working website</b>, and AI-founders can definitely get the full $12K at least in 2025.<br><br>And if you’re not an AI founder? OK, you won’t get the full $12K, but you will get ~$7K of that plus the payment processing credits which is more than enough to cover many, many years of bills on its own.<br><br>I’ll explain what to do below and in what order.</p><h1 class="heading" style="text-align:left;" id="pivoting-httpssimpleotpcom-into-a-m">But first, some qualifications</h1><p class="paragraph" style="text-align:left;">Let’s start with what qualifies you to get these credits. It’s really not very many requirements to meet at all. <br><br>You qualify for this if you’re a solo founder or a small team and:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">You have your app deployed somewhere and you can demonstrate this with a live URL to your landing page. It needs to have screenshots of your app and be a real landing page which you’ll need anyway to sell to customers - so you probably have this covered already.</p></li><li><p class="paragraph" style="text-align:left;">You’re willing to spend an hour of your time once every two years filling out applications for credits.</p></li><li><p class="paragraph" style="text-align:left;"><b>(Bonus)</b> You’re building an AI-specific product.</p></li></ol><p class="paragraph" style="text-align:left;">The value behind meeting requirements 1 and 2 alone is $7,000 in cloud credits expiring in 2 years + up to $2,000 in credits from another provider + $5,000 in payment processing credits. Pretty great on its own. That’s $7K cloud + $5K payment processing.<br><br>🤑 But if you satisfy requirement 3, you’ll get those credits + <b>another </b>$5,000 in cloud credits + $2,000 in <b>additional</b> cloud credits on a different provider! That’s $12K cloud + $5K payment processing.</p><p class="paragraph" style="text-align:left;">Even better, if you’re able to apply for multiple cloud credits and sequence them properly, you will have enough credits to last you something like 6 years if your usage remains constant (but hopefully it doesn’t and your startup takes off before then).</p><p class="paragraph" style="text-align:left;">Let’s get started.</p><h1 class="heading" style="text-align:left;" id="but-do-we-have-to-100-selfhost-ever">Where do these credits come from then?</h1><p class="paragraph" style="text-align:left;">This approach takes advantage of credits from multiple well known companies:</p><ul><li><p class="paragraph" style="text-align:left;">AWS</p><ul><li><p class="paragraph" style="text-align:left;">Recommended stack: single EC2 instance (<code>t4g.medium</code> is a good starter instance type) <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/selfhost-app-2024-right-way?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">with Dokku</a>, optionally Postgres on RDS, optionally SES for emails, and nothing else.</p></li></ul></li><li><p class="paragraph" style="text-align:left;">Google Cloud Platform</p><ul><li><p class="paragraph" style="text-align:left;">Recommended stack: single Compute Engine instance (<code>c4a-highcpu-2</code> is a good starter instance type) <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/selfhost-app-2024-right-way?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">with Dokku</a>, optionally Postgres on Cloud SQL, and nothing else.</p></li></ul></li><li><p class="paragraph" style="text-align:left;">Stripe</p><ul><li><p class="paragraph" style="text-align:left;">Recommended stack: just Stripe itself. Don’t bother <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/how-and-why-you-should-move-from-lemon-squeezy-to-stripe?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">with MoRs</a> or extras.</p></li></ul></li></ul><p class="paragraph" style="text-align:left;">If you’re scared of these types of companies because you’ve heard of people getting ripped off due to hard-to-understand bills, that’s what the credits provide (a lot of) buffer for. </p><p class="paragraph" style="text-align:left;">You won’t pay a dime if you’re careful - which is easy to do if you stick to the services I recommended.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/547b309e-eb33-4b02-a3bd-8df452eefae7/image.png?t=1745660208"/><div class="image__source"><span class="image__source_text"><p>Here’s what your AWS bill should look like if you set it up using the recommended services I mentioned above. The credits will easily cover this kind of spend.</p></span></div></div><p class="paragraph" style="text-align:left;">And again, no vendor lockin which you should avoid if you can help it - you’re using a simple VPS + an open source database that can be run anywhere. </p><p class="paragraph" style="text-align:left;">Note, if you have time to spare once you’re up and running, I recommend <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/how-i-automated-setup-and-deployment-for-my-apps-with-terraform?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">setting up Terraform </a>which makes it dead simple to move between clouds and provides other benefits.<br><br>But let’s get to the credits already.</p><h1 class="heading" style="text-align:left;" id="the-first-batch-of-5-k-in-cloud-cre">The first batch of $5K in cloud credits</h1><p class="paragraph" style="text-align:left;">1️⃣ First, sign up for a free <a class="link" href="https://aws.amazon.com/free/offers/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">AWS trial account</a> - just pick the normal free tier which gets you 12 months of free EC2 hosting among other benefits. Use this while waiting for your credits to be approved.</p><p class="paragraph" style="text-align:left;">2️⃣ Now, it’s time to get yourself the first batch of $5K in AWS credits. Sign up with a free business bank account from <a class="link" href="https://mercury.com/r/mockernut?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">Mercury</a> (affiliate link - gets you expedited processing vs. signing up normally so I’d suggest using it) which you can even do as a non-resident of the US. You don’t need to maintain a balance at Mercury, you just need to have an account as I do. Once you’ve signed up for Mercury, visit their <a class="link" href="https://mercury.com/perks/aws?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">AWS perks page</a> and follow the instructions to apply for credits. <b>NOTE: While you can get an account with Mercury as a non-resident, you need to have a US business to get the AWS credits, as the application will ask for your EIN (employer identification number) associated with your US LLC. Be careful if your business is located somewhere else.</b><br><br>Note that this process will take a couple weeks (just because AWS support can be a bit slow) and you may need to provide some documentation to AWS if they reach out.</p><p class="paragraph" style="text-align:left;">3️⃣ Congrats, you should have $5K in cloud credits! Here’s what it looks like after you get approved: </p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/7fac31ad-2224-4a6a-b06d-0012906e42d3/image.png?t=1745660112"/><div class="image__source"><span class="image__source_text"><p>Here’s what it’ll look like on your <a class="link" href="https://us-east-1.console.aws.amazon.com/billing/home?region=us-east-1&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025#/credits" target="_blank" rel="noopener noreferrer nofollow">credits page</a>.</p></span></div></div><p class="paragraph" style="text-align:left;">At this point, you can also route your AI spend through AWS Bedrock which is applicable for those credits — but I’m less confident in your ability to make $5K last 2 years if you have AI spend involved as that can be quite unpredictable depending on your traffic. Bedrock is not the cheapest provider and has some of the worst latency, so it won’t be super ideal for your users.<br><br>Instead, I’d recommend skipping down to the section below where I cover GCP credits as you can use those for <a class="link" href="https://ai.google.dev/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">Gemini API</a> spend, or <a class="link" href="https://help.openai.com/en/articles/10306912-sharing-feedback-and-api-inputs-and-outputs-with-openai?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">enabling data sharing</a> in your OpenAI console for up to ~1M tokens per day for free, or enabling data sharing in your Grok API console for <a class="link" href="https://docs.x.ai/docs/data-sharing?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">$150/month in free credits</a>.</p><h1 class="heading" style="text-align:left;" id="how-about-those-5-k-in-payment-proc">How about those $5K in payment processing credits?</h1><p class="paragraph" style="text-align:left;">Let’s take care of the payment processing credits at this stage as they don’t expire, they’re merely capped on a certain amount of revenue.</p><p class="paragraph" style="text-align:left;">1️⃣ This requires a <i>different</i> free bank account from <a class="link" href="https://onboarding.novo.co/signup?referral_code=BenjaminKatz2&first_name=Benjamin&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">Novo</a> (affiliate link - this one gives us both $40 if you make a deposit), and I think you have to be a US resident or citizen to apply, but if you get accepted they have a cool benefit where they have some integration with Stripe that allows for fast transfers. I use and recommend them as my primary business bank.</p><p class="paragraph" style="text-align:left;">2️⃣ Once you have a Novo account, click on the <a class="link" href="https://novo.builtfirst.com/stripe-stripe-payments-financial-infrastructure?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">Stripe Perk</a> and follow the instructions. Note: you will have to apply the credits to a single Stripe Account, they cannot be shared across all of your Stripe accounts.</p><p class="paragraph" style="text-align:left;">3️⃣ Pause this guide for 2 years, you’re all set to build your startup for now! ⏳</p><h1 class="heading" style="text-align:left;" id="two-years-are-up-what-next">Two years are up, what next?</h1><div class="image"><img alt="" class="image__image" style="" src="https://images.unsplash.com/photo-1598398386929-4d5370672e9f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwyfHxjb25mdXNlZHxlbnwwfHx8fDE3NDU2NjMwMjd8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@dexezekiel?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Dex Ezekiel on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">Ok, so two years have passed and your 5K in AWS credits are about to expire, so it’s time to re-up for another two years. Here we have a fork in the road:<br><br>1️⃣ AI founders (or if you have GPU/nVIDIA technology usage as a part of your startup): the no-brainer option is to apply for <a class="link" href="https://www.nvidia.com/en-us/startups/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">nVIDIA Inception</a>. It’s totally free, you don’t need funding. 👨<b> Non-AI/GPU founders: skip to step 2 now because you don’t qualify for this.</b></p><p class="paragraph" style="text-align:left;">There are a few unique requirements with nVIDIA’s program:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">You need a “pitch deck.” Just have ChatGPT generate a PDF for you based on your landing page — if it’s a good landing page most of the info you’d put in a pitch deck should be in there anyway except for revenue. </p></li><li><p class="paragraph" style="text-align:left;">You need to apply with a business email, i.e. <a class="link" href="mailto:you@yourdomain.com" target="_blank" rel="noopener noreferrer nofollow">you@yourdomain.com</a>.</p></li><li><p class="paragraph" style="text-align:left;">You need to supply multiple email addresses in the application and assign a job title to each email. If you’ve hired someone recently, great - use their email. If not, they never asked me for verification on this second employee, so you could probably (not confirmed and not recommended) just put in any other email address on your domain as long as it’s a valid email.</p></li></ol><p class="paragraph" style="text-align:left;">Once you’ve applied, it’s a very similar process to getting the first batch of AWS credits - find the perks menu, click the $5K in AWS credits button, follow the instructions, wait for a couple weeks and…</p><p class="paragraph" style="text-align:left;"><b>Congrats, you have another $5K to last you another couple years. Pause this guide again and come back in </b><i><b>another</b></i><b> two years (minus a month or two of buffer).</b></p><div class="image"><img alt="National day fireworks" class="image__image" style="" src="https://images.unsplash.com/photo-1531686264889-56fdcabd163f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwyfHxjZWxlYnJhdGlvbnxlbnwwfHx8fDE3NDU2NjMxMTB8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@erwanhesry?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Erwan Hesry on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">2️⃣ Ok, <i>yet another</i> two years are just about up. Now apply to <a class="link" href="https://cloud.google.com/startup?hl=en&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow">Google Cloud’s startup program</a>. This gets you up to $2,000 in credits for <i>another 2 years</i>. Same process as AWS - apply, put in your website and what you’re building, and wait for a couple weeks.</p><p class="paragraph" style="text-align:left;">At this point, I could keep going with different credit offers but this is about as far as I’d recommend you go on cloud credits. </p><p class="paragraph" style="text-align:left;">Azure has a credit program too - but their product is so horrible that I wouldn’t recommend anyone use it, credits or not. I have production experience with Azure (several years worth due to a prior job) and I would seriously not recommend it to my worst enemy.</p><p class="paragraph" style="text-align:left;">So, after you’re done with these AWS and GCP credits, just move to a low cost yet reliable VPS provider like Hetzner as your long term home and save yourself some money.</p><p class="paragraph" style="text-align:left;">Speaking of money, you should be making money at this point so you can afford Hetzner’s $5/month VPS pricing, and if you listened to me and set up Terraform + Dokku and kept your cloud services to a minimum, the migration will be very minimal effort 🙂 </p><h1 class="heading" style="text-align:left;" id="conclusion">Conclusion</h1><div class="image"><img alt="Jon Stewart Crying GIF" class="image__image" style="" src="https://media3.giphy.com/media/v1.Y2lkPTI0NTBlYzMweW02OWFqdndvcGd4cnpuaW54ZjZtdjNsaXExZ3FhNGt0Y3ZuMDFoYiZlcD12MV9naWZzX3NlYXJjaCZjdD1n/hAcDHEhZHA2bu/giphy-downsized.gif"/><div class="image__source"><a class="image__source_link" href="http://alligator-sunglasses.com/post/97086205170/jon-stewart-wipes-tears-with-money?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" rel="noopener" target="_blank"><span class="image__source_text"><p>Giphy</p></span></a></div></div><p class="paragraph" style="text-align:left;">That’s it! Hope you were able to get some credits out of these giant cloud companies.<br><br><span style="background-color:#fffa00;"><b>I put a lot of research into this, so if I saved you some money, here’s that link to ☕️</b></span><span style="background-color:#fffa00;"><a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-got-12-000-in-cloud-credits-for-free-in-2025" target="_blank" rel="noopener noreferrer nofollow"><b> buy me a coffee</b></a></span><span style="background-color:#fffa00;"><b> and show your support!</b></span><br><br>Thanks so much for reading either way.</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=fd6390b6-7c11-4b16-aeab-be7646ba730a&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>What I Learned After a Year of Living in Thailand as a Solo Founder</title>
  <description>Plus my background and how I ended up here in the first place. Will I stay or will I go?</description>
      <enclosure url="https://images.unsplash.com/photo-1528181304800-259b08848526?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxfHx0aGFpbGFuZHxlbnwwfHx8fDE3NDIyMTY4Mzh8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/a-year-of-living-in-thailand-as-a-solo-founder</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/a-year-of-living-in-thailand-as-a-solo-founder</guid>
  <pubDate>Sun, 13 Apr 2025 09:33:29 +0000</pubDate>
  <atom:published>2025-04-13T09:33:29Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="hey-there">Hey there 👋</h1><p class="paragraph" style="text-align:left;">If you’re an OG reader: welcome back!<br><br>For those of you who are new here, I’m Ben, a solo founder and expat from the USA although I’ve been living in Bangkok, Thailand for the last year and some change.</p><p class="paragraph" style="text-align:left;">With that said, this is going to be a bit of a different post, deviating from my usual “how to do something interesting and technical” post format, but I think this information will be equally interesting and maybe even more enlightening for those of you who might be considering a move overseas or making major life changes.<br><br>This is going to be a fairly long explanation as the reasons I ended up here are complex, so let’s start from the beginning, shall we?</p><h1 class="heading" style="text-align:left;" id="if-at-first-you-dont-succeed-try-tr">So how did you end up in Thailand anyway?</h1><p class="paragraph" style="text-align:left;">Well, like I said, it’s a long story. Thailand was actually the first place I ever traveled on my own over 10 years ago, so it wasn’t my first time in the country when I landed here a year ago.<br><br>I was dealing with some serious family issues at the end of 2013 which was affecting my mental health, self-confidence, and relationships with other people in a number of negative ways. This was all happening right when I was getting ready to graduate university and take a bunch of final exams, so there was added stress from multiple angles.</p><p class="paragraph" style="text-align:left;">As a result, and pretty much as soon as I graduated in December 2013, I decided that I wanted to get out of the country entirely and do a trip on my own to mentally reset. <a class="link" href="https://x.com/levelsio?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=what-i-learned-after-a-year-of-living-in-thailand-as-a-solo-founder" target="_blank" rel="noopener noreferrer nofollow">Pieter Levels</a> talks about this idea of <a class="link" href="https://levels.io/reset-your-life/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=what-i-learned-after-a-year-of-living-in-thailand-as-a-solo-founder" target="_blank" rel="noopener noreferrer nofollow">resetting your life</a> in his own blog from many years ago and I did the same thing, coincidentally right down to the same choice in country.</p><p class="paragraph" style="text-align:left;">How did I pick Thailand as the destination? Well, almost at random. I had never been to Asia or Thailand, I didn’t speak Thai, and I didn’t know a soul there. Really, I barely did any research and simply committed to the idea after a quick Google search for “good countries for solo trip” and noticing Thailand looked cool and was at the top of the list.</p><p class="paragraph" style="text-align:left;">The other tricky part about this was that I had an engineering job already lined up for post-graduation and they were expecting me to start work within a few weeks, but I managed to convince the recruiter (hey ex-coworkers from Qualcomm if any of you are reading this) that I needed extra time before starting “to wait for my apartment lease to finish.”</p><p class="paragraph" style="text-align:left;">You’re probably wondering how I managed to convince the recruiter using that laughably weak excuse, and I have no idea, but it worked. I was able to successfully delay my start date by <b>6 months</b>! With that problem solved, I booked a one-way ticket, booked 3 nights in a random hostel, hopped on a 24+ hour economy flight across the world, and landed in Bangkok at 3 in the morning.<br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/2fa5221d-da14-47c6-80d0-1dddc26d008a/image.png?t=1742213370"/><div class="image__source"><span class="image__source_text"><p>A random picture I took on my first trip to Thailand in 2014 somewhere near my hostel. Don’t do drugs, kids.</p></span></div></div><p class="paragraph" style="text-align:left;">Let’s say that “culture shock” was an understatement when I landed. The first thing I noticed was how many people there were on the street - I had only lived in small towns in the US my entire life, so this was a completely different universe. I then had to navigate past a million speeding motorbikes, half of them driving past me from both directions on the sidewalk in order to find the hostel I had booked, then step over about about a dozen sleeping backpackers - because half of them were passed out drunk on the floor - in order to find my assigned bunk.</p><p class="paragraph" style="text-align:left;">But after that crazy first night in the country, I quickly got used to things. I ended up meeting a bunch of cool travelers throughout my time in Thailand, toured the entire country (Bangkok, Ayutthaya, Chiang Mai, Pai, Chiang Rai, and so on) with the same people I had met staying at various hostels, and then acquired a last minute visa and flight to Burma to see Bagan, Yangon, Inle Lake, and a bunch of other unique places and met even more people.</p><p class="paragraph" style="text-align:left;">But after a few months in Southeast Asia, and although I was heavily considering moving to Chiang Mai where my friend was paying only ~$100/month in rent, I decided it was time to come back to the US. I really did want to get some work experience and get good at being a Software Engineer, so I decided to prioritize that over backpacking Southeast Asia indefinitely.</p><h1 class="heading" style="text-align:left;" id="pivoting-httpssimpleotpcom-into-a-m">Well then, what brought you back to Thailand?</h1><p class="paragraph" style="text-align:left;">After 10 years working in software full-time, including my most recent almost 5 year stint at DoorDash in SF and NYC as a tech lead, I felt it was time to start my own business - again.</p><p class="paragraph" style="text-align:left;">I say again because I’ve been starting businesses from a relatively young age. I’ve always been drawn to business and leadership for some reason even though no one in my direct family operates a business.</p><p class="paragraph" style="text-align:left;">For example, my first venture was flipping web hosting accounts to random people I met on some kind of pirated software forum when I was 17. I ended up making around $500 in total revenue with only $10/month in expenses, which felt like big money in high school, but I ended up getting hacked and doxxed by a black hat hacking group and being forced to refund all of it as my reseller hosting account got deleted along with all of my customer data. That was a crazy experience to go through keeping in mind I was still in high school.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/337e2959-976f-426a-8b22-d497b92c7cf3/image.png?t=1742205373"/><div class="image__source"><span class="image__source_text"><p>I found an archive of my old hosting site. Nothing screams “Reliable” like a website with broken images, missing styles, and “guarantee” spelled wrong, but people bought it anyway 😂</p></span></div></div><p class="paragraph" style="text-align:left;">A few years later, I followed that with a <a class="link" href="https://northernvirginiamag.com/news/2014/03/19/new-app-finds-you-the-best-wine-and-liquor-prices-in-town/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=what-i-learned-after-a-year-of-living-in-thailand-as-a-solo-founder" target="_blank" rel="noopener noreferrer nofollow">liquor app</a> that helped people navigate the commie liquor system in Virginia. When I say commie, the liquor stores are state-owned, and the government sets the prices for all the liquor sold in those stores. You cannot buy liquor anywhere but those specific stores either. Very commie.</p><p class="paragraph" style="text-align:left;">In any case, I indexed all of this stuff and made it searchable via an app:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c1f6ab6e-ccbc-4cfb-ae1c-9e4c3b928d09/image.png?t=1742204675"/><div class="image__source"><span class="image__source_text"><p>A screenshot of the VABC app I built when I was 22 or so.</p></span></div></div><p class="paragraph" style="text-align:left;">This liquor app effectively paid my share of the electric bill in college due to people buying the app for $0.99. Of course, I again thought I was rich with ~$100-200 in total revenue and I remember getting recognized as “that guy who built the liquor app” at a house party once or twice. Best of all, no hacks occurred and I got to keep the money.</p><p class="paragraph" style="text-align:left;">Most recently before quitting my job at DoorDash, I had attempted <a class="link" href="https://atgatt.co?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=what-i-learned-after-a-year-of-living-in-thailand-as-a-solo-founder" target="_blank" rel="noopener noreferrer nofollow">a motorcycle safety business</a> that only made $10 in revenue. I shut it down for a while, but I actually just relaunched it a few months ago after a fellow founder gave me the idea to relaunch it as a SEO experiment.<br><br>Anyway, once I quit my job at DoorDash, I decided I wanted to make a real effort at starting a business. Not a toy project, something that would actually generate real and consistent revenue and that I could say I came up with myself.<br><br>But there was a problem.</p><h1 class="heading" style="text-align:left;" id="a-problem-you-say">A problem you say?</h1><p class="paragraph" style="text-align:left;">I was living in NYC at the time after just having quit my job at DoorDash. I love NYC, but it’s also incredibly expensive for a founder starting from scratch with $0 revenue and no desire to get VC funding.<br><br>I decided that there was no real point in paying $3,200/month in condo rent to live there while having exactly $0 MRR and having no idea which business idea would start to make consistent revenue. I wanted to lower my expenses and my risk while I figured out what I was doing.</p><p class="paragraph" style="text-align:left;">So, fresh out of a relationship that had ended right around the same time, I decided it was time to consider moving. I had previously traveled all across the US and I liked Austin, Denver, San Diego, and some other places I had been to or lived in before - but again, I felt it was time for a more drastic change as I needed to significantly lower my expenses.</p><h1 class="heading" style="text-align:left;" id="where-else-did-i-consider">Where else did I consider?</h1><p class="paragraph" style="text-align:left;">Before I decided on moving to Thailand, I decided I should do some scouting of other locations in Asia to make sure it was the right fit.</p><div class="image"><img alt="Morning view on the lovely Tegelalang rice terraces north of Ubud, Tegelalang, Bali" class="image__image" style="" src="https://images.unsplash.com/photo-1555400038-63f5ba517a47?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwyfHxCYWxpfGVufDB8fHx8MTc0NDUzNTUzMHww&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@treesoftheplanet?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=what-i-learned-after-a-year-of-living-in-thailand-as-a-solo-founder" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Niklas Weiss on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">On X, everyone talks about the dream of moving to Bali as a software founder and living that DiGiTaL nOmAd LiFe, so that’s the first place I decided to fly to. I heard a lot of high praise from people who had been there 5-10 years ago, but as it turns out places change.<br><br>Let’s just say I was severely disappointed when I got there. The most famous destinations on the island were absolutely overrun by tourists, developers just keep building beach club after beach club, the traffic is the worst I’ve ever seen (I’ve been to Hanoi so I know what a lot of motorcycles looks like, this is worse), the sidewalks are very small and falling apart, and there’s generally no infrastructure to support the massive influx of tourists.</p><p class="paragraph" style="text-align:left;">There’s also poor internet freedom in Indonesia - you’ll need a VPN to access most things and you’ll be IP blocked by either the ISP in Indonesia or the service you’re trying to access as many websites simply blanket ban all Indonesian IP addresses.</p><p class="paragraph" style="text-align:left;">Finally, the food, as the kids say, was pretty mid. There seemed to be lots of rice + chicken + egg dishes which were bland, but I did really like Babi Guling which is a must try if you go there. My favorite part of the whole trip was traveling to a nearby island (Nusa Penida) and exploring it by motorbike, and I felt the local people in Bali and Nusa Penida were really nice. Overall though, just not the vibe I was looking for at all. Too many obnoxious tourists and influencers everywhere.<br><br>I then visited Kuala Lumpur, Malaysia and multiple cities in Vietnam. Malaysia is an interesting country because the visa situation is generous (90 days per entry, plus they have a 1 year visa, as well as longer term options), everyone speaks near perfect English and the local food is seriously great. But as a place to live, I felt it would be a bit too low key for me and it has a fairly “dead” energy to it. Hard to describe but I felt it as soon as I got off the plane and rolled into the city. That said, it seems like a great place for families, less so someone in my position who feeds off the energy of the place I’m living in. That said, I’d like to go back and explore some new places outside of KL since Malaysia is so close to Thailand. I’ve heard good things about Penang.<br><br>Vietnam was also a very nice experience. Hanoi in particular has a lot of character to it and there’s a ton of history, cultural sites throughout the country. Food was good as well, and Vietnamese food at least <b>feels</b> healthy to me as there’s a lot of vegetables incorporated. However, the visa situation for anything outside of a tourist visa is difficult. Even the longer term visas have stay limits of only a few months per year. I like to be in one place while I’m focusing on business stuff, so Vietnam didn’t seem to be a good option for this reason alone.</p><p class="paragraph" style="text-align:left;">In the end, mostly due to visa flexibility, food options, safety, internet freedom and speed (I rarely if ever need a VPN in Thailand), and general ease of living or at least my estimation of how all of those things would be: Thailand won.</p><h1 class="heading" style="text-align:left;" id="where-else-did-i-consider">So did Thailand live up to my expectations?</h1><p class="paragraph" style="text-align:left;">In a word: <b>yes</b>. Thailand is great, and it was absolutely the right move while I was getting started with business, and still feels like a nice place to live. But there are some pros, neutral points, and cons you should be aware of when you move here, some of which have become more painful for me recently.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/fd85445e-b5a8-4ea5-94fb-05b966bda589/image.png?t=1742214030"/><div class="image__source"><span class="image__source_text"><p>Post hacking beers and spicy food at <a class="link" href="https://hackumvit.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=what-i-learned-after-a-year-of-living-in-thailand-as-a-solo-founder" target="_blank" rel="noopener noreferrer nofollow">https://hackumvit.com</a>, come join us in Bangkok</p></span></div></div><p class="paragraph" style="text-align:left;">Again, I should note that these items are unique to me, and you may have a very different set of pros/cons depending on your situation, but here they are:</p><p class="paragraph" style="text-align:left;">✅ <b>Great community of expats and bootstrapped founders</b>. This is what I really wanted moving to Thailand as these groups are less common in the US. Join <a class="link" href="https://hackumvit.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=what-i-learned-after-a-year-of-living-in-thailand-as-a-solo-founder" target="_blank" rel="noopener noreferrer nofollow">Hackumvit</a> if you want to meet some of them, I’m a member so you’ll meet me too.<br><br>✅ <b>Really nice and technologically advanced condos at reasonable prices</b>. I’m paying $1,000/month and my building has a sauna, steam room, rooftop pool with a full view of the skyline, 2 coworking spaces, gym, automated parking, and the list goes on. Security is really good with facial recognition + fingerprint scan. The same condo in a major American city like NYC or LA would be 5-10x the price or might not even exist with the same set of amenities. You can find apartments as cheap as $200/month here if you don’t need amenities and don’t care about being near public transit - good luck doing that in America!<br><br>✅ <b>Friendly local people</b>. I think the “land of smiles” thing is a bit fake, but people are really nice overall and society is a lot more cohesive and less individualistic than it is in the west.</p><p class="paragraph" style="text-align:left;">✅ <b>Lots to do</b> with ancient temples, plenty of great local food options (BKK is famous for street food), really good international food from pretty much every country around the world, and tons of outdoor activities. You can take a cheap plane flight to see islands with crystal clear water, go hike mountains, stay in BKK to experience city life, etc.</p><p class="paragraph" style="text-align:left;">✅ <b>Very safe</b>. I can walk anywhere in Bangkok any time of the night without needing to be too careful. I haven’t seen any kind of crime here and even the few homeless people I’ve seen in Bangkok act respectfully and don’t bother you.</p><p class="paragraph" style="text-align:left;">✅ <b>Public transit is overall very good and very convenient here and I use it a lot… but it has some flaws</b>. Don’t get me wrong, it’s certainly better than you’d find in 99% of the cities around the world and I like it overall, so I consider it a positive. It’s also significantly safer than the NYC subway - again, no crime or sketchy people. The main issue I have with it is that it doesn’t have the dense, truly extensive transportation network you’d find in somewhere like NYC or Tokyo, the fares are not flat rate so they add up quickly if you use the train a lot, and it’s relatively slow, so if you’re in a hurry or need to directly connect to your destination, it’s best to take a motorbike or chance it with a car and hope there’s no traffic. Note: The most popular train system here is called the BTS (Bangkok Sky Train) but I heard a local call it <b>B</b>e <b>T</b>here <b>S</b>lowly and I can’t say I disagree!</p><p class="paragraph" style="text-align:left;">⚠️ <b>Pollution is not great for ~4 months out of the year, especially outside of rainy season</b>. Most people who live here get an air purifier to help work around this which is a workable solution, but sometimes you just want to go outside and you can’t reasonably do that without killing your lungs because of the bad air quality. Then again, there are places in the US where it’s too damn cold to go outside for 4 months out of the year, so this is really a neutral point.</p><p class="paragraph" style="text-align:left;">⚠️ <b>Logistics is not quite as advanced or convenient as it is the US for certain items</b>. I’ve had a great experience with Grab which is the local version of DoorDash/Uber, but for certain retail items you will likely use Lazada, which is kind of like Amazon. While Lazada has a really cool app that has minigames and rewards for shopping, it’s a miss on the logistics side of things - it’s just a marketplace for sellers who each individually pack and ship items in most cases, so it’s easier to get scammed and end up with a fake product (you need to stick to “flagship” shops, and the algorithm won’t always recommend them to you). Shipping times are slightly slower, and I’ve also overall found returns to be a pain here - you need to upload pictures of the items, provide a written justification for the return, and drop off the package with a label. The seller can also choose to not refund you the full amount after all of that.</p><p class="paragraph" style="text-align:left;">⚠️ <b>Service at restaurants is not what I would call “attentive” on average</b>. For example, servers in restaurants here do not work for tips, so they’re not going to put in a lot of extra effort to make sure you like your meal. If there’s a mistake on the bill or something went wrong, they’ll address it - but in the US they’re usually overly apologetic and give you a free item to make up for the mistake or something like that because they’re worried about not getting a tip. That doesn’t happen here. You will also have to wave servers down to get the bill or get their attention which can take some time if it’s a busy restaurant. This system in Thailand is a better system overall as it means patrons don’t typically subsidize salaries for restaurant workers as is the case in the US, but it’s something to keep in mind. This is also negligible for Europeans who are already used to different service standards, but it might be more noticeable if you’re an American and particularly if you’ve been here a while. I personally don’t mind this that much but it’s worth pointing out.</p><p class="paragraph" style="text-align:left;">⚠️ <b>It’s a trap. </b>Living in Bangkok or really anywhere in Asia spoils you. The positives I mentioned are, well, really positive. Everything is clean, safe, nice, and cheap. Sounds great, right? Well, it is! But, in my experience, it’s deceptively easy to get “sucked in” here and just stay forever without making any real progress on business goals that you might care about. I certainly care about mine, and given that, it’s not a place that “pushes” me to succeed and hit those goals necessarily. More specifically, that’s mainly the cost of living. Seeing your bank account get drained is a great motivator and that’s just not happening here. I’m not going to list this as a completely negative thing, as some people are able to make it work anyway, but it doesn’t work for me where I’m at in life right now. This is still a place I’ll consider maybe 10-15 years from now when I have different priorities.</p><p class="paragraph" style="text-align:left;"><br>❌ <b>The language barrier here is a real struggle</b>, it gets tiring, and there are many times I miss being able to have nuanced or slightly more complex conversations with locals. While there are plenty of expats here who speak English and you won’t really have issues ordering food using broken Thai or even full English, the level of English for most locals here is pretty poor, which impacts everything from relationships (if you plan on dating locals - I tried and I had to end a past relationship over communication issues, it really did get in the way) to everyday transactions. For example, I recently had a repairman on my way to my condo, and I couldn’t properly communicate how to get there or what time he should come by, and I had no idea what he was saying on the phone as he didn’t speak any English. One or two of these interactions is not a big deal, but when it becomes regular it does get more frustrating. That said, learning Thai is definitely possible and I’ve picked up a bit of it, but as it’s a tonal language with a completely different character-set, it’s not anywhere near as easy as learning something like Spanish for a native English speaker. It takes more time and effort for sure — time that I don’t have while trying to run a business.</p><p class="paragraph" style="text-align:left;">❌ <b>Thailand is very far</b><i><b> </b></i><b>from all of my friends and family back in the US</b>. Flights back to the states are 24+ hours long assuming you don’t hit any delays, and it will absolutely wreck your sleep for a week every time you do one of these trips. This has been become more apparent recently as the last trip back was particularly brutal with the time change and various delays, and during that trip I realized I’d like to spend more time around my aging parent as well as old friends who I would like to see more often.</p><p class="paragraph" style="text-align:left;">❌ I like trading stocks sometimes (yes yes, I should just be investing in ETFs anyway, I get it), and <b>stock</b> <b>market hours are not convenient while living in Thailand</b>. I switched to a 100% ETF strategy while living here so I could completely disconnect from the market, because otherwise I’d have to start trading at 9 PM and end at 4 AM which is just not doable in any way.</p><p class="paragraph" style="text-align:left;">❌ I’m<b> burned out of the local food here</b>. It’s not that it isn’t delicious - it absolutely is. The problem is that I’ve learned that my gut doesn’t do well with extremely spicy food (which applies to most local food here), and I’ve also had issues with cleanliness standards: I’ve gotten food poisoning multiple times in the last year from eating at various restaurants in Bangkok. That kind of thing really doesn’t happen to me in the US, maybe because of more stringent food safety inspections.<br><br>❌ This is only a negative for me personally and it only showed up recently as I started making monthly recurring revenue: my most successful business so far, <a class="link" href="https://watchdog.chat?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=what-i-learned-after-a-year-of-living-in-thailand-as-a-solo-founder" target="_blank" rel="noopener noreferrer nofollow">Watchdog</a>, has most of its customers in the US and some in Europe. <b>I’m not giving my customers the fastest or best support I could be giving them because of the massive time difference and needing to start doing customer support at 9 PM my time if anyone happens to have questions</b> <b>(it’s usually a full ~12h difference for my US customers)</b>*. I’ve already lost out on sales because of this. As a more minor note, there are certain tradeshows and events I’d like to join (related to my ideal customers’ backgrounds) that are not available in Thailand or are inaccessible due to the language barrier. In NYC I’d have instant access to these kind of events which I expect to lead to better connections and business growth. Of course, I couldn’t have predicted the need for this before I figured out which business idea had some promise.</p><p class="paragraph" style="text-align:left;">*Yes, I could hire support staff in different timezones, but it’s not the right time to hire other people given the amount of revenue coming in, so that’s not an option right now. I’m really focused on supporting my initial set of customers myself so I can build the best product possible.</p><h1 class="heading" style="text-align:left;" id="conclusion-and-am-i-staying-or-what">Conclusion and “Am I staying or what?”</h1><p class="paragraph" style="text-align:left;">Well, the short answer is: I’m moving back to the USA.</p><div class="image"><img alt="" class="image__image" style="" src="https://images.unsplash.com/photo-1568515387631-8b650bbcdb90?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw3fHxueWN8ZW58MHx8fHwxNzQ0NTM2MTY4fDA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@eejermaine?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=what-i-learned-after-a-year-of-living-in-thailand-as-a-solo-founder" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Jermaine Ee on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">The cons above are important for me to address in the next few years, and those cons are best addressed from the US — specifically from NYC where I’m going to relocate back to.</p><p class="paragraph" style="text-align:left;">I should note that I don’t consider this to be a permanent-for-the-rest-of-my-life move back to the US necessarily. I liked Thailand so much that I could really see myself back here some day if some of the factors in my “cons” list changes, which is why I’ve decided to keep my residence visa active. Luckily there’s no stay requirement, so I can return whenever I want without worrying about staying a certain number of days.</p><p class="paragraph" style="text-align:left;">I’m also considering spending part of the year (basically the ~3 months when NYC is freezing cold) somewhere with a better timezone overlap like Mexico City or Miami. </p><p class="paragraph" style="text-align:left;">In the meantime, I have a few months remaining on my lease here in Thailand, and I plan to spend the last few months here winding down, waiting for a good deal on a flight ticket back to the states, doing some island exploring via motorbike, and continuing to work on my business.<br><br>That’s it, thanks so much for reading and hope you learned something!</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=9735e4fc-4868-4f93-be8f-d5425aa5bb33&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>How I automated setup and deployment for my apps with Terraform</title>
  <description>Plus a note on Tailscale as a VPN and why you should care as a solo founder</description>
      <enclosure url="https://images.unsplash.com/photo-1578589318433-39b5de440c3f?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw4fHxlYXJ0aHxlbnwwfHx8fDE3MzczOTkxMDd8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/how-i-automated-setup-and-deployment-for-my-apps-with-terraform</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/how-i-automated-setup-and-deployment-for-my-apps-with-terraform</guid>
  <pubDate>Tue, 28 Jan 2025 04:53:05 +0000</pubDate>
  <atom:published>2025-01-28T04:53:05Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="hey-there-allow-me-to-reintroduce-m">Hey there, allow me to re-introduce myself 👋</h1><p class="paragraph" style="text-align:left;">I’m Ben, a solo founder living in Thailand 🇹🇭 and originally hailing from the USA 🇺🇸. I quit my big tech job back in May 2023, and by July 2023 I had decided to embark on a journey of building profitable businesses on my own with a goal of getting to $10K MRR.</p><p class="paragraph" style="text-align:left;">And here we are in January 2025. I’m nowhere close to that $10K MRR goal yet, but I’m going to keep pushing until I get there!</p><p class="paragraph" style="text-align:left;">With that said, I decided recently that I wanted to fix a problem that had been nagging at me for a while: the pain of manually entering Cloudflare, AWS security settings for every single app I wanted to launch (or really just maintain) after <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/selfhost-app-2024-right-way?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" target="_blank" rel="noopener noreferrer nofollow">moving to self-hosting</a>.<br><br>This post will go into how you can set this up for your own business(es) and as the title says, as well as when and why you should care. </p><p class="paragraph" style="text-align:left;">If you liked this article, here’s a link to ☕️<a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" target="_blank" rel="noopener noreferrer nofollow"> buy me a coffee</a> and show your support!</p><h1 class="heading" style="text-align:left;" id="if-at-first-you-dont-succeed-try-tr">Terraform? What’s that?</h1><div class="image"><img alt="Confused Joe Biden GIF by CBS News" class="image__image" style="" src="https://media1.giphy.com/media/8v6Z3YyULB5Q0Skbac/giphy.gif?cid=2450ec30dz2ejt4y7sndkd6bj8y8ok6vsa6fd6lwfjki693t&ep=v1_gifs_search&rid=giphy.gif&ct=g"/><div class="image__source"><a class="image__source_link" href="https://www.cbsnews.com/live/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" rel="noopener" target="_blank"><span class="image__source_text"><p>Gif by cbsnews on Giphy</p></span></a></div></div><p class="paragraph" style="text-align:left;">If you haven’t heard of Terraform already, you can basically think of it as a tool that helps you automate configuration for services built by AWS, Cloudflare, Hetzner, or any other number of companies you might care about.<br><br>You might have also heard of “infrastructure as code” (IaC) tools - Terraform is indeed a tool that fits in this bucket.<br><br>The best way I can think of to describe what it is in more detail is to explain the “before” and “after” of using Terraform:<br><br><b>Before: </b><br>😩 Manually log into the AWS console<br>😫 Type in a bunch of details and click the “create” button on a new EC2 instance (This is a Virtual Machine for those that don’t use AWS)<br>😴 Wait for creation to complete which might take 5-10 mins<br>🤪 Inevitably get distracted and watch YouTube or something<br>🖥️ Copy and paste the IP address of the EC2 instance into an “A” record of your domain in Cloudflare (or whatever is managing your DNS) so your website resolves.</p><p class="paragraph" style="text-align:left;">Now repeat for <i>every single app, service, or website</i> you ever want to launch! Painful, right?</p><p class="paragraph" style="text-align:left;"><b>After:</b><br>🤓 Add (or update) an EC2 configuration file<br>🌎 Add (or update) a Cloudflare configuration file<br>✅ Run <code>terraform apply</code> </p><p class="paragraph" style="text-align:left;">Done!</p><h1 class="heading" style="text-align:left;" id="why-you-should-care-about-migrating">Why you should care about migrating to Terraform</h1><div class="image"><img alt="Munken hike, all the way up, got my eye on the magnificent rock layers. You can’t see the end of this peaks it was like being lost in a mountain maze, breathtaking feeling in Lofoten" class="image__image" style="" src="https://images.unsplash.com/photo-1534067783941-51c9c23ecefd?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw2fHxtb3VudGFpbnxlbnwwfHx8fDE3Mzc3MzE4NzR8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@itsgiyom?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Guillaume Briard on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">Let me first just say: are you at the beginning of your journey and just launching your first app? Ignore this post entirely and close the tab now.</p><p class="paragraph" style="text-align:left;">Terraform is only a useful tool if you find yourself doing the same things over and over (what I’ve described above in “before”) and you have more than a couple things to deploy.</p><p class="paragraph" style="text-align:left;">To that end: if you only have 1 app, you won’t need to repeat the above steps more than once. In this case, It’s not a good use of time to focus on automating this. Your focus instead should be on building a cool product that turns a profit.</p><p class="paragraph" style="text-align:left;"><b>On the other hand:</b></p><p class="paragraph" style="text-align:left;">😳 Do you maintain 3+ different apps?</p><p class="paragraph" style="text-align:left;">🛠️ Or do you have one app with more than a couple services as components or dependencies that you find yourself needing to update once in a while? </p><p class="paragraph" style="text-align:left;">👫 Multiple teammates working on your product? </p><p class="paragraph" style="text-align:left;">📈 Starting to scale and worried about disaster recovery? </p><p class="paragraph" style="text-align:left;"><b>→ You should pay attention to the rest of this post.</b></p><h1 class="heading" style="text-align:left;" id="when-should-i-care">Disaster recovery you say?</h1><div class="image"><img alt="Twister" class="image__image" style="" src="https://images.unsplash.com/photo-1527482797697-8795b05a13fe?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw2fHxkaXNhc3RlcnxlbnwwfHx8fDE3Mzc3MzE4OTN8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@nikolasnoonan?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Nikolas Noonan on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">Yes. There are a few disaster scenarios where Terraform <i>really</i> comes in handy:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">You or someone on your team accidentally deletes some resources in AWS. You can run <code>terraform apply</code> to recreate everything in one command.</p></li></ol><ol start="2"><li><p class="paragraph" style="text-align:left;">You’ve accidentally bricked your VM by running some commands you shouldn’t have (<code>sudo rm -rf /</code> anyone? Note: don’t actually run this of course 😅) and frantically need to re-create it before customers start yelling.<br></p></li><li><p class="paragraph" style="text-align:left;">Your hosting provider goes out of business and you need to quickly set things up just like you had them on your old provider without making any mistakes.</p></li></ol><p class="paragraph" style="text-align:left;">I’ve personally run into the second situation (not with a <code>rm</code> command, but something to that effect) already and was very glad I had just set up Terraform when it happened.</p><p class="paragraph" style="text-align:left;">As a part of self-hosting, there’s a good chance you will also need to recreate your VPS at least once! Everyone makes mistakes.</p><h1 class="heading" style="text-align:left;" id="show-us-the-code">Show us the code!</h1><p class="paragraph" style="text-align:left;">Ok. I’m done yapping, here’s exactly how I have my apps set up in Terraform.</p><p class="paragraph" style="text-align:left;">Let’s start with the directory structure that I recommend and drill into each key file to explain how it all works:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/9faf494e-1083-4ffd-8195-0b127f87b4f3/image.png?t=1737401898"/><div class="image__source"><span class="image__source_text"><p>My actual “infra” repository with all of my terraform config inside.</p></span></div></div><p class="paragraph" style="text-align:left;">There are a lot of files here, so let’s just cover the critical ones, starting with EC2. Here’s how I have my VM set up which hosts all of my apps:</p><div class="codeblock"><pre><code>resource &quot;aws_instance&quot; &quot;servername_ec2_instance&quot; &#123;
  tags = &#123;
    Name = &quot;servername-ec2-instance&quot;
  &#125;

  instance_type = &quot;t4g.medium&quot; # arm64 instance with 2C, 4GB RAM
  ami           = &quot;ami-...&quot; # Redacted ID - this points to Debian 12
  subnet_id     = data.aws_subnet.us_east_1a.id
  key_name      = &quot;ben-laptop-ec2-key-pair&quot; # I defined this in AWS manually. There&#39;s probably Terraform config you can set up for this but I haven&#39;t bothered yet.

  root_block_device &#123;
    volume_type = &quot;gp3&quot;
    volume_size = 30 # GB
  &#125;

  associate_public_ip_address = true

  vpc_security_group_ids = [
    aws_security_group.allow_ssh_ingress.id,
    aws_security_group.allow_http_ingress.id,
    aws_security_group.allow_all_traffic_egress.id
  ]

  user_data = templatefile(&quot;scripts/init.tpl&quot;, &#123;
    docker_registry_host                    = var.docker_registry_host
    docker_registry_username                = var.docker_registry_username
    docker_registry_access_token            = var.docker_registry_access_token
    vector_sink_config_url                  = var.vector_sink_config_url
    atgatt_backend_api_config               = var.atgatt_backend_api_config
    atgatt_backend_migrator_config          = var.atgatt_backend_migrator_config
    unblock_domains_backend_api_config      = var.unblock_domains_backend_api_config
    unblock_domains_backend_monitor_config  = var.unblock_domains_backend_monitor_config
    unblock_domains_backend_migrator_config = var.unblock_domains_backend_migrator_config
    watchdog_backend_api_config             = var.watchdog_backend_api_config
    watchdog_backend_bot_config             = var.watchdog_backend_bot_config
    watchdog_backend_migrator_config        = var.watchdog_backend_migrator_config
  &#125;)
  user_data_replace_on_change = false

  # Honestly not sure what this does, but without it AWS console shows a warning and Google told me to add this to resolve it, which it did.
  metadata_options &#123;
    http_tokens = &quot;required&quot;
  &#125;

  lifecycle &#123;
    ignore_changes = [ user_data ]
  &#125;
&#125;

output &quot;servername_ec2_instance_public_ip&quot; &#123;
  value = aws_instance.servername_ec2_instance.public_ip
&#125;</code></pre></div><p class="paragraph" style="text-align:left;">Most of this should be self-explanatory. First, I set the name, type, and operating system of the EC2 instance and make sure the disk is big enough for what I’m trying to do.<br><br>The sections I want to cover in more detail are the <code>user_data</code> section as this is key to automating instance setup, <code>vpc_security_group_ids</code> as this is a big part of how the instance is kept secure, as well as the <code>output</code> .<br><br>First, let’s cover <code>user_data</code>. The fast explanation for this confusingly named file is that it’s AWS’ way of letting you define a script that runs whenever the instance is created and boots up for the first time.</p><p class="paragraph" style="text-align:left;">Notice that I’m passing several <b>variables</b> to this script as it’s merely a template that gets substituted with real values when terraform runs. Variables are defined in Terraform (usually in a <code>variables.tf</code> file) like so:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bd9f0088-6f2b-4157-8bfa-d58457bb4c3e/image.png?t=1737404858"/><div class="image__source"><span class="image__source_text"><p>Note the use of sensitive = true. You’ll want to set this for anything like a password or access token to prevent the value from getting logged and leaked.</p></span></div></div><p class="paragraph" style="text-align:left;">The cool part about this is that you can simply set an environment variable prefixed with <code>TF_VAR_</code>, in this case <code>TF_VAR_docker_registry_access_token</code> , and Terraform will magically substitute the value of this variable with the environment variable value. This makes it possible to run Terraform in an automated fashion in CI environments, for example.</p><p class="paragraph" style="text-align:left;">Now let’s see how I have my <code>user_data</code> script defined. I’ve included comments so you can understand what’s going on, and notice I reference <b>variables</b> by using ${var_name}:</p><div class="codeblock"><pre><code>#!/bin/bash

# Ensure latest updates are installed
apt-get update -y
apt-get upgrade -y

# Install essential packages. Fail2ban bans unauthorized logins after a certain number of attempts, useful to prevent bots from attempting to exploit your SSH process.

# Telnet is nice if you need to verify a host is reachable as sometimes hosts block ping requests despite being online.
apt-get install -y telnet fail2ban

# Install Dokku via official install script
echo &#39;Installing Dokku...&#39;
wget -NP . https://dokku.com/install/v0.35.15/bootstrap.sh
sudo DOKKU_TAG=v0.35.15 bash bootstrap.sh

# Add SSH keys to Dokku so our dev machine + github actions can run Dokku commands
echo &#39;Done installing Dokku. Adding SSH keys...&#39;
echo &#39;ssh-ed25519 AAAAC...publickey1goeshere ben-laptop&#39; | dokku ssh-keys:add ben-laptop
echo &#39;ssh-ed25519 AAAAC...publickey2goeshere github-actions&#39; | dokku ssh-keys:add github-actions

echo &#39;Done adding SSH keys. Configuring vector for logging globally...&#39;
dokku logs:vector-start
wget -O /var/lib/dokku/data/logs/vector.json $&#123;vector_sink_config_url&#125;

# This is how I configure logging globally for all apps on my VPS. For more details, see https://betterstack.com/docs/logs/dokku/
echo &#39;Done configuring vector. Authenticating with Docker registry...&#39;
dokku registry:login $&#123;docker_registry_host&#125; $&#123;docker_registry_username&#125; $&#123;docker_registry_access_token&#125;

echo &#39;Done authenticating with the registry. Creating and deploying apps...&#39;

# Configure ATGATT. Some explanation here: Dokku has a nice feature where you can just execute `dokku config:set KEY1=VAL1 KEY2=VAL2... 
# So I just have a giant string with all of my sensitive app config as an environment variable.
dokku apps:create atgatt-backend-api
dokku domains:set atgatt-backend-api api.atgatt.co
dokku config:set atgatt-backend-api --no-restart $&#123;atgatt_backend_api_config&#125;
# This is where I tell Dokku to deploy the app with the `latest` version of the image. This is powerful as my apps will automatically spin up using the latest version if this node ever gets recreated. 
dokku git:from-image atgatt-backend-api ghcr.io/mockernut-ventures/atgatt-backend-api:latest

dokku apps:create atgatt-backend-migrator
dokku config:set atgatt-backend-migrator --no-restart $&#123;atgatt_backend_migrator_config&#125;
dokku git:from-image atgatt-backend-migrator ghcr.io/mockernut-ventures/atgatt-backend-migrator:latest

# Configure Unblock Domains
dokku apps:create unblock-domains-backend-api
dokku domains:set unblock-domains-backend-api api.unblock.domains
dokku config:set unblock-domains-backend-api --no-restart $&#123;unblock_domains_backend_api_config&#125;
dokku git:from-image unblock-domains-backend-api ghcr.io/mockernut-ventures/unblock-domains-backend-api:latest

dokku apps:create unblock-domains-backend-monitor
dokku config:set unblock-domains-backend-monitor --no-restart $&#123;unblock_domains_backend_monitor_config&#125;
dokku git:from-image unblock-domains-backend-monitor ghcr.io/mockernut-ventures/unblock-domains-backend-monitor:latest

dokku apps:create unblock-domains-backend-migrator
dokku config:set unblock-domains-backend-migrator --no-restart $&#123;unblock_domains_backend_migrator_config&#125;
dokku git:from-image unblock-domains-backend-migrator ghcr.io/mockernut-ventures/unblock-domains-backend-migrator:latest

# Configure Watchdog
dokku network:create watchdog-backend-network

dokku apps:create REDACTED-DEPENDENCY
dokku proxy:disable REDACTED-DEPENDENCY
dokku checks:disable REDACTED-DEPENDENCY
dokku network:set REDACTED-DEPENDENCY attach-post-create watchdog-backend-network
dokku docker-options:add REDACTED-DEPENDENCY deploy &quot;-p 8726:8726&quot;
dokku git:from-image REDACTED-DEPENDENCY REDACTED-DEPENDENCY:v0.1.2

dokku apps:create watchdog-backend-api
dokku domains:set watchdog-backend-api api.watchdog.chat
dokku config:set watchdog-backend-api --no-restart $&#123;watchdog_backend_api_config&#125;
dokku git:from-image watchdog-backend-api ghcr.io/mockernut-ventures/watchdog-backend-api:latest

dokku apps:create watchdog-backend-bot
dokku domains:set watchdog-backend-bot api-bot.watchdog.chat
dokku network:set watchdog-backend-bot attach-post-create watchdog-backend-network
dokku checks:set watchdog-backend-bot wait-to-retire 2
dokku config:set watchdog-backend-bot --no-restart $&#123;watchdog_backend_bot_config&#125;
dokku git:from-image watchdog-backend-bot ghcr.io/mockernut-ventures/watchdog-backend-bot:latest

dokku apps:create watchdog-backend-migrator
dokku config:set watchdog-backend-migrator --no-restart $&#123;watchdog_backend_migrator_config&#125;
dokku git:from-image watchdog-backend-migrator ghcr.io/mockernut-ventures/watchdog-backend-migrator:latest

# Finalize installation and reboot if needed (because of Kernel updates or whatever else got installed)
if [ -f /var/run/reboot-required ]; then
    echo &#39;Done, but reboot is required. Rebooting in 30 seconds to finish installing updates...&#39;
    sleep 30
    systemctl reboot
else
    echo &#39;Done and no reboot is required. Install finished.&#39;
fi</code></pre></div><p class="paragraph" style="text-align:left;">Now that we’ve covered automating setup of a virtual machine and configuring apps to run with Dokku, let’s cover the security settings as there are some interesting things to note here:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/185ad7df-b7ef-454f-ae04-f60b205b6f23/image.png?t=1737406191"/><div class="image__source"><span class="image__source_text"><p>Here’s an example of how I have my HTTP traffic security group configured. Note that I only allow known-safe Cloudflare IPs to hit port 80 on my VPS. </p></span></div></div><p class="paragraph" style="text-align:left;">The purpose of this configuration is to prevent unauthorized traffic from bypassing Cloudflare. If you’re wondering how I determine which IPs to whitelist, I use Terraform’s <code>data</code> block and <code>http</code> provider to automatically fetch these IPs from Cloudflare directly. Here’s how this works:<br><br>I define a <code>data</code> block in <code>data.tf</code> like this:</p><div class="codeblock"><pre><code>data &quot;http&quot; &quot;cloudflare_ips_api&quot; &#123;
  url = &quot;https://api.cloudflare.com/client/v4/ips&quot;
  
  request_headers = &#123;
    &quot;Accept&quot; = &quot;application/json&quot;
  &#125;
&#125;</code></pre></div><p class="paragraph" style="text-align:left;">Then when I run <code>terraform apply</code> , Terraform will automatically make a HTTP request to this URL and save the response for further processing.<br><br>In my <code>locals.tf</code>, which is where you should process and persist things like this, I then parse the response into an appropriate format using <code>jsondecode</code>:</p><div class="codeblock"><pre><code>locals &#123;
  cloudflare_ip_ranges_resp = jsondecode(data.http.cloudflare_ips_api.response_body)
  cloudflare_ipv4_ranges = local.cloudflare_ip_ranges_resp.result.ipv4_cidrs
  cloudflare_ipv6_ranges = local.cloudflare_ip_ranges_resp.result.ipv6_cidrs

  allowed_ssh_ipv4_ranges = [] # To temporarily allow all traffic, change to: [&quot;0.0.0.0/0&quot;]
  allowed_ssh_ipv6_ranges = [] # To temporarily allow all traffic, change to: [&quot;::/0&quot;]

  allowed_postgres_ipv4_ranges = concat(var.work_ipv4_ranges, [&quot;$&#123;aws_instance.myserver_ec2_instance.public_ip&#125;/32&quot;])
  allowed_postgres_ipv6_ranges = concat(var.work_ipv6_ranges, aws_instance.myserver_ec2_instance.ipv6_addresses)
&#125;</code></pre></div><p class="paragraph" style="text-align:left;">There are a few things that are quite powerful about this file. The first is that I never have to manually whitelist a cloudflare IP, as cloudflare’s API is used. </p><p class="paragraph" style="text-align:left;">Whenever I want to refresh the current list of IPs, I just run <code>terraform apply</code> and it’ll pull in any changes. I could even start running <code>terraform apply</code> on a schedule or in response to an event to catch changes in a completely automated fashion!<br><br>The second is the “allowed_postgres_ipv4_ranges” line: this makes sure that every time my EC2 instance (that we’ve configured above) changes or gets recreated, the latest <b>public_ip</b> is always pulled. </p><p class="paragraph" style="text-align:left;">Here’s what’s great about this: if the IP changes, <b>Terraform will automatically perform an update</b> on the postgres resource’s firewall (not shown in this post, but defined in <code>aiven_pg.tf</code>). It will also update all of my Cloudflare A records to point to the new server IP.</p><p class="paragraph" style="text-align:left;">No more manually updating IP whitelists to include my own server!</p><h1 class="heading" style="text-align:left;" id="but-wait-zero-allowed-ssh-ipv-46-ra">But wait, zero allowed SSH ipv4/6 ranges?!</h1><div class="image"><img alt="Think Stephen Colbert GIF by The Late Show With Stephen Colbert" class="image__image" style="" src="https://media0.giphy.com/media/3o7TKTDn976rzVgky4/giphy.gif?cid=2450ec30semwvpm9vjnr2fx5364zsokislmz965ejcw9kwmx&ep=v1_gifs_search&rid=giphy.gif&ct=g"/><div class="image__source"><a class="image__source_link" href="https://www.youtube.com/watch?v=cUMMwg1WOec&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" rel="noopener" target="_blank"><span class="image__source_text"><p>Gif by colbertlateshow on Giphy</p></span></a></div></div><p class="paragraph" style="text-align:left;">If you have a sharp eye, you might have noticed that my SSH whitelist is completely empty.</p><p class="paragraph" style="text-align:left;">In fact, leaving the SSH port open is a common mistake many people make when setting up a server for the first time, but if you ever do this you’ll have bots hitting your server within minutes of it coming online. </p><p class="paragraph" style="text-align:left;">These bots tend to try “admin” “postgres” and other such usernames and brute force passwords (which is why you should disable password auth) to see if they can gain access.</p><p class="paragraph" style="text-align:left;">So blocking SSH entirely is of course quite secure, but it’s a double edged sword as normally, this would mean that I would never be able to SSH into my host when I needed to.</p><h1 class="heading" style="text-align:left;" id="so-whats-the-secret">So what’s the secret?</h1><p id="its-called-tailscale-tailscale-acts" class="paragraph" style="text-align:left;"><br>It’s called <a class="link" href="https://tailscale.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" target="_blank" rel="noopener noreferrer nofollow">Tailscale</a>. Tailscale acts as a VPN, but unlike a traditional VPN it does not require a <a class="link" href="https://en.wikipedia.org/wiki/Bastion_host?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" target="_blank" rel="noopener noreferrer nofollow">separate Bastion host</a>. If you’d like to understand more about how this works, it’s out of scope of this post, but <a class="link" href="https://tailscale.com/blog/how-tailscale-works?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" target="_blank" rel="noopener noreferrer nofollow">click here to read the official how-it-works blog</a>.<br><br>I haven’t included Tailscale in my Terraform config yet, but I have an item on my TODO list to add it. When I get around to it, I’ll simply add this script to my <code>user_data</code> which I’ve manually run on my VPS for now:<br><br><code>tailscale up --ssh --hostname=&lt;my-server-name&gt; --auth-key=&lt;my-tailscale-key&gt;</code></p><p class="paragraph" style="text-align:left;">This command starts Tailscale’s SSH daemon, which then allows you to access SSH even on a closed port just by running <code>ssh youruser@host</code> — no credentials required! </p><p class="paragraph" style="text-align:left;">You do need to install Tailscale on your dev machine for this to work, but it’s very worth an extra app install to not have to have an open SSH port.</p><p class="paragraph" style="text-align:left;">Note that even with Tailscale installed, I like to leave the <code>allowed_ssh_ipv*_ranges</code> locals around. This way, if the Tailscale daemon crashes or there’s some other emergency scenario, I’ll just add my IP to that local variable, which will then allow me to access the host using the traditional SSH server (bypassing Tailscale).</p><h1 class="heading" style="text-align:left;" id="what-happens-if-my-resources-alread">What happens if my resources already exist? How do I migrate to Terraform?</h1><div class="image"><img alt="" class="image__image" style="" src="https://images.unsplash.com/photo-1520792532857-293bd046307a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxfHxtaWdyYXRlfGVufDB8fHx8MTczODAzOTUwNXww&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@7bbbailey?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Barth Bailey on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">One other issue you might be thinking about is how to migrate existing resources that you’ve manually created to Terraform.<br><br>The short answer is: it depends on where they come from.<br>Cloudflare? <a class="link" href="https://github.com/cloudflare/cf-terraforming?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" target="_blank" rel="noopener noreferrer nofollow">https://github.com/cloudflare/cf-terraforming</a> helps automate this.</p><p class="paragraph" style="text-align:left;">Here’s the command you’ll need to run to import DNS records:</p><div class="codeblock"><pre><code>cf-terraforming -e yourcloudflare@email.com -t &quot;&lt;cloudflare_api_token&gt;&quot; -z &lt;zone_id&gt; --resource-type &quot;cloudflare_record&quot; --modern-import-block import &gt;&gt; cloudflare_records_yoursite.tf &amp;&amp; cf-terraforming -e yourcloudflare@email.com -t &quot;&lt;cloudflare_api_token&gt;&quot; -z &lt;zone_id&gt; --resource-type &quot;cloudflare_record&quot; --modern-import-block generate &gt;&gt; cloudflare_records_yoursite.tf</code></pre></div><p class="paragraph" style="text-align:left;">Then once the file is generated, you might notice that resources are named weirdly, like “terraform_managed_resource_abc1234….” You should rename all of these for clarity. Here’s a prompt to feed to a LLM to make this process faster:</p><div class="codeblock"><pre><code>Rename all autogenerated terraform_managed_resource_* resources to be more reasonable i.e. mysite_api_A_record for the A record for api. Also replace the zone_id for all records with cloudflare_zone.mysite_zone.id.</code></pre></div><h1 class="heading" style="text-align:left;" id="what-about-non-cloudflare-resources">What about non-Cloudflare resources?</h1><p class="paragraph" style="text-align:left;">AWS and pretty much everything else? <a class="link" href="https://github.com/GoogleCloudPlatform/terraformer?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" target="_blank" rel="noopener noreferrer nofollow">https://github.com/GoogleCloudPlatform/terraformer</a> is the way to go.<br><br>You can also accomplish this manually, by defining an import block:</p><div class="codeblock"><pre><code>import &#123;
  to = aws_instance.example
  id = &quot;i-abcd1234&quot; # Find the ID of the resource from AWS first
&#125;

resource &quot;aws_instance&quot; &quot;example&quot; &#123;
  name = &quot;your-instance-name&quot;
  # (other resource arguments...)
&#125;</code></pre></div><p class="paragraph" style="text-align:left;">Then, just run <code>terraform apply</code> and wait for the resources to be imported. Once they’re imported, you can remove the <code>import</code> blocks (or leave them) as they’re no longer needed (terraform adds these resources to the .tfstate file found in your working directory once an import succeeds)</p><p class="paragraph" style="text-align:left;">One piece of advice: don’t try to import everything at once. It’ll be a lot of work and you’ll get demotivated fast. Instead, migrate the most critical pieces first:</p><ul><li><p class="paragraph" style="text-align:left;">VPS</p></li><li><p class="paragraph" style="text-align:left;">Database</p></li><li><p class="paragraph" style="text-align:left;">DNS</p></li></ul><p class="paragraph" style="text-align:left;">Then migrate everything else over time on an as-needed basis.</p><h1 class="heading" style="text-align:left;" id="conclusion">Conclusion</h1><p class="paragraph" style="text-align:left;">I hope you got some value out of this post and learned how easy it is to automate infrastructure deployment with Terraform! It’s what I use for my apps and it has already saved me countless times.</p><p class="paragraph" style="text-align:left;"><span style="background-color:#fffa00;"><b>I put a lot of research into this, so if you find some value out of what I’ve written here, here’s a link to ☕️</b></span><span style="background-color:#fffa00;"><a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-i-automated-setup-and-deployment-for-my-apps-with-terraform" target="_blank" rel="noopener noreferrer nofollow"><b> buy me a coffee</b></a></span><span style="background-color:#fffa00;"><b> and show your support!</b></span><br><br>Thanks so much for reading either way.</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=62d90e37-d0f4-48a0-9bb7-9887e2d2bab5&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>How and why you should move from Lemon Squeezy to Stripe</title>
  <description>And why you&#39;re wasting your time and money with a Merchant of Record (MoR) solution as a B2B SaaS founder</description>
      <enclosure url="https://images.unsplash.com/photo-1526304640581-d334cdbbf45e?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxfHxtb25leXxlbnwwfHx8fDE3MzQzMzg3MjZ8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/how-and-why-you-should-move-from-lemon-squeezy-to-stripe</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/how-and-why-you-should-move-from-lemon-squeezy-to-stripe</guid>
  <pubDate>Wed, 18 Dec 2024 12:50:54 +0000</pubDate>
  <atom:published>2024-12-18T12:50:54Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"><span style="font-size:0.8rem;">Disclosure: This post contains affiliate links, meaning I get a commission if you decide to make a purchase through my links, at no cost to you.</span></p><h1 class="heading" style="text-align:left;" id="hey-there-allow-me-to-reintroduce-m">Hey there, allow me to (re)introduce myself 👋</h1><p class="paragraph" style="text-align:left;">I’m <a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">Ben</a>, a solo founder living in Thailand 🇹🇭 and originally hailing from the USA 🇺🇸. I quit my big tech job back in May 2023, and by July 2023 I had decided to <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/month-1-beginning?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">embark on a journey of building profitable businesses</a> on my own with a goal of getting to $10K MRR.</p><p class="paragraph" style="text-align:left;">Starting in July, I launched several businesses, all using Lemon Squeezy as the payment processor. I’m happy to say that after 7 months and 7 launches, <a class="link" href="https://watchdog.chat?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">Watchdog</a> started doing consistent monthly revenue that has been growing at a healthy rate each month.</p><p class="paragraph" style="text-align:left;">And here we are in December 2024. I’m nowhere close to that $10K MRR goal yet, but I’m going to keep pushing until I get there.</p><p class="paragraph" style="text-align:left;">With that said, I decided recently that I wanted and needed to stop using Lemon Squeezy as my payment processor (or any other merchant of record solution / “MoR”) <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/month-2-power-winwin-idea-sales-tax-struggles?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">after being a huge proponent of them in month 2 of my journey</a>. I bet you’re asking:</p><div class="image"><img alt="Y GIF" class="image__image" style="" src="https://media3.giphy.com/media/gxSc4hTA9QhsFagSbs/giphy.gif?cid=2450ec3098b0ogwtfekvkyb0hcln16ts576pd8qh2r5xwpk9&ep=v1_gifs_search&rid=giphy.gif&ct=g"/><div class="image__source"><span class="image__source_text"><p>Thanks Obama.</p></span></div></div><h1 class="heading" style="text-align:left;" id="if-at-first-you-dont-succeed-try-tr">Why would you do such a thing?!</h1><p class="paragraph" style="text-align:left;"><b>Disclaimer: The information contained in this post is provided for informational purposes only, and should not be construed as </b><i><b>legal or financial advice</b></i><b> on any subject matter.</b></p><p class="paragraph" style="text-align:left;">The short answer is that my original line of thinking for using Lemon Squeezy (and really, any MoR) was flawed, primarily based around sales tax compliance, and I was doing too much planning for situations that may never occur or will only occur many years down the road. That was dumb.</p><div class="image"><img alt="Dont Be Stupid Gordon Ramsay GIF by First We Feast" class="image__image" style="" src="https://media3.giphy.com/media/fFmYy3YhxP2ksvyy2H/giphy.gif?cid=2450ec30az48glbjm4e9y093i1q8pml5v6vl4v9u16d1xyc0&ep=v1_gifs_search&rid=giphy.gif&ct=g"/><div class="image__source"><a class="image__source_link" href="https://www.youtube.com/watch?v=GJlNvSC5v6s&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" rel="noopener" target="_blank"><span class="image__source_text"><p>Listen to my good friend Gordon and avoid my mistakes.</p></span></a></div></div><p class="paragraph" style="text-align:left;">That said, to expand on why I consider this a mistake a bit more, my main concerns and reasons for <b>not</b> using Stripe back in month two of my journey were related to sales tax aches and pains:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">I didn’t know what kind of product would be the most successful for me, so I was trying to plan for the worst case scenario of a B2C app taking off and immediately owing tons of tax in different countries (again, a mistake to over-plan for this type of event). Instead, it turned out that my most successful product would be a B2B SaaS product where sales tax does not apply in most countries.</p></li><li><p class="paragraph" style="text-align:left;">At the time, Stripe did not have a way to mark the VAT number - necessary to show that a transaction is B2B and therefore applicable to reverse charge rules in most countries - as a required field at checkout. Now they do.</p></li><li><p class="paragraph" style="text-align:left;">I was wrong about sales in the UK being subject to sales tax with no threshold where I would be responsible for remitting the tax immediately. This kind of thing does not apply to B2B transactions, similar to many other countries in the EU.</p></li></ol><p class="paragraph" style="text-align:left;">Overall, while sales tax rules can be quite complex globally - and different countries enforce them in different ways - these pains <b>mostly</b> exist for those building B2C apps, which I am not involved with and not what this blog post is about.</p><p class="paragraph" style="text-align:left;">As I alluded to above, B2B apps often fall under “reverse charge” rules where the supplier (you, as the business owner) are not liable to remit sales tax in most EU countries where you’d actually expect to get sales. And in the United States, roughly 50% of the states do not consider B2B SaaS transactions taxable at all.</p><p class="paragraph" style="text-align:left;">The other US states do, but have high sales tax thresholds in the $100K-500K of sales range typically - meaning you’d need to do $100K-$500K of sales in a <b><i>single US state to customers living in that state</i></b> to be liable for tax in that state. </p><p class="paragraph" style="text-align:left;">When I get to that point of having so many customers that I’m exceeding these thresholds, I’ll solve that problem. Stripe will even tell me when I’m about to exceed some thresholds so I can register for sales tax. But it’s not a good use of time to solve it now. I need to be marketing, building things customers are asking for, and so on.<br><br>I’d argue that even if you have a B2C app, it’s still not a particularly worthwhile problem to tackle immediately. The focus should be on acquiring customers, listening to what they want, and building whatever that is for them.<br><br>To put this another way: if you’re a new business owner and your revenue is $1/month, is the government in <b>Zimbabwe </b>🇿🇼 really going to spend the time, money, and effort going after you for whatever percentage of $1 in tax revenue?</p><p class="paragraph" style="text-align:left;"><b>No, of course not. </b>Don’t try to solve this problem on day 1. Worry about this when you’re approaching $1M ARR, at which point you can certainly afford to hire a CPA to handle global tax compliance for you, which will also almost certainly be cheaper than whatever price a MoR will charge you.</p><h1 class="heading" style="text-align:left;" id="so-whats-right-and-wrong-with-lemon">So what’s right (and wrong) with Lemon Squeezy and Stripe?</h1><p class="paragraph" style="text-align:left;">Let’s enumerate the major pros and cons of Lemon Squeezy. I feel confident in these pros and cons having used LS as my only payment processor for a year now, but I’d imagine many of the same pros and cons apply to other MoRs such as Paddle, Gumroad, etc:</p><p class="paragraph" style="text-align:left;"><b>Pros:</b><br>✅<span style="text-decoration:line-through;"> Global sales tax compliance</span> <i>But if you’re doing B2B SaaS and/or especially if you’re a new business owner, you shouldn’t be overly concerned about this as I explained above</i><br>✅ Integrated affiliate program with a landing page, onboarding, and dashboard included<br>✅ Automated cart recovery<br>✅ Available in more countries than Stripe <i>(you should only care if Stripe doesn’t support your country and/or local regulations make it more difficult — usually applies to founders in India, Germany, Panama, etc.)</i><br><br><b>Cons:</b><br>❌ Showstopping bugs, no visibility into low level card or customer details when bugs happen, and slow support 😅<br>❌ High fees, <a class="link" href="https://saasfeecalc.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">almost double what Stripe charges</a> on average<br>❌ Poor interop with other tools, nothing like Stripe’s <a class="link" href="https://marketplace.stripe.com/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">extensive app marketplace</a><br>❌ Their hosted checkout is <b>~25% slower</b> <b>to render</b> than Stripe’s and I’ll prove it<br>❌ You will hit Sales tax thresholds <i>faster</i> than you would selling directly to customers (I’ll explain why this is problematic below)<br>❌ Slow payouts every two weeks. But in practice, you might only get paid out monthly (I’ll explain). Stripe pays out daily.<br><br>For Stripe, the pros and cons are mostly just the inverse of the above, but it does have one extra feature I like a lot that isn’t available on Lemon Squeezy:</p><div class="image"><a class="image__link" href="https://climate.stripe.com/fbjwE4?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" rel="noopener" target="_blank"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/78b69af0-1a3d-41d7-b31c-9616121ee61d/image.png?t=1734519601"/></a><div class="image__source"><span class="image__source_text"><p>Watchdog’s Stripe Climate landing page</p></span></div></div><p class="paragraph" style="text-align:left;">🌲 <a class="link" href="https://climate.stripe.com/fbjwE4?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow"><b>Stripe Climate</b></a>: this takes an extra ~0.5-1.5% of your revenue (you get to select how much to donate), but it’s for a good cause, a cool looking climate badge shows up on your checkout page, and you get a <b>free 90+ DR do-follow backlink</b> from Stripe since the bottom of the Climate page links back to your website.<br><br>Now let’s <i>delve</i> (jk, I’m not a LLM) further into the cons for Lemon Squeezy, shall we?</p><p class="paragraph" style="text-align:left;">Note: I won’t re-cover the fee and interop points since you can just click the links above to see what I mean, but I will cover everything else.</p><h1 class="heading" style="text-align:left;" id="so-whats-wrong-with-lemon-squeezy">Con #1: Slow Checkout Performance 🐢</h1><p class="paragraph" style="text-align:left;">Here’s Lemon Squeezy:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/950a02d4-a024-48a8-b563-49dc5a2f6ed9/Screenshot_2024-12-18_at_12.21.11_AM.png?t=1734456872"/><div class="image__source"><span class="image__source_text"><p>Load time for Lemon Squeezy’s hosted checkout for the Launch plan on <a class="link" href="https://watchdog.chat?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">https://watchdog.chat</a> as tested by Pingdom’s Washington, D.C. location.</p></span></div></div><p class="paragraph" style="text-align:left;">And here’s <b>Stripe 🏆</b>:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c505cc45-cb54-4b27-ae8b-05122fb0beae/Screenshot_2024-12-18_at_12.21.27_AM.png?t=1734456923"/><div class="image__source"><span class="image__source_text"><p>Load time for the competition: Stripe’s hosted checkout for the Launch plan on <a class="link" href="https://watchdog.chat?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">https://watchdog.chat</a> as tested by Pingdom’s Washington, D.C. location.</p></span></div></div><p class="paragraph" style="text-align:left;">As you can see, Stripe’s page does <b>~3x fewer web requests</b> and has a <b>~25% faster load time</b>. Interestingly, it manages this despite having a ~3x larger page size of 4.4MB. </p><p class="paragraph" style="text-align:left;">Overall, I expect Stripe’s noticeable performance advantage and more familiar checkout UX to <a class="link" href="https://www.cloudflare.com/learning/performance/more/website-performance-conversion-rates/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">lead to higher conversions</a> over time. More importantly though, how about those show stopping bugs?</p><h1 class="heading" style="text-align:left;" id="con-2-showstopping-bugs">Con #2: Showstopping Bugs 🐛</h1><p class="paragraph" style="text-align:left;">Here are the two most major issues I encountered while using Lemon Squeezy for a year. Both involved failed payments and lost revenue:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">I created some products in Lemon Squeezy’s “test mode” before doing the usual thing of hitting the button to copy the products to production mode:<br><br><b>Everything worked in test, so I hit the “copy to production” button. Famous last words, right?</b> Let’s just say when people started placing orders in prod, things did not work:<br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1ff37b9b-1a6f-49e7-9dc0-04bda3e82cdd/image.png?t=1734458027"/><div class="image__source"><span class="image__source_text"><p>What a helpful failure reason. It’s also [Unknown] why I didn’t switch payment processors at this point 🥴</p></span></div></div><p class="paragraph" style="text-align:left;"><br>As it turned out, the LS team had shipped a bug that involved copied products having corrupt Stripe price IDs or something like that, which then caused checkouts to fail. </p><p class="paragraph" style="text-align:left;"><br>This was when I first discovered that Lemon Squeezy was using Stripe behind the scenes, because the error message displayed to me mentioned a price ID of <code>price_1234ABC...</code> and some other Stripe-specific terminology.<br><br>By the way, don’t take after LS’ example here: never display internal system details to a user like that.<br><br>Anyway, LS fixed the problem shortly after this, but it took some back and forth on their Slack workspace to get them to pay attention to it. Seemed like some seriously sloppy testing on their part to not catch this before deploying to real users.</p><p class="paragraph" style="text-align:left;"><br>I’m more forgiving for products that don’t relate to serious payment or legal concerns, but for a payment processor? This kind of bug is not acceptable.<br></p></li><li><p class="paragraph" style="text-align:left;">I noticed that one of my oldest customers had a <b>repeatedly failing payment</b> for this month’s subscription renewal:<br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/85b76141-664f-4cce-9a45-37759f9c2adb/image.png?t=1734459142"/><div class="image__source"><span class="image__source_text"><p>This is literally all the info that the Lemon Squeezy dashboard gives me about failed transactions. <br><br>When I tap on the notification, it just shows the list of orders with a “failed” tag next to each one that failed with no further detail. Unhelpful to say the least.</p></span></div></div><p class="paragraph" style="text-align:left;"><br><br>So I reached out to the customer thinking it was just a case of an expired credit card. Well, nope, his card details were apparently just <b>gone</b>:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3dfb7140-7d28-4e66-b668-ff7e7865540a/image.png?t=1734458741"/><div class="image__source"><span class="image__source_text"><p>As you might imagine, it’s quite scary to hear that your customer’s payment details have magically disappeared out of thin air. Poof. 💨</p></span></div></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><br>Of course, I immediately sent an <code>Urgent: customer credit card details deleted</code> email to Lemon Squeezy. I followed up on social media after I didn’t get a reply after 12h, and then again at 24h and eventually had to tag the CEO of Lemon Squeezy <a class="link" href="https://x.com/ben_makes_stuff/status/1866514081970286843?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">and the CEO of Stripe</a> to get someone to pay attention quickly.<br><br>They then reset something on their end, I confirmed that the customer’s credit card magically reappeared, and shortly after that, the payment was processed without an issue.<br><br>But, I wasn’t impressed with the relatively slow response and lack of ETA provided when I reached out to support. More critically, this issue also made me realize that the generic “failed payment” notification that shows up in the LS dashboard is not enough for me to understand what’s happening.<br><br>I realized that I needed low level access to transaction data (card info, charge rejection reasons, etc.) that only Stripe can provide in order to debug efficiently without needing to involve an external support team as I had to do here.</p></li></ol><h1 class="heading" style="text-align:left;" id="ok-but-how-about-some-of-the-positi">Con #3: Sales tax thresholds getting hit faster 😅</h1><p class="paragraph" style="text-align:left;">See, there’s this funny thing about MoRs, including Lemon Squeezy. Most of them work by using a payment processor behind the scenes like Stripe, and as such they tend to lump all of their customers into one <i>single</i> Stripe account.<br><br>I can’t say if Lemon Squeezy does this or not since I don’t have access to their code, but it’s typically why MoR companies are so picky about who they onboard and why their onboarding needs to be so stringent: one “bad apple” merchant selling a scam product can cause their entire set of merchants to get deactivated along with them.<br><br>More importantly, this also has a negative effect for you as a normal business owner. As you might be able to imagine, companies that have multiple customers “sharing” one account at a payment processor end up showing <b>a lot</b> of revenue on paper.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/95b600ca-5d16-448f-85e0-e70b928f27de/image.png?t=1734461858"/><div class="image__source"><span class="image__source_text"><p>A recent invoice that one of my customers paid on Lemon Squeezy with sales tax included. I would have never had to charge him sales tax had I sold him the product directly, because I wasn’t over the sales tax threshold in his country on my own.</p></span></div></div><p class="paragraph" style="text-align:left;">That relatively high, $100,000+ threshold for having to remit sales tax in the US for example? That gets hit a lot faster when you have “noisy neighbors” doing $50,000 MRR even though you’re only at $50 MRR on your own, for example.</p><p class="paragraph" style="text-align:left;">As the above screenshot shows, customers buying a product through a MoR will often see an extra line item on their bill for sales tax, which can then disappoint people into leaving the page just as they’re getting ready to pull the trigger and purchase your product for the first time.</p><p class="paragraph" style="text-align:left;">Of course, your customers going to see that line item eventually anyway when you start doing serious revenue and exceed sales tax thresholds on your own, therefore triggering Stripe Tax, but you might as well delay that as long as possible.</p><h1 class="heading" style="text-align:left;" id="con-4-slow-payouts">Con #4: Slow payouts 🏦</h1><p class="paragraph" style="text-align:left;">This one is pretty clear.</p><p class="paragraph" style="text-align:left;">Lemon Squeezy is only able to pay out every two weeks, but <b>realistically you’ll only get paid once per month</b> when you’re getting started.</p><p class="paragraph" style="text-align:left;">Why? Lemon Squeezy has a two week period for each payment to clear, which will then exceed the first payout deadline for the month - which again means you’re only going to get paid out once per month in practice until you’re doing at least a few hundred bucks of MRR.<br><br>Not great. On the other hand, Stripe pays out fast for everyone: on a daily basis, except for your very first payment. </p><p class="paragraph" style="text-align:left;">⭐️ Tip: if you sign up with my <a class="link" href="https://onboarding.novo.co/signup?referral_code=BenjaminKatz2&first_name=Benjamin&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">favorite business bank, Novo</a> (← affiliate link), there’s a unique Stripe benefit where they pay you out <i>instantly, for free</i> depending on how much balance is available in your Stripe account:</p><div class="image"><a class="image__link" href="https://onboarding.novo.co/signup?referral_code=BenjaminKatz2&first_name=Benjamin&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" rel="noopener" target="_blank"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/50aede39-4a7e-4e06-b23d-7c1a151905b0/image.png?t=1734579716"/></a><div class="image__source"><span class="image__source_text"><p>An explainer of how the Stripe Boost feature works from Novo.</p></span></div></div><h1 class="heading" style="text-align:left;" id="time-to-move">Time to Move</h1><p class="paragraph" style="text-align:left;">Once I decided that the benefits of using a MoR weren’t offsetting the downsides involved anymore, I started researching how I would go about replacing Lemon Squeezy.<br><br>The first thing I did is attempt to find replacements for the three features I knew I’d need to migrate from Lemon Squeezy:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Affiliate marketing integration:</b></p><p class="paragraph" style="text-align:left;">Lemon Squeezy’s affiliate program is quite nice. It includes a landing page, an onboarding form (i.e. to qualify leads with how much traffic they have), and a dashboard to manage affiliates.<br></p><p class="paragraph" style="text-align:left;">I only have a handful of affiliates right now, so I couldn’t justify the cost of most paid affiliate programs to replace it. I only found two promising options with good free tiers, and only one of them actually worked:</p></li></ol><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.promotekit.com?via=ben&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">PromoteKit</a> ✅ (← affiliate link; 3 referred customers for free, then $29/mo) </p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/fba2b46f-d441-4a6f-9f79-06f244ce7215/image.png?t=1734466687"/><div class="image__source"><span class="image__source_text"><p>The PromoteKit Dashboard</p></span></div></div><ul><li><p class="paragraph" style="text-align:left;">I found PromoteKit with the help of ChatGPT. Sleek dashboard, nice and simple UX, mass payouts supported, and their tracking script worked without any issues. Winner winner chicken dinner, despite the strict limits on number of customers referred on the free plan.</p></li><li><p class="paragraph" style="text-align:left;">I first integrated PromoteKit’s tracking script with my landing page, then I created a simple form with YouForm to create <a class="link" href="https://watchdog.chat/onboarding/affiliate/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">an onboarding experience</a> that gates people from becoming affiliates if I reject their submissions. This replaces Lemon Squeezy’s onboarding experience since PromoteKit’s free tier doesn’t include an onboarding page (their paid plan does). I only send people an invite through PromoteKit after I’ve reviewed their submission.</p></li><li><p class="paragraph" style="text-align:left;">I emailed all of my affiliates to tell them to use the new affiliate program instead of Lemon Squeezy. Since PromoteKit supports the same URL format that LS does and affiliates are able to customize their URL, they didn’t have to make any changes to the links they’ve already shared </p></li></ul></li></ul><ul><li><p class="paragraph" style="text-align:left;">TrackDesk (free tier without mass payouts and $1K/mo in affiliate rev, then $67/mo)</p><ul><li><p class="paragraph" style="text-align:left;">Their dashboard had a sloppy UX, and more importantly the product was fully broken, at least for me. </p></li><li><p class="paragraph" style="text-align:left;">I added their tracking script to my website, no errors appeared in the console, yet clicks were not being recorded even with a disabled ad blocker. I gave up after debugging for a bit. Wasn’t about to unminify their JS to get this working.</p></li><li><p class="paragraph" style="text-align:left;">They then spammed me with “got time for a quick call???” emails and I wrote them off completely.</p></li><li><p class="paragraph" style="text-align:left;">⚠️ Another negative: they don’t support mass payouts on their free tier, so you’d have to manually pay affiliates out. Would be very annoying to have to do this with multiple people to pay out.</p></li></ul></li></ul><p class="paragraph" style="text-align:left;">2.<b> Automated cart recovery:</b><br><br>I didn’t bother replacing this right now because I looked at my last year of payments, and while cart recovery triggered a few times and emails were sent, it never actually recovered any carts. So it’s not the most critical thing to replace right now.<br><br>The <a class="link" href="https://docs.stripe.com/payments/checkout/abandoned-carts?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">Stripe recommendation</a> is to simply consume their <code>checkout.session.expired</code> webhook and send an email via SES or whatever your email provider of choice is, so I’ll prioritize that for later if I see a lot of abandoned checkouts over the next few months.</p><p class="paragraph" style="text-align:left;">3.<b> Webhooks:</b></p><p class="paragraph" style="text-align:left;">Ok, so both Stripe and Lemon Squeezy include a webhook integration. However, Stripe’s is significantly different than Lemon Squeezy’s and arguably a bit more complex.</p><p class="paragraph" style="text-align:left;">Here’s a code sample I found which explains how to properly implement Stripe webhooks in your backend application:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/85428674-e0ea-4d1a-9bd4-5b8fd1f8d8ba/image.png?t=1734520428"/><div class="image__source"><span class="image__source_text"><p>Code is credit to <a class="link" href="https://x.com/miguelsarenas?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">https://x.com/miguelsarenas</a>. I haven’t tested this code directly as I write my backend code in Golang and not JavaScript, but found it to be a helpful explainer for different checkout states you might need to account for.</p></span></div></div><h1 class="heading" style="text-align:left;" id="the-dreaded-payment-data-migration">The dreaded payment data migration 😰</h1><p class="paragraph" style="text-align:left;">This part took the longest (really, only a few days) because I was waiting on email replies and the process is slightly involved, but was overall easier than expected.</p><p class="paragraph" style="text-align:left;">Just as a note: there’s misinformation out there saying that it’s an impossible process, you can’t transfer customer payment details, only customer emails will be transferred, etc - I can confirm none of that is true because I’ve just gone through the process.</p><p class="paragraph" style="text-align:left;">It’s very possible to transfer customer details <b>and</b> associated payment instruments because Lemon Squeezy is using Stripe behind the scenes, so they effectively export data from one Stripe account to another using built-in tooling in Stripe when they get one of these requests.</p><p class="paragraph" style="text-align:left;">The migration process involves several steps:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Set up a Stripe account and switch all of your links on your website from Lemon Squeezy to Stripe</b>. This is important to do first as it allows new customers to use Stripe while old ones remain on Lemon Squeezy, and it avoids you having to do the migration to Stripe multiple times in case new customers sign up while you’re mid-migration.<br><br>First, create your <i>Products</i>, and associate one or more <i>Prices</i> to the product. Note: Prices are the same concept as Lemon Squeezy <i>Variants. </i><br><br>Then create a Payment Link for each <i>Price. </i></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f46de320-85ab-49b8-a82d-237f36bbc6f0/image.png?t=1734523673"/><div class="image__source"><span class="image__source_text"><p>Here’s how my payment links are set up. The “Name” is just an internal name that isn’t shown to customers.</p></span></div></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Each payment link will have a URL that will look like this provided you’re using Stripe’s hosted checkout on the Stripe domain: <a class="link" href="https://buy.stripe.com/aEU7uJ6xS2BG1WMaEH?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">https://buy.stripe.com/aEU7uJ6xS2BG1WMaEH</a><br><br>Next, make sure to set up the Customer Portal by enabling it in Settings → Billing in Stripe:<br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/a436f4f6-c5fb-4ce1-97d3-b8422b342016/image.png?t=1734523822"/><div class="image__source"><span class="image__source_text"><p>Note the “Customer portal link.”</p></span></div></div><p class="paragraph" style="text-align:left;"><br>You should now replace your Lemon Squeezy billing portal links (For example, billing portal links starting with: <a class="link" href="http://yourstore.lemonsqueezy.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">yourstore.lemonsqueezy.com</a>) with the above <i>Customer Portal Link.</i><br></p></li><li><p class="paragraph" style="text-align:left;"><b>Contact Lemon Squeezy</b> with your Stripe account ID (destination) and ask them to copy over all of the customer data and payment info from your existing Lemon Squeezy store (source). Here’s an email template you can copy and paste to accomplish this:</p></li></ol><div class="codeblock"><pre><code>Hello, I&#39;d like to copy all of my customer + payment details to my Stripe account as I am migrating from Lemon Squeezy to Stripe.

I&#39;m currently following the guide here as recommended by Stripe support: https://docs.stripe.com/get-started/data-migrations/pan-copy-self-serve

Here&#39;s the information you should need to get this going:

Lemon Squeezy store (source): https://yourstore.lemonsqueezy.com/
Stripe account ID (destination): acct_YourAccountIDGoesHere
Stripe account Name (destination): Your Account Name Goes Here

Please copy all customer *and* payment data as I will need to resubscribe all of my customers using their existing payment instruments without their intervention.

Additionally: please send me a 1-1 mapping of each customer to their most recent payment method so I can recreate subscriptions using the right payment method selected.

I will need you all to initiate this process on your end as I can only approve the data to be copied once you&#39;ve initiated it.

Thank you,
YOUR NAME</code></pre></div><ol start="2"><li><p class="paragraph" style="text-align:left;"><b>Then, once Lemon Squeezy gets back to you, log into Stripe and hit “accept”</b> on the notification telling you that you have a data import pending:</p></li></ol><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/b7af9bef-b3cf-4408-a7d1-9a592617da6e/image.png?t=1734516694"/><div class="image__source"><span class="image__source_text"><p>What the Customers page looks like after Lemon Squeezy initiates the export from their account to yours. Note the “Lemon Squeezy App” notification at the top.</p></span></div></div><ol start="3"><li><p class="paragraph" style="text-align:left;"><b>(Optional, if you’re selling subscriptions) Recreate all subscriptions and schedule them to start on the right dates,</b> <b>then cancel the old Lemon Squeezy subscriptions</b> <b>to avoid double charges.</b><br><br><span style="background-color:#ffef00;">⭐️ Tip: if you have a lot of customers to migrate, say 100+ subscriptions, then it’s worth it to use Stripe’s CSV import tool instead of using the Stripe UI to create Subscriptions. Check out </span><span style="background-color:#ffef00;"><a class="link" href="https://docs.stripe.com/billing/subscriptions/import-subscriptions-toolkit?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">the documentation for that tool here</a></span><span style="background-color:#ffef00;">.</span><br><br>First, head over to the “Create Subscription” UI under Subscriptions. <b>Make sure you pay attention to customers that have already paid for the month</b> (have them start next month on whichever day-of-month they signed up initially) vs. ones that have not (have them start this month instead):</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/e87b3072-5fe9-4a49-bfd6-3b32592b8dba/image.png?t=1734521578"/><div class="image__source"><span class="image__source_text"><p>Here’s where you select the customer and the duration (you will only need to set the start date)</p></span></div></div><p class="paragraph" style="text-align:left;"><br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/aec2126d-3935-4b56-949d-b1ae61365d43/image.png?t=1734521754"/><div class="image__source"><span class="image__source_text"><p>On the same screen, make sure to select the last card that the customer used under subscription settings. Remember, this mapping is in the file Lemon Squeezy sent you.</p></span></div></div><p class="paragraph" style="text-align:left;"><br><br>Here’s a subset of my subscriptions after I completed the migration process so you can see roughly what it looks like:<br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/71054422-2b04-4397-b270-f4087dd60713/image.png?t=1734521524"/><div class="image__source"><span class="image__source_text"><p>You will have to click “Scheduled” to see upcoming Subscriptions as they won’t show up by default.</p></span></div></div><p class="paragraph" style="text-align:left;"><br>Now that you’ve scheduled all your subscriptions in Stripe, the last step is to cancel the old subscriptions in Lemon Squeezy to prevent your customers from getting double charged on their renewal date. <br><br>Very simple, just log into LS and hit cancel next to each subscription, or use their <a class="link" href="https://docs.lemonsqueezy.com/api/subscriptions/cancel-subscription?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow">cancel subscription API</a> if you have a lot of customers. <br><br>When you’re done with this, double check that all Subscriptions in Lemon Squeezy show <code>Cancelled</code>:<br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/87b75b13-8751-45fc-ae8a-f3618f60d156/image.png?t=1734524099"/></div><p class="paragraph" style="text-align:left;"><br>If so, you’re all done!</p></li></ol><h1 class="heading" style="text-align:left;" id="hey-there">Conclusion: Just use Stripe ✅</h1><p class="paragraph" style="text-align:left;">I wish I had used Stripe from the beginning, but “better late than never” applies to moving payment processors, and if you’re considering it: the best time to move is now, before your customer count increases. These things get exponentially painful as you acquire more customers after all.<br><br>I hope this guide helped you move your account from Lemon Squeezy (or another MoR, it should be a similar process) to Stripe and/or that you can avoid some of my mistakes. </p><p class="paragraph" style="text-align:left;"><b>If you enjoyed the post, </b><a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-and-why-you-should-move-from-lemon-squeezy-to-stripe" target="_blank" rel="noopener noreferrer nofollow"><b>click here to Buy Me a Coffee</b></a><b>. Your support really does motivate me to continue to write.</b><br><br>Either way, happy Stripe-ing!</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=761a12a7-1e1e-4a8a-b234-c4283692a0fe&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>How to self-host your app, the right way</title>
  <description>And where I&#39;ve been for the past several months</description>
      <enclosure url="https://images.unsplash.com/flagged/photo-1579274216947-86eaa4b00475?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwzfHxzZXJ2ZXJ8ZW58MHx8fHwxNzI0NjIyNDU3fDA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/selfhost-app-2024-right-way</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/selfhost-app-2024-right-way</guid>
  <pubDate>Sun, 25 Aug 2024 21:57:36 +0000</pubDate>
  <atom:published>2024-08-25T21:57:36Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="hey-there-been-a-minute">Hey there, been a minute 👋</h1><p class="paragraph" style="text-align:left;">It’s been a while since my last blog post! If you’re an old subscriber you might remember that during my first blog post I said I’d build 12 startups in 12 months… and then I just kind of disappeared around month 7.</p><p class="paragraph" style="text-align:left;">I bet you’re sitting here expecting some kind of elaborate explanation in terms of why I was gone, but the reality is that around month 7 I had a couple of my ideas start to make some money so I decided to focus on them. </p><p class="paragraph" style="text-align:left;">The “12 startups in 12 months” thing isn’t meant to be taken literally: you build new ideas until something starts to show some promise, then you focus. Which is what I did.</p><p class="paragraph" style="text-align:left;">I also got a bit burned out of blogging. I’ve decided I’m going to keep blogging, but only when I feel like there’s something truly interesting to share related to my journey of building startups. <br><br>This month, I do have something interesting to share: a “buyers guide” and how-to on self-hosting!<br><br>And it’s going to be a long one because I put a lot of research into this, so if you find some value out of what I’ve written here:<br><br>Here’s a link to ☕️<a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" target="_blank" rel="noopener noreferrer nofollow"> buy me a coffee</a> and show your support!</p><p class="paragraph" style="text-align:left;"></p><h1 class="heading" style="text-align:left;" id="if-at-first-you-dont-succeed-try-tr">Self-hosting? What’s that all about now?</h1><p class="paragraph" style="text-align:left;">This month’s post is all about self-hosting for people building software startups, otherwise known as the “cloud exit,” cancelling your Vercel account and buying a low cost VPS instead, or whatever else you’d like to call it.</p><p class="paragraph" style="text-align:left;">The general idea behind this is that if you’re a self-hoster, you deploy and maintain your own apps without the “help” of certain products that attempt to do that for you.<br><br>Now let’s go through some objections I hear a lot:</p><p class="paragraph" style="text-align:left;"><b>“Why would you want to do that? Vercel/AWS/etc are all fine and helped me scale quickly.”</b> <br><br>Because products that supposedly “help” you often hurt you in the long run: once you start to achieve any degree of scale, you can end up with surprise bills from the likes of Vercel, AWS, or any other company that has usage-based pricing.</p><p class="paragraph" style="text-align:left;">Just to give you an example, my AWS bill is expected to be <b>over $80 this month</b> just to host two simple apps:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/2578314d-e299-4d96-8d68-16a5cadf8a92/image.png?t=1724604127"/><div class="image__source"><span class="image__source_text"><p>My real AWS bill for this month. I’m not using anything crazy, just standard EC2, Lambda, and Postgres on RDS. Turns out Bezos’ yacht doesn’t run itself.</p></span></div></div><p class="paragraph" style="text-align:left;">That’s insane considering neither of my apps get any significant amount of traffic at this point and I’m using some of the cheapest virtual machines available on the platform.<br><br>Compare that to Hetzner who offers a powerful virtual private server (VPS) with 2 Cores and 4 GB RAM for a grand total of <b>3.85 EUR/month</b> 🤑</p><p class="paragraph" style="text-align:left;">When the alternative is that cheap, AWS is a ripoff unless you have unlimited VC money or credits to burn.<br><br><b>“Ok, makes sense - but self-hosting is too hard and I don’t have time!”</b></p><p class="paragraph" style="text-align:left;">You might think that, but it’s total nonsense. There’s this myth that self-hosting requires an entire operations team to help you, it’s too much work, or any other number of excuses.</p><p class="paragraph" style="text-align:left;">The reality is that with a cheap VPS provider and the right technology choices, you absolutely can and should deploy your own apps with very minimal ongoing maintenance, and I’ll show you how to do it the right way in this post.<br><br><b>“But I have cloud credits to spend anyway.”</b></p><p class="paragraph" style="text-align:left;">Cool, then spend them! I’m not trying to tell you to spend unnecessary money, so milk AWS and Vercel for all they’re worth. Then come back to this post when you’re ready to spend your own money.<br><br>Now that I’ve handled all of your objections, read on to understand how to do this - as I said, the right way.</p><p class="paragraph" style="text-align:left;">As you might realize already, this isn’t going to be one of those blog posts where the conclusion says that “tHe SoLuTiOn DePeNdS oN yOuR uSe CaSe” - nope, I have strong opinions about this and I think there’s a good way to go about it for most people and well, here it is.</p><h1 class="heading" style="text-align:left;" id="pivoting-httpssimpleotpcom-into-a-m">Some assumptions</h1><div class="image"><img alt="" class="image__image" style="" src="https://images.unsplash.com/photo-1570989493662-5c646b42f4a5?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxfHxhc3N1bWV8ZW58MHx8fHwxNzI0NjIyMzc3fDA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@polarmermaid?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Anne Nygård on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">Let’s start with some assumptions about the type of people who will definitely find my method of self-hosting useful. <br><br>You’ll probably find value out of this if you’re a solo founder or a small team and:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">You have existing app(s) deployed somewhere like AWS or Vercel and hate your monthly bills.</p></li><li><p class="paragraph" style="text-align:left;">Or you’re just starting out and don’t want to get shafted by usage-based pricing at any point.</p></li><li><p class="paragraph" style="text-align:left;">Or you just like doing things yourself.</p></li></ol><p class="paragraph" style="text-align:left;">I’m a little of box 1 and box 3 myself. No shame if you’re just box 3! <br><br>You should also have an app (or be planning on building one) that has some sort of web API that is deployed via Docker.<br><br>You should also know how to run bash commands and create files. If you don’t know, ask ChatGPT how to do it.</p><p class="paragraph" style="text-align:left;">Finally, if you’re doing something crazy with GPUs or you’re building the next Google, you will have further considerations that I won’t cover here - and if you think you’re the next Google, you need your head checked anyway.</p><h1 class="heading" style="text-align:left;" id="but-do-we-have-to-100-selfhost-ever">But do we have to 100% self-host everything?</h1><div class="image"><img alt="Lamp Magic" class="image__image" style="" src="https://images.unsplash.com/photo-1531379410502-63bfe8cdaf6f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw0fHxxdWVzdGlvbnxlbnwwfHx8fDE3MjQ2MDk3NTJ8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@juniorferreir_?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Júnior Ferreira on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">Ok, this is all about DIY and self-hosting, but I have to admit something upfront: while you could do absolutely everything yourself - and I used to do that myself with PHP + Apache in 2009 - these days I’m convinced that self-hosting particularly as a solo developer is made much easier and maintainable over the long run by solutions that are halfway in between 100% DIY and a full-blown Kubernetes Cluster.</p><p class="paragraph" style="text-align:left;">The latter <b>does</b> require an operations team to manage especially at a high degree of scale, and that’s not what you want. <br><br>The former won’t be as crazy, but you will still have to spend time doing research on which reverse proxy you want to use (nginx vs. caddy vs. traefik vs. any number of other solutions), how to set up logging, how to integrate with CI, limiting the disk space that your logs can use, how to make sure apps automatically restart when the host/process dies, picking a linux distro, and generally manually configuring things when you could be building apps.</p><p class="paragraph" style="text-align:left;">With that said, I think most people should use an open-source, minimal, self-hosted “platform as a service” - otherwise known as a PaaS - to help alleviate some of the above config and maintenance burden. This is the middle ground solution that I’m referring to above.</p><p class="paragraph" style="text-align:left;">What’s a self-hosted PaaS? Think Heroku, AWS Elastic Beanstalk, or Google App Engine, but you host it yourself. If that sounds complex, it’s really not so bad. I’ll show you how to set it up below.<br><br>For your database if you have one, keep it simple and use SQLite unless you have a reason to use Postgres like I do. For the purposes of this blog post though, I’m assuming SQLite and no external dependencies for data storage.</p><h1 class="heading" style="text-align:left;" id="but-first-some-requirements">But first, some requirements.</h1><p class="paragraph" style="text-align:left;">Now, let’s think through requirements for open-source PaaS software that can help us with our self-hosting goals. <br><br>These are the requirements I had in mind as I evaluated vendors as someone who has been deploying software professionally for over 10 years, and I think you should borrow these for your own app too:<br><br>0️⃣ <b>Zero downtime deployments</b><br><br>This means when you deploy your API for example, outstanding HTTP requests can finish executing without being abruptly cut off. Failing requests = sad customers 😢 - think of the customers and keep uptime to a maximum!<br><br>🤖 <b>Some way of automatically managing app processes running on a single host</b><br><br>Critically, when you deploy a new version of the app, traffic should be automatically and cleanly routed to the new app. You should also be able to increase or decrease the number of processes of each app.<br><br>Single-host deployments need to be supported, meaning you can deploy multiple apps to one beefy VPS without any hacks or compromises.</p><p class="paragraph" style="text-align:left;">🏎️ <b>Very low resource consumption (absolutely zero at idle)</b> <b>and very few or zero dependencies by default.</b><br><br>Some dependencies might be okay, like Docker and SSH. Those are things most people already have installed so they’re not a big deal.<br><br>But this is not rocket science! We don’t need to add a Postgres server, Redis instance, a websocket server, Kubernetes, or anything fancy just to deploy an app to a host.<br><br>Besides, adding dependencies opens you up for security vulnerabilities and maintenance headaches (someone needs to keep your dependencies up-to-date, and now that responsibility is on you)<br><br>✅ <b>Well-tested, clearly documented, proven software that has been around for several years or more</b><br><br>Most times when I break this rule and try something “new and shiny” because it sounds cool I regret it. “New and shiny” usually means poorly documented and full of time-wasting gotchas with very few exceptions.</p><p class="paragraph" style="text-align:left;">As a very important bonus, stuff that has been around a while will be indexed by OpenAI and Anthropic - so you can find help by asking ChatGPT if you get stuck. It’s a huge productivity boost and like having your very own customer support agent/expert in the room with you.</p><p class="paragraph" style="text-align:left;">😌 <b>Sane defaults and excellent ease of use through simple commands + CI integration</b><br><br>The PaaS we choose should “just work” and not require us to do too much complex configuration to get an app deployed. It should be usable in a CI pipeline.<br><br>Commands for managing apps should be able to be done through SSH or through a standard bash command. This is key because scripting and automation becomes much more possible when you can perform maintenance using commands instead of UI button clicks. A UI is a nice to have and not required.<br><br>Overall, it should be resilient to failure (survives node restarts, app restarts, etc), get out of our way, and do what it’s supposed to do.</p><h1 class="heading" style="text-align:left;" id="but-do-we-have-to-100-selfhost-ever">Self-hosted PaaS Options</h1><p class="paragraph" style="text-align:left;">Browse X or do a few Google searches, and you’ll find a lot of different options that claim to help you with the above requirements:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Kamal</b>: new software, first released in 2023 and built by the 37signals team behind Ruby on Rails and Basecamp.</p></li><li><p class="paragraph" style="text-align:left;"><b>Dokku</b>: first release way back in 2014! Originally released as an alternative to Heroku and now has a lot of modern features including deployment of Docker containers.</p></li><li><p class="paragraph" style="text-align:left;"><b>Caprover</b>: first release was in 2017. I see this as somewhat similar to Dokku, but with more of a focus on managing things through a UI.</p></li><li><p class="paragraph" style="text-align:left;"><b>Coolify</b>: first released in 2021 and built by <a class="link" href="https://x.com/heyandras?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" target="_blank" rel="noopener noreferrer nofollow">a solo founder named Andras</a> who seems like a nice guy.</p></li><li><p class="paragraph" style="text-align:left;"><b>K3s</b>: first released in 2019, a “lightweight” version of Kubernetes that is meant to be run on resource-constrained environments. Originally developed by Rancher Labs and now seems to be a product of SuSE?</p></li></ol><p class="paragraph" style="text-align:left;">At this point, you’re probably thinking: “wow, that’s a lot of different options - overwhelming” </p><p class="paragraph" style="text-align:left;">Good thing I tested every single one of these for you so you don’t have to! </p><p class="paragraph" style="text-align:left;">It goes without saying that none of the authors of any of these tools paid me a dime to do this analysis and I have nothing to sell you related to any of these.<br><br>So, if you appreciate this kind of thing and want to show your support, here’s a link to<a class="link" href="https://buymeacoffee.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" target="_blank" rel="noopener noreferrer nofollow"> buy me a coffee</a>. I massively appreciate it!<br><br>With that out of the way: it’s time to get to the test results! But first, some setup notes…</p><h1 class="heading" style="text-align:left;" id="test-machine-specs">Test machine specs</h1><div class="image"><img alt="" class="image__image" style="" src="https://images.unsplash.com/flagged/photo-1579274216947-86eaa4b00475?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwzfHxzZXJ2ZXJ8ZW58MHx8fHwxNzI0NjIyNDU3fDA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@wildmax?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" rel="noopener" target="_blank"><span class="image__source_text"><p>Photo by Massimo Botturi on Unsplash</p></span></a></div></div><p class="paragraph" style="text-align:left;">For testing, I used several identical VPS nodes with the following setup with one PaaS deployed to each:</p><ul><li><p class="paragraph" style="text-align:left;">Host: Amazon Web Services</p></li><li><p class="paragraph" style="text-align:left;">Region: <code>us-east-1</code></p></li><li><p class="paragraph" style="text-align:left;">EC2 Instance type: <code>t4g.medium</code></p><ul><li><p class="paragraph" style="text-align:left;">2 vCPUs (arm64)</p></li><li><p class="paragraph" style="text-align:left;">4 GB RAM</p></li><li><p class="paragraph" style="text-align:left;">30 GB Storage</p></li></ul></li><li><p class="paragraph" style="text-align:left;">OS: Debian 12</p></li><li><p class="paragraph" style="text-align:left;">Networking: IPv4 + IPv6 (dual stack)</p></li><li><p class="paragraph" style="text-align:left;">Port speed: 5 GB/s</p></li></ul><p class="paragraph" style="text-align:left;">These are pretty much the kind of specs I’d recommend in production as well, although I would not use AWS for obvious reasons. Production specs will be covered in more detail after the test results below.</p><h1 class="heading" style="text-align:left;" id="the-test-results">The test results</h1><p class="paragraph" style="text-align:left;">Well then, how did all of these different PaaS apps perform?<br>I’ll just come out and say it: I cannot recommend 4 out of the 5 in good faith.<br><br>Here are the results:<br><br><b>Coolify</b></p><p class="paragraph" style="text-align:left;">Coolify has a nice looking marketing page and seemed like it was worth a test. I did a fresh install as recommended by the docs<span style="text-decoration:line-through;">,</span><span style="text-decoration:line-through;"><b> </b></span><span style="text-decoration:line-through;">then rebooted to see how it would handle a node restart. </span><br><br><span style="text-decoration:line-through;">Well, it didn’t:</span><br><br><b>NOTE: as of 9/3/24, @heyandras let me know this problem has been resolved (thanks Andras for fixing it!):</b><br><a class="link" href="https://x.com/heyandras/status/1830689101873328617?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" target="_blank" rel="noopener noreferrer nofollow"><b>https://x.com/heyandras/status/1830689101873328617</b></a></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/23c67ab3-99b6-417c-83cb-e1982aec4de7/image.png?t=1724612706"/><div class="image__source"><span class="image__source_text"><p>The nice error message I was greeted with after rebooting. It’s apparently fixed now, thanks Andras!</p></span></div></div><p class="paragraph" style="text-align:left;">Then I noticed more errors in the logs when trying to understand what was going on:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bc71b87c-5c9f-4653-b4b8-74fdc2202f3b/image.png?t=1724613253"/><div class="image__source"><span class="image__source_text"><p>Did the author write this healthcheck properly? “I am alive!” is considered an error response?</p></span></div></div><p class="paragraph" style="text-align:left;"><br>Also, I really, really, <i>really</i> was not a fan of all of the bloat it installed on the server after a fresh install with nothing running. See here:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0510ef06-a9bd-4f6a-b8cf-99f007422445/image.png?t=1724612786"/><div class="image__source"><span class="image__source_text"><p>PHP and Redis and Websockets and random containers oh my 😬</p></span></div></div><p class="paragraph" style="text-align:left;">That’s over 10% of your RAM gone for no reason at all, plus a few percentage points of CPU utilization that shouldn’t be there.</p><p class="paragraph" style="text-align:left;">I say “gone for no reason at all” because you don’t need any of this stuff to deploy an app to a server, I promise.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/86f72ec2-dbd1-4a8c-9d90-5995f70e14c0/image.png?t=1724612984"/><div class="image__source"><span class="image__source_text"><p>Here are some of the docker images it uses as dependencies including a 2 year old version of Postgres that is in need of an update. See what I mean about maintenance headaches when you add dependencies?</p></span></div></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">To be clear, these extra dependencies is probably why Coolify’s docs “don’t recommend” installing Coolify on the same server the apps run on.</p><p class="paragraph" style="text-align:left;">But that solution is really not ideal either - now I have to run Coolify on my local machine, pay for Coolify Cloud, or buy two VPS nodes just to get my apps deployed on one VPS. </p><p class="paragraph" style="text-align:left;">At this point, I nixed Coolify because of the reliability issue above and the unnecessary resource usage when running everything on one node, which is my entire goal here. Additionally, I couldn’t find docs about running commands to manage Coolify - only using the UI - so that was a dealbreaker too.</p><p class="paragraph" style="text-align:left;"><b>Kamal</b><br><br>I really wanted to like Kamal because it’s basically just a wrapper around Docker and every command runs over SSH. Nice and simple - in theory.</p><p class="paragraph" style="text-align:left;">Unfortunately, the tl;dr in practice is that it’s too new, the docs are lacking, and errors you might run into are hard to diagnose. ChatGPT doesn’t have much accurate info about it either. </p><p class="paragraph" style="text-align:left;">NOTE: I regret that I seem to have lost all of the screenshots I took while testing Kamal, so you will have to take my word for it on this one.<br><br>I’ll also say that I know people who deploy using Kamal successfully - mostly with Ruby apps, but I experienced many “gotchas” with this tool. I didn’t like several things about it:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">(Minor) You need to run a separate <code>kamal</code> utility on your local machine which requires a ruby install. If you don’t want a ruby dependency, you can use Docker - but then certain commands that rely on stdin/out don’t work properly as those don’t get passed to the kamal cli container properly. Gotcha!</p></li><li><p class="paragraph" style="text-align:left;">(Minor) You have to define a kamal-specific deployment config file. I would have ideally wanted to see a very simple GitHub actions integration and no extra config beyond that.</p></li><li><p class="paragraph" style="text-align:left;">(Minor) It had a weird method of managing environment variables where I had to define them in multiple places before they got uploaded to the host.</p></li><li><p class="paragraph" style="text-align:left;"><b>(Major)</b> Extremely verbose logging to the point where it’s nearly impossible to understand what’s happening if something goes wrong. The deployment log was impossible for me to parse.</p></li><li><p class="paragraph" style="text-align:left;"><b>(Major)</b> UPDATE: This concern is solved in Kamal 2 where the healthcheck is done the correct way - externally. This is only an issue with Kamal 1. <span style="text-decoration:line-through;">Poorly thought out healthcheck mechanism. It depends on </span><code>curl</code><span style="text-decoration:line-through;"> existing in your container, which means you cannot easily use “minimal” docker images that lack this utility. I would have wanted to see Kamal itself do the healthcheck without any strange dependencies on the app container, which would be more accurate in cases where the app container is defined with an incorrect network config or something along those lines.</span></p></li><li><p class="paragraph" style="text-align:left;"><b>(Major)</b> Above all, the tool simply didn’t work for me. When I finally got the app deployed after a few hours of struggling with various gotchas, I thought I had “won.” Then I went to deploy a new version of the app with a simple, non-breaking change and Kamal refused to switch traffic to the new container with some hard to understand error message.</p></li></ol><p class="paragraph" style="text-align:left;">I fixed #4 by switching my base image to a full debian image with curl installed, but that caused my image size to balloon by 10x (I was previously using a “distroless” base image), so that wasn’t a workable solution.</p><p class="paragraph" style="text-align:left;">The only thing that fixed #5 for me was wiping the host and doing a fresh <code>kamal setup</code> at which point it started working again on the first deploy…until I deployed another new version of the app again, and so on.<br><br>Since I never had a successful test on Kamal and the product did not work as advertised due to #5, I’m not going to include further detail here. </p><p class="paragraph" style="text-align:left;">As a positive, Kamal’s resource consumption was quite good at idle (nothing extra running), but I think it needs a lot of work on documentation and error handling to be a viable choice. It doesn’t matter if it’s the most efficient tool in the world if it doesn’t work. </p><p class="paragraph" style="text-align:left;">Kamal 2 is coming out soon which sounds promising, <span style="text-decoration:line-through;">but it’s not here yet</span> <b>(UPDATE: Kamal 2 is out. Let me know if you want to see a review and I’ll update this blog post) </b>and there’s better options available today.<br><br><b>Caprover</b></p><p class="paragraph" style="text-align:left;">Next, I looked at Caprover. This one was eliminated when I looked at the docs:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/cf467a57-46f6-44bb-9c65-62eaee3a3bb2/image.png?t=1724613966"/></div><p class="paragraph" style="text-align:left;">This is worrying. First, it doesn’t fit my need of being able to do things on the command line to have to log into a UI and manually input fields to scale out a deployment.</p><p class="paragraph" style="text-align:left;">Second, it appears that some sort of custom leader node election algorithm has been implemented - and not enough detail has been provided. </p><p class="paragraph" style="text-align:left;">These are not easy things to implement correctly - and I don’t have confidence the author did it correctly if there are no details here on how exactly it was implemented.</p><p class="paragraph" style="text-align:left;"> I also didn’t like how the maintainer of the project conducted himself when presented with a problem about one of the dependencies in the project:</p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1d97c905-72cf-4920-9b3c-1ad17a12d45e/image.png?t=1724617059"/><div class="image__source"><span class="image__source_text"><p>Weird, condescending tone in his response. Not a fan of working with people like this.</p></span></div></div><p class="paragraph" style="text-align:left;">At this point, I nixed Caprover. Mostly because of the lacking documentation and inability to use the command line to perform scaling actions, but this interaction didn’t help.<br><br><b>K3s</b>:<br>K3s basically did what it promised and the docs are quite extensive. Bravo to the team maintaining K3s.<br><br>If you run the install command as described, you get a ready-to-use K8s instance running on fewer resources than you’d expect from a standard K8s deployment which you can confirm with <code>kubectl get node</code> :</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/df96cbb0-aea5-4ebb-ae9b-fc688a3cfa0c/image.png?t=1724615578"/><div class="image__source"><span class="image__source_text"><p>I forgot to take a real screenshot of this part, but here’s what it looks like: imagine just one line instead of 3 and 127.0.0.1 instead of node1.example.com.</p></span></div></div><p class="paragraph" style="text-align:left;">I hard rebooted the machine right after this and it came back up without any issues.<br><br>Unfortunately though, K3s suffers from resource usage problems while idling. Even though it bills itself as lightweight, and it is compared to K8s, it’s really not so lightweight overall:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/284e858d-3862-4eb0-b52f-358fd6b7d706/image.png?t=1724615076"/><div class="image__source"><span class="image__source_text"><p>That’s 17% of your RAM and 4.3% of your CPU being used for…not sure what. metrics-server is also included in the calculation.</p></span></div></div><p class="paragraph" style="text-align:left;">It’s also not ideal for ease of use in a CI environment. To deploy a docker image to the cluster, you need to define a fairly wordy yml file every time you deploy and pass it to <code>kubectl apply -f</code> : </p><div class="codeblock"><pre><code>apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
  labels:
    app: nginx
spec:
  replicas: 3
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.21.1
        ports:
        - containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
  name: nginx-service
spec:
  selector:
    app: nginx
  ports:
    - protocol: TCP
      port: 80
      targetPort: 80
  type: LoadBalancer
</code></pre></div><p class="paragraph" style="text-align:left;">This can be automated by creating a template file and substituting the image name with the current version to deploy among other properties, but this requires extra time to get set up.<br><br>I also see the number of dependencies involved here as a negative, even if they happen to be packaged together:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/900f0463-c54c-47c6-b655-50f6ad4ed450/image.png?t=1724615448"/><div class="image__source"><span class="image__source_text"><p>Good luck fixing anything on your own if any of these components malfunction! That’s a lotta components.</p></span></div></div><p class="paragraph" style="text-align:left;"><b>Last but not least: Dokku 🏆 (Winner!)</b></p><p class="paragraph" style="text-align:left;">Finally, I got to Dokku. </p><p class="paragraph" style="text-align:left;">As soon as I installed Dokku, it became obvious that this was the first self-hosted PaaS I had tested that really prioritized all of the things I was looking for.<br><br>First, <a class="link" href="https://dokku.com/docs/getting-started/installation/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way#1-install-dokku" target="_blank" rel="noopener noreferrer nofollow">the docs</a> are truly great. I won’t go into it too much here, but here’s one selection from the docs about how to deploy a docker image to the host:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3cee4a79-efc7-472b-9cee-3ef9839f7f67/image.png?t=1724615908"/><div class="image__source"><span class="image__source_text"><p>Notice how much simpler it is than fighting with some giant k8s yaml file. Just one command!</p></span></div></div><p class="paragraph" style="text-align:left;">Secondly, after a fresh install, look at the list of running processes:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/21dfa0d5-5c34-49ac-b8b3-b3fbcdbd94d4/image.png?t=1724616028"/><div class="image__source"><span class="image__source_text"><p>It’s a great sign when the highest CPU usage comes from my own top command. Look ma, no memory usage either!</p></span></div></div><p class="paragraph" style="text-align:left;">This is how it should be done. No extra bullshit, no unnecessary containers. A PaaS that gets out of the way when it isn’t needed!</p><p class="paragraph" style="text-align:left;">I then took a look at the <code>dokku</code> executable that gets installed on the host and it turns out it’s a fairly easy to read bash script without any weird dependencies:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/efb4b6cb-8c56-43f0-86f4-3a82f305d0b3/image.png?t=1724616143"/><div class="image__source"><span class="image__source_text"><p>Here’s what the script looks like. It eventually just invokes docker for commands you might run on your apps.</p></span></div></div><p class="paragraph" style="text-align:left;">Again, perfect. Then I noticed Dokku had a prebuilt Github Actions plugin to deploy an app. </p><p class="paragraph" style="text-align:left;">I spent about an hour setting this up, mostly because I didn’t read the docs and forgot to configure docker registry credentials, but it was quite easy to get going with a bit of Terraform magic that I’ll include for everyone below. </p><p class="paragraph" style="text-align:left;">At the end of the day, I just needed to add one block to my deploy script:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/31a679b2-e7e5-456d-b007-1af21de645ae/image.png?t=1724616458"/><div class="image__source"><span class="image__source_text"><p>This is all I had to add to get the deploy working after I followed the setup steps in the docs.</p></span></div></div><p class="paragraph" style="text-align:left;">After minimal fuss, my app was deployed, and I was happy to see some sane defaults: nginx is very resource efficient and battle-tested as a reverse proxy, and I liked that it included output from my app so that I could see the deploy succeeded:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bda1a4c4-86b6-4e04-a734-1e4bf8f598c0/image.png?t=1724617318"/></div><p class="paragraph" style="text-align:left;">This kind of output is something no other solution got right. Kamal in particular had about 10x the output for any command that was run and it was completely impossible to parse and understand, whereas Dokku’s output is clear.</p><h1 class="heading" style="text-align:left;" id="recommended-specs-and-os-for-a-prod">Recommended specs and OS for a production VPS</h1><p class="paragraph" style="text-align:left;">Now that you’ve seen my strong preference is to use Dokku to host my apps, let’s cover the specs for an ideal virtual private server (VPS) for this purpose. </p><p class="paragraph" style="text-align:left;">In production, I’d opt for an instance on Hetzner: go to <a class="link" href="https://www.hetzner.com/cloud/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" target="_blank" rel="noopener noreferrer nofollow">https://www.hetzner.com/cloud/</a> (not a referral link), select Shared vCPU Ampere, and select the <span style="color:#383838;font-family:Inter, sans-serif;font-size:16px;"><b>CAX11 </b></span><span style="color:#383838;font-family:Inter, sans-serif;font-size:16px;">node type.</span><br><br><span style="color:#383838;font-family:Inter, sans-serif;font-size:16px;">That’s the best bang for your buck since you’ll get 2 vCPU Cores and 4GB RAM for less than 3.79 EUR (or about ~$4.30 US). Hard to beat that kind of deal!</span><br><br><span style="color:#383838;font-family:Inter, sans-serif;font-size:16px;">You could also use any of Hetzner’s AMD or Intel-based nodes which would be fine and may be closer to your customers if you have US-based customers, but I prefer arm64 since my development machine is a Macbook Pro with an arm64 processor and I like my development machine to match my production machine in terms of CPU architecture. Most of my customers happen to be in the EU anyway.</span></p><p class="paragraph" style="text-align:left;"><span style="color:#383838;font-family:Inter, sans-serif;font-size:16px;">This setup with arm64 in dev and in production lowers the chances of some difference in behavior between those environments. I also like that arm64 is cheaper of course.</span></p><p class="paragraph" style="text-align:left;"><b>A note on the OS: I recommend Debian.</b><br><br>It also <a class="link" href="https://wiki.debian.org/UnattendedUpgrades?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" target="_blank" rel="noopener noreferrer nofollow">can automatically install security patches for you</a> which is a key thing to have as a solo server admin, and it’s a reliable, minimal Linux distro that only includes the necessary software with very stable versions of said software.<br><br>As an endorsement: I’ve used various versions of Debian in production with zero issues for many years now, and a previous company I worked for (with a market cap of tens of billions of dollars) ran 100% of its servers on Debian, also with no issues.</p><p class="paragraph" style="text-align:left;"><b>Now for a note on IPv4 vs. IPv6: it may seem tempting to save money and go for an IPv6-only node because Hetzner will give you a further discount. Do not do this! </b></p><p class="paragraph" style="text-align:left;">Why? Well, many websites don’t support IPv6 yet, and you will run into connection errors if you have a dependency on a 3rd party website that doesn’t. You might not even realize that you have a dependency on one of these sites and run into some very hard-to-diagnose bug as a result.</p><p class="paragraph" style="text-align:left;">For example, github doesn’t support IPv6 yet and neither does X. You can confirm which websites support this by issuing a dig command. </p><div class="codeblock"><pre><code>dig AAAA x.com +short</code></pre></div><p class="paragraph" style="text-align:left;">If the above command doesn’t have any output, the website in question <b>does not yet support IPv6</b> and any requests made to it from a host with only an IPv6 public IP will fail.</p><h1 class="heading" style="text-align:left;" id="running-dokku-in-production-as-a-so">Deploying Dokku in Production as a solo developer</h1><p class="paragraph" style="text-align:left;">If you don’t feel like reading the <a class="link" href="https://dokku.com/docs/getting-started/installation/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way#1-install-dokku" target="_blank" rel="noopener noreferrer nofollow">the docs</a> which are quite good, here’s my own guide on how to get Dokku deployed to a Hetzner node in production:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/03d8ba06-fd73-4db9-9751-a0995bb51ec4/image.png?t=1724619203"/><div class="image__source"><span class="image__source_text"><p>First tap “Add Server”</p></span></div></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/a340cf83-7679-41f2-9cf8-c2325ebf358c/image.png?t=1724619172"/><div class="image__source"><span class="image__source_text"><p>Then select a location close to your customers and Debian as the OS</p></span></div></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/cfb26787-3017-4851-8ea5-6f767e8aa608/image.png?t=1724619303"/><div class="image__source"><span class="image__source_text"><p>Finally select Ampere as the node type and pick the cheapest one. Notice the great deal: 3.79 EUR/mo 👍</p></span></div></div><p class="paragraph" style="text-align:left;">Finish the rest of the wizard, and log into the node with SSH <code>ssh root@12.34.56.78</code>. <br><br>Then paste this bash script below. Important notes:<br><br><b>1. Make sure to edit it with you SSH public key from your laptop, and another one for your CI system if any. </b><br><br><b>2. Also make sure to add your app’s environment variables if any under “make sure to set your app config here”</b><br><br>To generate a public key, just use:<br><code>ssh-keygen -t ed25519 -C &quot;github-actions&quot;</code> <br><br>And copy the output from the <code>.pub</code> file that it put in your <code>~/.ssh</code> folder into the script below “ADD YOUR KEYS BELOW!”</p><div class="codeblock"><pre><code>#!/bin/bash

# Ensure latest updates are installed
apt-get update -y
apt-get upgrade -y

# Install Dokku via official install script (make sure to find the latest version on dokku.com and use that as the DOKKU_TAG and url for wget)
echo &#39;Installing Dokku...&#39;
wget -NP . https://dokku.com/install/v0.34.9/bootstrap.sh
sudo DOKKU_TAG=v0.34.9 bash bootstrap.sh

# Add SSH keys to Dokku so our dev machine + CI tool can run Dokku commands. ADD YOUR KEYS BELOW!
echo &#39;Done installing Dokku. Adding SSH keys...&#39;
# Example:  echo &#39;ssh-ed25519 AAAA... your-laptop&#39; | dokku ssh-keys:add your-laptop
# Example: echo &#39;ssh-ed25519 AAAA... github-actions&#39; | dokku ssh-keys:add github-actions

# Set up Dokku apps and credentials
echo &#39;Done adding SSH keys. Creating apps...&#39;
dokku apps:create your-api

echo &#39;Done creating apps. Configuring app domains...&#39;
dokku domains:set your-api api.yoursite.com

echo &#39;Done configuring app domains. Starting vector for logging...&#39;
dokku logs:vector-start
wget -O /var/lib/dokku/data/logs/vector.json $&#123;VECTOR_SINK_CONFIG_URL&#125;

echo &#39;Done configuring vector. Authenticating with Docker registry...&#39;
dokku registry:login $&#123;DOCKER_REGISTRY_HOST&#125; $&#123;DOCKER_REGISTRY_USERNAME&#125; $&#123;DOCKER_REGISTRY_ACCESS_TOKEN&#125;


# Make sure to set your app config here if any
# dokku config:set your-api SOME_APP_SECRET1=value1 SOME_APP_SECRET2=value2

# Reboot and finalize installation
echo &#39;Done with everything, waiting 30s before rebooting to finalize installation.&#39;

sleep 30
systemctl reboot</code></pre></div><p class="paragraph" style="text-align:left;">For logging, you can either comment out the <code>dokku logs</code> line to disable exporting logs, or sign up for a free account with Better Stack to store 3GB/month of logs for free. </p><p class="paragraph" style="text-align:left;">If you do choose to use Better Stack, they support Dokku natively so just create a new log source and they will give you a command to set up the log source with Dokku</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/889f01b3-8d97-484a-a45a-a3b5066edfa4/image.png?t=1724620762"/><div class="image__source"><span class="image__source_text"><p>The create source UI with Dokku selected</p></span></div></div><p class="paragraph" style="text-align:left;">You will need to run the script like this:</p><div class="codeblock"><pre><code>DOCKER_REGISTRY_HOST=ghcr.io DOCKER_REGISTRY_USERNAME=username DOCKER_REGISTRY_ACCESS_TOKEN=ghp_... VECTOR_SINK_CONFIG_URL=&quot;https://urlfrombetterstack.com&quot; ./init.sh</code></pre></div><p class="paragraph" style="text-align:left;">When run, this script will take about 10-15 minutes to finish and:</p><ul><li><p class="paragraph" style="text-align:left;">Install Dokku which will use nginx as a reverse proxy for all your apps by default. You shouldn’t need to configure this at all.</p></li><li><p class="paragraph" style="text-align:left;">Pre-create all of your apps. Dokku will auto create any apps that don’t exist when you deploy for the first time, but it’s better to pre-create them so you can set the domain for each app upfront and have your app work immediately.</p></li><li><p class="paragraph" style="text-align:left;">Set up Dokku to be able to pull images from your Docker registry</p></li><li><p class="paragraph" style="text-align:left;">Set up logging with export to Better Stack (nice UI for viewing your app logs in a web interface and to create alerts)</p></li><li><p class="paragraph" style="text-align:left;">Reboot the VPS (so don’t be alarmed if you get disconnected)</p></li></ul><p class="paragraph" style="text-align:left;">Wait the full 10-15 mins for the process to complete and the node to come back online. To test that the process worked, run this command on your local machine:<br><br><code>ssh dokku@yourserverip version</code><br><br>This will use the SSH key you generated above. And you should get an output showing you the version of Dokku running on the server.</p><p class="paragraph" style="text-align:left;">Now update your CI script (hopefully you’re using GitHub Actions, it makes this part easier) to include one additional command which includes the SSH private key you generated above as a <a class="link" href="https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way#creating-secrets-for-a-repository" target="_blank" rel="noopener noreferrer nofollow">GitHub Repository Secret</a>:</p><div class="codeblock"><pre><code>    - name: Deploy API
      uses: dokku/github-action@v1.5.0
      with:
        ssh_private_key: $&#123;&#123; secrets.SSH_PRIVATE_KEY &#125;&#125;
        git_remote_url: ssh://dokku@yourserverip:22/$&#123;&#123; github.repository &#125;&#125;-api
        deploy_docker_image: ghcr.io/$&#123;&#123; github.repository &#125;&#125;-api:$&#123;&#123; github.sha &#125;&#125;</code></pre></div><p class="paragraph" style="text-align:left;">Run the deploy and you should see a message showing you that your app was deployed to Dokku at the URL you set. You’re done with deployment!</p><h1 class="heading" style="text-align:left;" id="conclusion">Security and Hardening</h1><p class="paragraph" style="text-align:left;">Now that your app has been deployed, it’s time to think about how to <b>harden</b> it so that attackers will have a tougher time…well, attacking you.<br><br>The first recommendation I always give to people is to set up a Cloudflare account. </p><p class="paragraph" style="text-align:left;">Putting Cloudflare in front of your domains prevents a whole class of DDoS attacks and Cloudflare is able to cache certain responses for you to save you bandwidth.<br><br>After you set Cloudflare up, go to the websites tab and add your app’s website, then edit the DNS settings:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bf3ea470-977c-4e09-97cc-234756d015c4/image.png?t=1724625981"/></div><p class="paragraph" style="text-align:left;">In the above screenshot, you’ll want to create an <code>A</code> record with the IP address pointing to your VPS’ IP address with Dokku on it and make sure “Proxy status” is proxied (orange cloud icon).<br><br>Then, back in your Hetzner control panel, create a firewall rule that only allows Cloudflare IPv4 and IPv6 addresses (copy and paste both sets of IPs from here: <a class="link" href="https://www.cloudflare.com/ips/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" target="_blank" rel="noopener noreferrer nofollow">https://www.cloudflare.com/ips/</a>) to access your VPS on port 80 (the web port that Dokku’s nginx instance is serving traffic on):<br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8fdf7475-4430-4148-b950-6ab07b47d7a9/image.png?t=1724626239"/><div class="image__source"><span class="image__source_text"><p>Firewall setup example</p></span></div></div><p class="paragraph" style="text-align:left;">Then scroll down to Apply to and make sure you select the server you just created</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1b846bd6-5315-492c-9458-974647b71c2e/image.png?t=1724626312"/></div><p class="paragraph" style="text-align:left;">Then hit Create Firewall.<br><br>The effect of this is that <i>only</i> cloudflare IP addresses will be able to communicate with your VPS on port 80. This means attackers will be completely blocked from hitting your VPS’ IP directly, which would otherwise bypass Cloudflare.<br><br>You might also consider adding a rule that only allows GitHub actions CI IP addresses and your home IP to access port 22 for SSH.<br><br>Finally, to lock down your SSH server even further, make sure to disable password auth. This <b>should</b> already be configured as most Debian images provided by hosting providers do this already, but good to double check:</p><div class="embed"><a class="embed__url" href="https://www.nixcraft.com/t/how-to-only-allow-ssh-key-login-and-disable-passwords/3722/2?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=how-to-self-host-your-app-the-right-way" target="_blank"><div class="embed__content"><p class="embed__title"> How to only allow ssh key login and disable passwords </p><p class="embed__description"> Edit the sshd_config on your server. sudo nano /etc/ssh/sshd_config Set up following directives to only allow ssh keys based login and disable passwords ChallengeResponseAuthentication no PasswordAuthentication no PermitRootLogin no PermitRootLogin prohibit-password Add ssh keys from all clients At least make sure admin users can ssh in with your public ssh key and can use the sudo / su - to become the root user. Otherwise you will get locked down. Say from my client: ssh admin@server # can I... </p><p class="embed__link"> www.nixcraft.com/t/how-to-only-allow-ssh-key-login-and-disable-passwords/3722/2 </p></div><img class="embed__image embed__image--right" src="https://www.nixcraft.com/uploads/default/original/1X/8eaa61ae25d56e3649cc9a8c57ef23cfef6bd899.png"/></a></div><p class="paragraph" style="text-align:left;">This will only allow users with valid SSH keys to connect and avoids the problem where attackers attempt to brute force passwords.</p><h1 class="heading" style="text-align:left;" id="conclusion">Conclusion</h1><p class="paragraph" style="text-align:left;"><br>That’s all we have folks! Thanks so much for reading either way. If there’s any other self-hosting tools you’d like me to review, leave me a comment and I’ll update this blog post accordingly.</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=deefd983-4a00-4f7e-b724-3890150e9718&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Month 7: If at first you don&#39;t succeed, try, try again</title>
  <description>Sometimes &quot;dead&quot; startups can be revived with a change in approach</description>
      <enclosure url="https://images.unsplash.com/photo-1619725194417-d517386ebaeb?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw0fHx0cnl8ZW58MHx8fHwxNzExMzM4Mzc3fDA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/month-7-first-dont-succeed-try-try</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/month-7-first-dont-succeed-try-try</guid>
  <pubDate>Mon, 25 Mar 2024 05:23:48 +0000</pubDate>
  <atom:published>2024-03-25T05:23:48Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="hey">Hey 👋</h1><p class="paragraph" style="text-align:left;">Hey there, I’m <a class="link" href="http://twitter.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-7-if-at-first-you-don-t-succeed-try-try-again" target="_blank" rel="noopener noreferrer nofollow">Ben</a>, and I build things in public. With that, I hope you enjoy this post about month 7 of building startups until something takes off! </p><h1 class="heading" style="text-align:left;" id="if-at-first-you-dont-succeed-try-tr">“If at first you don’t succeed, try, try again”</h1><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://images.unsplash.com/photo-1619725194417-d517386ebaeb?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw0fHx0cnl8ZW58MHx8fHwxNzExMzM4Mzc3fDA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><span class="image__source_text"><p>A perfect representation of that quote.</p></span></div></div><p class="paragraph" style="text-align:left;">This month’s post is all about how to turn an assumed failure into a success. That quote above? My parents used to tell me that all the time when I was a kid, and I think it subconsciously helped me with developing some grit.<br><br>This unwillingness to give up on an idea came in handy this month. I know last month I mentioned I was going to switch gears build an iOS app for the first time in 10 years, but I realized the idea I had was nearly technically infeasible. Nearly because I could have implemented it, but the UX required to launch that idea would have been terrible and would have required the build of a MacOS app as a companion to the iOS app and having the user context switch between their phone and their computer, so I decided to not explore this idea at the moment. I still may come back to it later, but it also doesn’t have a path to SEO relevance without spending $$$$$$ competing against giants in the space, so I decided to table it for now.</p><p class="paragraph" style="text-align:left;">So, instead of moving onto that new app idea, I decided: “hey wait a minute, I’ve been launching startups for about 6 months now and I have a few ideas that haven’t generated any revenue - why don’t I try meaningfully improving one of those before so quickly moving onto the next idea?”<br><br>I think this is key because there’s a lot of common advice in the indie hacking / #buildinpublic community that says: “Launch as many ideas as possible and only commit once one of them takes off”<br><br>On paper and in practice, this makes a lot of sense. However, I’ve also come to the conclusion that it’s important to not give up too easily on any single idea, and the proof of this is below.</p><h1 class="heading" style="text-align:left;" id="pivoting-httpssimpleotpcom-into-a-m">Pivoting <a class="link" href="https://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-7-if-at-first-you-don-t-succeed-try-try-again" target="_blank" rel="noopener noreferrer nofollow">https://simpleotp.com</a> into a money-making business</h1><div class="image"><img alt="A closeup of a US hundred dollar bill (Benjamin Franklin side)." class="image__image" style="" src="https://images.unsplash.com/photo-1623118176012-9b0c6fa0712d?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw0OXx8bW9uZXl8ZW58MHx8fHwxNzExMzQzMjMxfDA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><span class="image__source_text"><p>“It’s all about the Benjamins” as the great scholar P Diddy tells us.</p></span></div></div><p class="paragraph" style="text-align:left;">Simple OTP is one of my earliest products from <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/month-2-power-winwin-idea-sales-tax-struggles?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-7-if-at-first-you-don-t-succeed-try-try-again" target="_blank" rel="noopener noreferrer nofollow">month 2 of my startup journey</a>. At the time, I was still figuring out (even today, it’s an ongoing learning process) how to market products and create a product that sells. I also had a short term mindset at the time, and I was thinking like this:</p><ul><li><p class="paragraph" style="text-align:left;">I want quick sales on day 1</p></li><li><p class="paragraph" style="text-align:left;">I want <b>recurring revenue</b> from day 1</p></li><li><p class="paragraph" style="text-align:left;">I want an idea that takes off from day 1 or it’s a waste of my time</p></li><li><p class="paragraph" style="text-align:left;">The landing page doesn’t matter, just throw up a buy button as fast as possible and start making money</p></li><li><p class="paragraph" style="text-align:left;">SEO is annoying and it can come later</p></li></ul><p class="paragraph" style="text-align:left;">Thinking like this was a mistake. My new thinking is:</p><ul><li><p class="paragraph" style="text-align:left;">I still want quick sales. But it’s OK to not make money on the very first day. That’s a rarity.</p></li><li><p class="paragraph" style="text-align:left;">Recurring revenue is still the goal, but the cart cannot be put before the horse. It’s better to start with a one-time fee to validate the product because people are less likely to commit to a monthly plan immediately, particularly in a crowded industry with competing products all doing the same thing.</p></li><li><p class="paragraph" style="text-align:left;">The idea needs to be given a full month to start to generate some revenue, and 100% effort needs to be dedicated for that month before calling the product a loss.</p></li><li><p class="paragraph" style="text-align:left;">The landing page absolutely matters, and I’m going to spend the final week of this month migrating off the janky landing page builder I had been using, and instead roll my own using Tailwind CSS for a more modern look and feel + fewer outages (Carrd seems to go down a lot, Cloudflare Pages doesn’t).</p></li><li><p class="paragraph" style="text-align:left;">SEO is super important even if it doesn’t pay off immediately. Next month, the product I’m building has a clear path to SEO dominance and I did keyword research ahead of time to determine how much organic traffic the product could hope to get. Simple OTP doesn’t, and it was a mistake to build something that doesn’t have this natural growth lever.</p></li></ul><p class="paragraph" style="text-align:left;">Of course, I still need to optimize for quick sales even with my new approach to launching products - I’m completely self-funded and fundamentally disagree with giving away equity to VCs, so I can’t afford to have a generous free plan and/or burn money buying ads for 10 years until someone buys the product. I need to make products that are so compelling that the paid plan actually makes sense for people to buy when they see the offer organically. In other words: I need to make real businesses, not toy projects propped up by external funding.</p><p class="paragraph" style="text-align:left;">That said, not making a sale on the very first day is really not a dealbreaker from what I’ve come to realize. Sometimes the offer you’re making doesn’t make sense for the market and it’s worth a pivot.<br><br>With Simple OTP, I had started out with a typical SaaS pricing plan in the authentication space: $10 per month for a certain number of monthly active users. In hindsight though, this pricing plan doesn’t make sense for the crowded authentication space that I’m in:</p><ul><li><p class="paragraph" style="text-align:left;">All of my competitors offer a monthly plan with a similar number of MAUs. Why would people use Simple OTP when they can sign up with a more well-known competitor for similar money and get the same value out of the product?</p></li><li><p class="paragraph" style="text-align:left;">There’s nothing unique about offering passwordless email-based authentication, many other companies do it</p></li><li><p class="paragraph" style="text-align:left;">Authentication software requires high trust in the maker, and I’m just getting started with no credibility in the security space. Given that, why would anyone trust the Simple OTP black box to handle authentication for them?</p></li></ul><p class="paragraph" style="text-align:left;">So, I decided to make a major change to the product and pricing:</p><ul><li><p class="paragraph" style="text-align:left;"><b>$19. One time. No more monthly subscriptions.</b> One time fees are easier for people to stomach which is important in the early days of a product launch. I knew this to be true as someone who almost never buys subscriptions but sometimes buys one-time-fee products. Now I can make a few sales, get customer feedback, add social proof to the landing page — and maybe eventually add a cloud subscription-based pricing model where I host the product for people. But right now it doesn’t make sense. I’m in a position where I need to build trust, and it’s hard to do that by emulating the pricing model and positioning of competitors that have way more clout than I do.</p></li><li><p class="paragraph" style="text-align:left;"><b>Source code included for the entire product: authentication backend, client SDKs, and the admin dashboard.</b> Very few auth companies are willing to do that - their source code is their secret sauce: they don’t want people to clone or exploit their authentication code. In my situation, I don’t care about this concern. Like I said, I need to build trust, and I’m not so full of myself that I think I can build the perfect auth product on my own. Including the source allows the community of people who care enough about my product to pay for it to give suggestions that will help me improve the security and/or functionality of Simple OTP.</p></li><li><p class="paragraph" style="text-align:left;"><b>I adjusted the landing page</b>: the color scheme was a bit off, so I added a nice gradient to the buy button and called out the new one-time fee pricing plan.</p></li></ul><p class="paragraph" style="text-align:left;">This approach paid off immediately. I made 2 sales from random social media followers within a few hours of me making the change and re-launching the product; here’s one of the sales:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/551582ff-f92d-44d9-8dd9-b7615cc8bee9/image.png?t=1711342050"/></div><p class="paragraph" style="text-align:left;">Those couple sales gave me the confidence to dedicate more time to the product. Now that I had a pricing model that was working, I thought to myself: “how can I make this better and hopefully make more sales?” Luckily, I didn’t have to think for very long because a user on IndieHackers gave me the answer when he responded to my re-launch post:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bc3845e3-3d62-4081-9b58-7c7e3a5d770d/image.png?t=1711341807"/></div><p class="paragraph" style="text-align:left;">WebAuthn was something I had been thinking about anyway, and the additional feature request to add Passkey support gave me the motivation I needed to get it done. I spent the next 2 weeks shipping, and here’s a video which shows how the finished product works:</p><div class="embed"><a class="embed__url" href="https://www.youtube.com/watch?v=BivFH8yOSyI&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-7-if-at-first-you-don-t-succeed-try-try-again" target="_blank"><div class="embed__content"><p class="embed__title"> SimpleOTP.com: WebAuthn (Passkey) Registration and Login Example </p><p class="embed__description"> Check out how easy it is to register and use a passkey on any website that uses https://simpleotp.com </p><p class="embed__link"> www.youtube.com/watch?v=BivFH8yOSyI </p></div><img class="embed__image embed__image--right" src="https://i.ytimg.com/vi/BivFH8yOSyI/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AHYCIAC0AWKAgwIABABGE0gZShlMA8=&rs=AOn4CLC-vbN3AFXEa8fwPDl-E-TH7rFGyQ"/></a></div><p class="paragraph" style="text-align:left;">Luckily, a few days after shipping Passkeys and announcing on Twitter and LinkedIn that I had shipped the feature, I made a sale! This customer let me know that he specifically bought the product because he wanted to understand how WebAuthn-based passkeys were implemented:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bc6c867e-3f3b-4b52-956e-4378145821d8/image.png?t=1711341591"/></div><p class="paragraph" style="text-align:left;">It feels awesome to know that my intuition to listen to the prospective customer was right when I decided to add the Passkeys feature, that people value having this feature at my new pricing of $39, and that I’m helping at least one person solve their Passkeys problem. My goal in business is always to help people first and make a profit second - making money without providing value feels slimy.</p><h1 class="heading" style="text-align:left;" id="conclusion-and-leave-the-u-scom">Conclusion</h1><div class="image"><img alt="Motivational sign in the window of a boxing gym. " class="image__image" style="" src="https://images.unsplash.com/photo-1605514449459-5a9cfa0b9955?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxMXx8c3VjY2Vzc3xlbnwwfHx8fDE3MTEzNDIxNTB8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/></div><p class="paragraph" style="text-align:left;">Changing the pricing on my product and simply building features that customers wanted was a game-changer for <a class="link" href="https://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-7-if-at-first-you-don-t-succeed-try-try-again" target="_blank" rel="noopener noreferrer nofollow">https://simpleotp.com</a>. Did I make a huge amount of money after shipping the change? No. Is any of this revenue recurring right now? Also no. But I went from $0 MRR to <b>$108 in total revenue</b> <b>with a 92% profit margin. </b>My new pricing model allows my margin to be as high as possible because my only expense is a domain name for <a class="link" href="http://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-7-if-at-first-you-don-t-succeed-try-try-again" target="_blank" rel="noopener noreferrer nofollow">simpleotp.com</a> since people host the product themselves, so getting paid $108 is a win even if it’s a small win.</p><p class="paragraph" style="text-align:left;">Now, for next month, I’m finally going to build a new product and it’s not an iOS app. Excited to announce what it is in next month’s post and I’ve already bought the domain name. <br><br>It goes without saying, but despite shifting my attention to a new product, I’m of course going to continue listening to Simple OTP customers and building more features, making fixes whenever I get requests - but it feels like the right time to add an additional revenue stream.</p><p class="paragraph" style="text-align:left;">In the meantime, if you have any authentication needs, check out <a class="link" href="https://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-7-if-at-first-you-don-t-succeed-try-try-again" target="_blank" rel="noopener noreferrer nofollow">https://simpleotp.com</a> and I’d be happy to personally help you onboard.</p><p class="paragraph" style="text-align:left;">See you next month for another launch!</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=6e8be466-4793-48cf-bc40-86b43ba4a6e3&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Month 6: Leaving the US and building LeaveTheUS.com</title>
  <description>I&#39;m now a resident in Thailand, here&#39;s how it went</description>
  <link>https://ben-makes-stuff.beehiiv.com/p/month-6-leaving-us-building-leavetheuscom</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/month-6-leaving-us-building-leavetheuscom</guid>
  <pubDate>Tue, 13 Feb 2024 10:42:12 +0000</pubDate>
  <atom:published>2024-02-13T10:42:12Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="hey">Hey 👋</h1><p class="paragraph" style="text-align:left;">Hey there, I’m <a class="link" href="http://twitter.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-6-leaving-the-us-and-building-leavetheus-com" target="_blank" rel="noopener noreferrer nofollow">Ben</a>, and I build things in public. With that, I hope you enjoy this post about month 6 of building startups until something takes off! </p><h1 class="heading" style="text-align:left;" id="hey">“And Now For Something Different”</h1><div class="image"><img alt="iPhone X Screen" class="image__image" style="" src="https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwzfHxpT1N8ZW58MHx8fHwxNzA3ODIwMTkzfDA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://leavetheus.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-6-leaving-the-us-and-building-leavetheus-com" rel="noopener" target="_blank"><span class="image__source_text"><p>The platform for my next business.</p></span></a></div></div><p class="paragraph" style="text-align:left;">This month’s post is a bit different and a bit late as it covers my international move, but I managed to sneak in <a class="link" href="https://leavetheus.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-6-leaving-the-us-and-building-leavetheus-com" target="_blank" rel="noopener noreferrer nofollow">a product launch around my move</a> — for next month, I’ll be talking about a new product I’m working on which will be my first iOS app in over 10 years. It’ll be cool to see how the ecosystem changed since I built <a class="link" href="https://www.washingtonpost.com/blogs/local/wp/2014/03/18/oak-hill-mans-phone-app-compares-booze-prices-value-at-virginia-abc-stores/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-6-leaving-the-us-and-building-leavetheus-com" target="_blank" rel="noopener noreferrer nofollow">VABC</a> as a college student after dropping out of my iOS Development class. </p><p class="paragraph" style="text-align:left;">Funnily enough, the reason I dropped out of the iOS class was because the professor told me that I couldn’t build an alcohol comparison app as my final project because:</p><p class="paragraph" style="text-align:left;">a) it “wasn’t appropriate” (alright fair, maybe a booze comparison app wasn’t appropriate for an educational setting — but it was university after all, it’s not too surprising that I was thinking about alcohol at the time) <br><br>b) it <b>“would fail and never make any money”</b></p><p class="paragraph" style="text-align:left;">When he told me that I would fail, I thought to myself “I’m taking the iOS developer license I already expensed for this class, dropping the class, and building it on my own. No chance he’s telling me what to do.”<br><br>I did end up dropping the class a few days later for that reason and because I realized I didn’t need the credits to graduate anyway. </p><p class="paragraph" style="text-align:left;">Then, I built and launched the first version of the idea in about 2 weeks. All of the marketing was done on Reddit in various university related subreddits i.e. /r/VirginiaTech, /r/UVA, etc — at the time, Reddit mods were a lot nicer and would leave your post up if you posted about something useful that you built. </p><p class="paragraph" style="text-align:left;">And lo-and-behold, that app got press coverage in major news publications like The Washington Post when a reporter found my reddit posts and it paid my electric bill for the remainder of the year, so it definitely did make money. I remember thinking making $50/mo was a huge deal at the time, and I even got recognized at some house parties as “that guy who made the liquor app.”</p><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="" src="https://images.unsplash.com/photo-1506882896192-07db6c16ee20?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxfHxMaXF1b3IlMjBkZWxpdmVyeXxlbnwwfHx8fDE3MDc4MjA2OTh8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/></div><p class="paragraph" style="text-align:left;"><br>I had an idea to expand the app to offer liquor delivery, and that would have been way ahead of its time if I had actually built that — but ideas are cheap, execution is what matters, and it’s probably better I didn’t build that after all given all of the legal issues involved with delivering alcohol that I wasn’t thinking about.</p><p class="paragraph" style="text-align:left;">More importantly, VABC was the project that got me interested in indie hacking in the first place, and I learned a few things from that experience:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Ignore people who want to see you fail, even if they’re a professor or someone you might look up to. It’s always better to surround yourself with reasonable people. Truly, if someone gives you negative feedback that isn’t constructive in any way or has nothing behind it, don’t listen to them and just keep doing what you’re doing.<br></p></li><li><p class="paragraph" style="text-align:left;">I can think of an idea, build it, and make some money appear out of nowhere if the market likes my idea. That is an awesome feeling. I didn’t realize it at the time, but being a Computer Scientist (what my degree is intended for) isn’t my calling at all - building creative products is. Software and understanding Computer Science fundamentals is just one mechanism to get those products to market.</p></li></ol><h1 class="heading" style="text-align:left;" id="selling-rm-flags-what-worked-and-wh">Leaving the US</h1><p class="paragraph" style="text-align:left;">Now, as I said I would, I left the US for Thailand in January 2024. Ended up finding a great deal on Qatar Airways points for 50% off, so I scored a business class ticket for around $2,000 and off I went.<br><br>Once I landed, I spent a few days in a hotel and then switched to an Airbnb for the rest of the month while I searched for an apartment.<br><br>I was tempted to sign a lease within the first week and move fast as I tend to do with many decisions, but this time I forced myself to take my time exploring all of the neighborhoods and I’m glad I did. </p><div class="image"><img alt="BTS skytrain public transport in Bangkok" class="image__image" style="" src="https://images.unsplash.com/photo-1655562877074-7d8acce4e8bb?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxfHxCVFMlMjBiYW5na29rfGVufDB8fHx8MTcwNzgxOTg1Mnww&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://leavetheus.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-6-leaving-the-us-and-building-leavetheus-com" rel="noopener" target="_blank"><span class="image__source_text"><p>The BTS Skytrain, my new preferred method of transportation around Bangkok. It’s about as expensive as the NYC subway for long trips, and significantly cheaper for short trips. It’s also exceedingly clean and safe, no crazy homeless people on this train.</p></span></a></div></div><p class="paragraph" style="text-align:left;">Why? Well, there were quite a few YouTube videos recommending certain neighborhoods that were supposedly ideal for expats. If I hadn’t visited all of those neighborhoods myself, I wouldn’t have realized that those recommendations were mostly wrong — that is, it would have been a bad decision to blindly follow that advice and end up in some soulless neighborhood with no local culture and overpriced Japanese food everywhere. </p><p class="paragraph" style="text-align:left;">Sometimes the “expat recommended” neighborhoods are just carbon copies of neighborhoods you’d be able to find in a western country - and when moving to the east, you might as well get some real, local culture as well as creature comforts from home. I decided it would be better to pick a neighborhood with a balance of everything and ignored all of those recommendations.</p><p class="paragraph" style="text-align:left;">In the end, I visited almost every single <a class="link" href="https://www.bts.co.th/eng/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-6-leaving-the-us-and-building-leavetheus-com" target="_blank" rel="noopener noreferrer nofollow">BTS stop</a> (there are a lot of them) to be able to make my own decision and after about a month, found a nice, centrally located condo on a quiet street within a 5 min walk of the gym, authentic street food, a park, some of the best malls in Bangkok, and multiple public transport options. </p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c0502908-371a-4a84-980f-82164d47d636/426648747_359968300161521_12722862926770875_n.jpg?t=1707819998"/><div class="image__source"><a class="image__source_link" href="https://leavetheus.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-6-leaving-the-us-and-building-leavetheus-com" rel="noopener" target="_blank"><span class="image__source_text"><p>The view from the window of my new condo at night.</p></span></a></div></div><p class="paragraph" style="text-align:left;">My condo is smaller than the one I had in New York City, but I feel it’s so much better designed, it’s brand new (I am the first tenant), and it’s fully furnished - because the space is utilized so well with tons of storage compartments everywhere and had been looked over by a designer and the ceiling is so tall, it feels much bigger than it is. </p><p class="paragraph" style="text-align:left;">It’s also ~3.3x cheaper than my NYC rent and I’ve gained a rooftop infinity pool and an in-building coworking space + gym included in the cost of my rent, so that helps a lot. </p><p class="paragraph" style="text-align:left;">At the moment, I don’t need more space anyway - my entire list of possessions is 1 suitcase, clothes, 1 backpack, and a laptop and I’ve always enjoyed living like a minimalist.</p><p class="paragraph" style="text-align:left;">On the other hand, my NYC apartment was awkwardly designed and much of the space was wasted by a long hallway which of course added to the square footage on paper but might as well have not even been there. </p><h1 class="heading" style="text-align:left;" id="conclusion-and-leave-the-u-scom">Conclusion and <a class="link" href="https://leavetheus.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-6-leaving-the-us-and-building-leavetheus-com" target="_blank" rel="noopener noreferrer nofollow">LeaveTheUS.com</a></h1><div class="image"><img alt="Fourth of July" class="image__image" style="" src="https://images.unsplash.com/photo-1593847284769-a5c1efec162d?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwyfHxBbWVyaWNhbiUyMGZsYWclMjB0YXR0ZXJlZHxlbnwwfHx8fDE3MDc4MjA4MjR8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/></div><p class="paragraph" style="text-align:left;">Would you like to learn more about how to make an international move like I’ve done? </p><p class="paragraph" style="text-align:left;">There’s quite a lot to think about from health insurance, to visas, to hunting for and negotiating condo rentals, to adjusting to an unfamiliar climate and so on: so I’ve written the guide that I wish I had before I made the move myself. </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://LeaveTheUS.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-6-leaving-the-us-and-building-leavetheus-com" target="_blank" rel="noopener noreferrer nofollow">https://LeaveTheUS.com</a> makes it easy for you. Check it out and let me know what you think. </p><p class="paragraph" style="text-align:left;">See you next month for another launch!</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=7a90c9c2-dcbf-4b18-b37a-845226187296&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Month 5: Figuring Out How To Sell a B2B SaaS Product</title>
  <description>What worked and what didn&#39;t</description>
      <enclosure url="https://images.unsplash.com/photo-1616587656977-ac36a5a430bc?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwyNHx8c2FsZXN8ZW58MHx8fHwxNzAzMjk3MDM2fDA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/month-5-figuring-sell-b2b-saas-product</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/month-5-figuring-sell-b2b-saas-product</guid>
  <pubDate>Sat, 23 Dec 2023 02:26:56 +0000</pubDate>
  <atom:published>2023-12-23T02:26:56Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h1 class="heading" style="text-align:left;" id="hey">Hey 👋</h1><p class="paragraph" style="text-align:left;">Hey there, I’m <a class="link" href="http://twitter.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-5-figuring-out-how-to-sell-a-b2b-saas-product" target="_blank" rel="noopener noreferrer nofollow">Ben</a>, and I build things in public. With that, I hope you enjoy this post about month 5 of building startups until something takes off!</p><h1 class="heading" style="text-align:left;" id="selling-rm-flags-what-worked-and-wh">Selling RMFlags: What Worked and What Didn’t</h1><div class="image"><img alt="Sales meeting in an open-plan office " class="image__image" style="" src="https://images.unsplash.com/photo-1616587656977-ac36a5a430bc?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwyNHx8c2FsZXN8ZW58MHx8fHwxNzAzMjk3MDM2fDA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><span class="image__source_text"><p>A definitely real sales meeting, or something.</p></span></div></div><p class="paragraph" style="text-align:left;">This month, instead of building something new given other things going on in my life like my big international move, I decided to try to do a push to sell <a class="link" href="https://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-5-figuring-out-how-to-sell-a-b2b-saas-product" target="_blank" rel="noopener noreferrer nofollow">RM Flags</a> despite having never led a sales call in my life. Doing this kind of push required some upfront thinking about several factors:</p><ul><li><p class="paragraph" style="text-align:left;"><b>Who is my ideal customer? </b>In the case of <a class="link" href="https://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-5-figuring-out-how-to-sell-a-b2b-saas-product" target="_blank" rel="noopener noreferrer nofollow">RM Flags</a>, I thought critically and realized a few truths about the type of customer I wanted to sell to:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Despite the usual advice of “sell to startups, it’s easier,” startups actually have no use for <a class="link" href="https://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-5-figuring-out-how-to-sell-a-b2b-saas-product" target="_blank" rel="noopener noreferrer nofollow">RM Flags</a> so that advice is irrelevant in my case. Why is this? Well, startups are too busy shipping straight to prod with no guardrails. They don’t care about feature flags or other deployment best practices and just want to “move fast and break things” as the old Facebook mantra goes.</p></li><li><p class="paragraph" style="text-align:left;">My ideal customers are in fact large, software-focused enterprise companies that are already using feature flags. Think companies like Microsoft, IBM, and so on.</p></li><li><p class="paragraph" style="text-align:left;">Given I’m selling to enterprises, I realized I needed to adjust my pricing (more on that below)<br></p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>How should I best contact my ideal customer? </b>I wasn’t sure of the best way to go about this so I just dove right in. YCombinator (through YC Startup School) recommends using <a class="link" href="https://app.apollo.io/api/v1/referrals/referral_link_click?referral_code=mfoK-BSGdw3HMeDprepH6A&utm_source=Apollo&utm_medium=Viral&utm_campaign=Apollo_Viral_Share" target="_blank" rel="noopener noreferrer nofollow">tools like Apollo</a> to find customers to sell to, so that’s what I tried first. It’s actually an awesome piece of software - you can set up multi-step email funnels to prospective customers with logic to automatically stop following up once the customer replies to the email. You can even tap a button to have their AI model generate emails for you! That’s what I did, and made edits to the email to make them sound less robotic before clicking Save. Here’s what my email funnel looked like in its final form:<br></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/b69ca871-acec-446c-ab1f-aef4a17f2011/image.png?t=1703295459"/><div class="image__source"><span class="image__source_text"><p>My <a class="link" href="https://app.apollo.io/api/v1/referrals/referral_link_click?referral_code=mfoK-BSGdw3HMeDprepH6A&utm_source=Apollo&utm_medium=Viral&utm_campaign=Apollo_Viral_Share" target="_blank" rel="noopener noreferrer nofollow">Apollo sequence</a> to get prospects to sign up for a demo</p></span></div></div><p class="paragraph" style="text-align:left;"><br>Basically, I set up an email to send on day 1, then an automated followup a few days later, and a final followup a few days after that if they still haven’t responded. Much better than manually emailing customers myself!<br><br>How did I find customers to fill up my pipeline? I decided to use Apollo’s tools to find ideal prospects. I mostly targeted CTOs, CPOs, Directors of Engineering at large enterprises that I knew were already using feature flags. These customers were already relatively easy to identify because I just looked at Optimizely’s/LaunchDarkly’s top customer list (they brag about their customers on their website as they should for social proof reasons) and then started emailing those companies.<br><br>Unfortunately, this approach didn’t work at all. I had about a 5% reply rate on the email which isn’t bad, but 100% of the replies were along the lines of “never email me again.”<br><br>Surprise, surprise: enterprise sales is a relationships business. Coming from a place of zero trust, it turns out it’s hard to get a random person to sign up for a demo from a cold email. </p><p class="paragraph" style="text-align:left;"><br>I decided to make things easier on myself and message my previous company where I had already established trust with several of the engineering directors and the CTO. This went much better: I landed 2 demo meetings using this approach and scheduled 2 pilots for January. Hopefully this company will let me put their logo on my website assuming the pilot goes well, and then I can go back to the enterprise customers and try to sell them again using the social proof I got from the initial set of customers.<br><br>Lesson learned: use your network first and get some quick wins, only start selling to “difficult” customers once you have social proof to share and have refined a pitch.<br></p></li><li><p class="paragraph" style="text-align:left;"><b>How do I decide how to price the product? </b>Pricing is kind of black magic. Famously, 37signals said something along the lines of “the initial pricing for Basecamp was pulled out of our asses, and it just sounded right, so we went with it” or similar. So, I initially pulled $19/m out of my ass and put that on the website. That said, once I realized I wanted to sell to enterprises, I decided to use a more logical approach to figure out how to price my products: I decided to price according to the value the customer gets out of the product<i>.</i> To further explain what this means, I asked myself these questions: </p><ul><li><p class="paragraph" style="text-align:left;"><i>Who is the manual process of cleaning up feature flags performed by today?</i> A Software Engineer. </p></li><li><p class="paragraph" style="text-align:left;"><i>How much does a good mid-to-senior level Software Engineer cost per hour?</i> Somewhere around $200-250/hour.</p></li><li><p class="paragraph" style="text-align:left;"><i>How often does a Software Engineer at a typical enterprise company clean up flags, and how long does it take them to perform this task?</i> Once per month, and a minimum of 3 hours to make the code change, get a code review, and deploy to prod.<br><br>That comes out to: <code>$200/h * 3h per task * 1 task per month = at least $600</code></p><p class="paragraph" style="text-align:left;"><br>Now, I could have priced <a class="link" href="https://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-5-figuring-out-how-to-sell-a-b2b-saas-product" target="_blank" rel="noopener noreferrer nofollow">RM Flags</a> at $600/m immediately but I want to give my customers a good deal relative to what they’re already paying, plus I only have a basic set of features ready, so I decided on initial pricing of $190/m or ~$158.33/mo with yearly billing and 2 months free. <br><br>Of course, I can and will raise this price later when I add more features to the product, but for now this seems to be a fair price for the value I’m providing.<br><br>Note that the $600/mo cost to hire an engineer to do the same task is just a useful baseline for the maximum possible price I could ever hope to ask from the customer without feeling guilty that I’m ripping them off. I’ll refer back to this next time I decide to raise the price.</p></li></ul></li></ul><h1 class="heading" style="text-align:left;" id="building-rm-flags-while-getting-rea">The Big Move</h1><div class="image"><img alt="" class="image__image" style="" src="https://images.unsplash.com/photo-1597629008285-a10132d20913?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwyfHxjaGlhbmclMjBtYWl8ZW58MHx8fHwxNzAzMjk3MzMwfDA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="#selling-rm-flags-what-worked-and-wh" rel="noopener" target="_blank"><span class="image__source_text"><p>A temple near Chiang Mai somewhere. Wat Doi Suthep? Can’t tell.</p></span></a></div></div><p class="paragraph" style="text-align:left;">As I mentioned, I’m in the middle of an international move. I promised you all some details on the different services I used to make this move happen as seamlessly as possible, but given the move isn’t done yet, I’ll update next month on how this went instead of this month.<br><br>I will share that I’ll be <b>moving to Thailand in early 2024</b>, so definitely say hello if you’re in the country. Always down to meet makers, builders, pirates, startup founders, and other nefarious characters.<br><br>Either way, see you next month for another blog post on how the previous month went!</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=30a74394-84d3-403a-a67c-0cb6b6ff56c4&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Month 4: Launching RMFlags.com While Prepping for an International Move</title>
  <description>Feature flags and moving across the world</description>
      <enclosure url="https://images.unsplash.com/photo-1520038410233-7141be7e6f97?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw1fHxtb3ZlfGVufDB8fHx8MTcwMDcyNDYxNnww&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/month-4-launching-rmflagscom-prepping-international-move</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/month-4-launching-rmflagscom-prepping-international-move</guid>
  <pubDate>Thu, 23 Nov 2023 15:00:00 +0000</pubDate>
  <atom:published>2023-11-23T15:00:00Z</atom:published>
    <dc:creator>Benjamin Katz</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;"><b>Before you start reading this post: Check out </b><a class="link" href="https://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-4-launching-rmflags-com-while-prepping-for-an-international-move" target="_blank" rel="noopener noreferrer nofollow"><i><b>RM Flags</b></i></a><i><b>, my most recent startup, </b></i><b>if you’d like your code references to already-rolled-out feature flags to be cleaned up for you automatically.</b></p><figcaption class="blockquote__byline"></figcaption></blockquote></div><h1 class="heading" style="text-align:left;" id="hey">Hey 👋</h1><p class="paragraph" style="text-align:left;">Hey there, I’m <a class="link" href="http://twitter.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-4-launching-rmflags-com-while-prepping-for-an-international-move" target="_blank" rel="noopener noreferrer nofollow">Ben</a>, and I build things in public. With that, I hope you enjoy this post about month 4 of building startups until something takes off!</p><h1 class="heading" style="text-align:left;" id="building-rm-flags-while-getting-rea">Building <a class="link" href="http://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-4-launching-rmflags-com-while-prepping-for-an-international-move" target="_blank" rel="noopener noreferrer nofollow">RM Flags</a> While Getting Ready to Move</h1><div class="image"><img alt="Build air" class="image__image" style="" src="https://images.unsplash.com/photo-1531834685032-c34bf0d84c77?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw0fHxCdWlsZHxlbnwwfHx8fDE3MDA3MjQ2OTF8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><span class="image__source_text"><p>What it feels like to build software sometimes.</p></span></div></div><p class="paragraph" style="text-align:left;">Launching a startup per month is challenging, but on a month when you’re getting ready to move countries? Almost impossible. Okay, that might be an exaggeration but it definitely was a struggle to get the product ready for customers while also trying to figure out flights, hotels, health insurance, cell phone plan, internet, apartment, and selling 99% of my possessions. </p><p class="paragraph" style="text-align:left;">Admittedly, it’s also the reason this blog entry is a bit late: sometimes major life changes need to come before blog posts.<br><br>I did it though. And I even managed to book a demo meeting with a potential enterprise customer to show them the product. <a class="link" href="http://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-4-launching-rmflags-com-while-prepping-for-an-international-move" target="_blank" rel="noopener noreferrer nofollow">RM Flags</a> is live, at least in MVP, and it’s solving a real problem I encountered at a past day job. What problem is that? Well, it’s code that looks like the below spaghetti:</p><div class="codeblock"><pre><code>if (feature1.isEnabled()) &#123; doSomething() &#125; else if (feature2.isEnabled()) &#123; explode() &#125; else &#123; doSomethingElse() &#125;</code></pre></div><p class="paragraph" style="text-align:left;">Is this code really needed if feature 1 is already rolled out? Of course not. The code would always short circuit immediately and execute doSomething(), so the code could just be simplified to:</p><div class="codeblock"><pre><code>doSomething()</code></pre></div><p class="paragraph" style="text-align:left;"><br>Now, if your team has solid engineering rigor, you’ll already have time allocated to cleaning up all of these old references and you’ll have no real need for <a class="link" href="http://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-4-launching-rmflags-com-while-prepping-for-an-international-move" target="_blank" rel="noopener noreferrer nofollow">RM Flags</a>.<br><br>But show me a perfect engineering team that never screws up or takes shortcuts and I’ll show you a liar. If it’s a busy time of the year and people need to move onto the next project, the code often quickly becomes littered with these sorts of references which become increasingly annoying to clean up.</p><p class="paragraph" style="text-align:left;">Ironically, feature flags are introduced to prevent bugs from reaching real users, but I’ve seen bugs <i>introduced</i> and new features delayed (because a feature flag was enabled, the code short circuited before reaching the code the developer wanted to run) when developers didn’t understand which feature flags were enabled.<br><br>How could this happen? Well, imagine the above code block multiplied by 10 - inevitably, someone’s eyes will glaze over when reading through all of the branches and forget that one of them will short circuit the if block in an unexpected way, which then leads to bugs. Even if there isn’t a bug introduced, developers will need to waste extra brain cycles trying to figure out what the code is doing, causing more hours billed which is an even bigger concern for contracted labor.<br><br><a class="link" href="http://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-4-launching-rmflags-com-while-prepping-for-an-international-move" target="_blank" rel="noopener noreferrer nofollow">RM Flags</a> solves this problem automatically by sending the team a PR with all of the old feature flag references removed at the end of the month. It uses an AI model to understand the code and propose changes, and all developers have to do is review the changes and click “approve.” Not painless, but definitely a greatly improved process!</p><h1 class="heading" style="text-align:left;" id="international-move-struggles">International Move Struggles</h1><div class="image"><img alt="Moving Day" class="image__image" style="" src="https://images.unsplash.com/photo-1520038410233-7141be7e6f97?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHw1fHxtb3ZlfGVufDB8fHx8MTcwMDcyNDYxNnww&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><span class="image__source_text"><p>It’s me, getting ready to move out of NYC.</p></span></div></div><p class="paragraph" style="text-align:left;">At the same time I was building <a class="link" href="http://rmflags.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-4-launching-rmflags-com-while-prepping-for-an-international-move" target="_blank" rel="noopener noreferrer nofollow">RM Flags</a>, I also spent (and I’m still spending) a significant amount of mental energy figuring out logistics for an overseas move I’ve been planning for a while. I love New York City and plan on coming back some day, but as an indie maker the cost of living is excessive which caused me to consider and then decide on moving overseas to save money. After all, the goal is to never work a job in Corporate America (or any other country) again and continue indie hacking until I’m too old to give a shit anymore.</p><p class="paragraph" style="text-align:left;">However, it’s impossible to just move overseas with no planning and continue on as normal. There’s a lot that needs to happen beforehand:</p><p class="paragraph" style="text-align:left;"><b>Note: I’m not a tax advisor and this is not tax advice, definitely consult one if you’re thinking about this kind of move.</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;"> For tax reasons, it often makes sense to get residency in a low/no tax state before leaving. After all, why would you want to pay your current state taxes when you’re not even in the country? You might think that by leaving you’ll be excluded, but it’s not that simple. Some states are more strict than others, but particularly if you have a business in the state and you live in one of those “sticky” states that wants your tax money, they might ask you to file an income tax return even if you don’t live in the state let alone the country if they think you have enough physical presence in the state (a business might count against you here, or real estate, or an apartment). My tax advisor let me know that it was a good idea to move my business and residency elsewhere, so that’s what I’m doing right now. Your mileage may vary.</p></li><li><p class="paragraph" style="text-align:left;">Your US medical, dental, vision insurance will no longer work overseas for the most part. I say “for the most part” because US plans will typically pay for a small amount of emergency expenses overseas, but generally they will not cover you in whatever random country you end up in. The solution is to either: get a health insurance plan in the country you plan to spend the most time living in and buy travel insurance when you temporarily go elsewhere, or to buy a global health insurance plan that will cover you anywhere, or to use public healthcare, or pray you won’t have any serious concerns and pay in cash. The latter is actually somewhat doable if you’re planning on being an expat because most countries except the US have sane healthcare systems that don’t charge a whole lot for basic services, but it’s still a good idea to have insurance for more serious concerns. There are some options that will cover you globally, but some of them have restrictions on preexisting conditions, may not cover mental health services, and so on. The ones that don’t? Well, they can be prohibitively expensive.</p></li><li><p class="paragraph" style="text-align:left;">You’ll need to set up a bank account in the new country to be able to pay rent. If you as a US Citizen need to send a bunch of money to an overseas bank account, the IRS will take issue with that and require you to fill out extra paperwork in the form of a FBAR report. It’s not fun, and you can avoid it by not maintaining an overseas bank account (but then you can’t pay rent in a lot of cases) or maintaining a low balance so as to not hit the FBAR threshold (what I plan on doing, I don’t trust a lot of foreign currency anyway).</p></li><li><p class="paragraph" style="text-align:left;">How are you going to receive snail mail while in a different country? You won’t have a US address anymore, and banks and other institutions need somewhere to send your mail. I did find a solution for this, and it’s to use a virtual mailbox service that offers mail forwarding. I’ll share the specific company I used once I have time to test them out for a month or so.</p></li><li><p class="paragraph" style="text-align:left;">Obviously, you’ll also need to talk to your family and friends and let them know about your decision. Certain people will not take this news well and you’ll need to do some convincing.</p></li></ol><h1 class="heading" style="text-align:left;" id="recommendations">Recommendations?</h1><div class="image"><img alt="Brindar siempre lo mejor de ti." class="image__image" style="" src="https://images.unsplash.com/photo-1505455184862-554165e5f6ba?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxOXx8aGVscHxlbnwwfHx8fDE3MDA3MjQ3OTF8MA&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><span class="image__source_text"><p>Nope. But you can have this flower as a consolation prize. You’re welcome.</p></span></div></div><p class="paragraph" style="text-align:left;">I wish I had great recommendations to provide to overcome all of these problems, but given that I’m still going through the process I don’t have anything concrete to share yet - or at least anything I’m comfortable recommending at this stage. I’ll report back next month with which companies/solutions I ended up choosing to help me with all of these problems!<br><br>Until then, don’t do anything I wouldn’t do and see you next month.</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=755ad38b-a126-4a9c-95bd-071276f079fd&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Month 3: Getting interviewed by IndieHackers.com</title>
  <description>How I got noticed and landed an interview about my startup ideas</description>
      <enclosure url="https://images.unsplash.com/photo-1557804506-e969d7b32a4b?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwyNnx8aW50ZXJ2aWV3fGVufDB8fHx8MTY5NjEzNzI0MHww&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=1080&amp;utm_source=beehiiv&amp;utm_medium=referral"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/month-3-getting-interviewed-indiehackerscom</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/month-3-getting-interviewed-indiehackerscom</guid>
  <pubDate>Sun, 01 Oct 2023 13:30:00 +0000</pubDate>
  <atom:published>2023-10-01T13:30:00Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;"><b>Before you start reading this post: Check out </b><a class="link" href="https://ipsync.link?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow"><i><b>IP Sync</b></i></a><i><b>, my most recent startup, </b></i><b>if you’d like notifications when the static IPs for important websites change. In any case, enjoy this blog post!</b></p><figcaption class="blockquote__byline"></figcaption></blockquote></div><h1 class="heading" style="text-align:left;">Hey 👋</h1><p class="paragraph" style="text-align:left;">Hey there, I’m <a class="link" href="http://twitter.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">Ben</a>, the founder of Mockernut Ventures! MV is the holding company for all of my indie startup ideas and what this blog is named after. Why do I have a holding company? Well, I quit my full-time job at a big tech company a few months ago and committed to building 12 startups in 12 months and needed an umbrella to cover all of those businesses.</p><p class="paragraph" style="text-align:left;">This is my third month in the 12 month journey of startup creation. With that, I hope you enjoy this post about month 3 of building startups!</p><h1 class="heading" style="text-align:left;">An interview? Say what?</h1><p class="paragraph" style="text-align:left;">Yes, you read it right - this month I managed to land an <a class="link" href="https://www.indiehackers.com/post/betting-everything-on-a-single-investment-and-building-12-products-in-12-months-a-peek-at-an-indie-hackers-finances-9bc028d226?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">interview with IndieHackers</a> about my startup journey.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/591ff269-75c5-4768-b716-c4a5772d766d/380922352_1988152394898314_4173180743357762410_n.png"/><div class="image__source"><span class="image__source_text"><p>It’s me on the front page of IndieHackers. <br>Thanks to my buddy AJ for sending me this screenshot!</p></span></div></div><p class="paragraph" style="text-align:left;">If you haven’t heard of IndieHackers, it’s a community of makers motivating each other to ship bootstrapped products and a news site all in one. It’s also been a valuable resource for me for a long time, and some of my heroes in the indie developer community got their start there, so it was quite surreal to wake up and see my mugshot plastered on the frontpage of IndieHackers. </p><p class="paragraph" style="text-align:left;">To be fair, I expected to be featured on the site <i>somewhere</i>, but I didn’t expect to be on the front page with the biggest possible article format. </p><p class="paragraph" style="text-align:left;">That definitely made my morning.</p><h1 class="heading" style="text-align:left;">How I Landed the Interview</h1><p class="paragraph" style="text-align:left;">You might be wondering how I managed to get this kind of interview without any successful products in the market. Well, read on and let me tell you.</p><p class="paragraph" style="text-align:left;">I’d like to say that my products are so cool that people noticed them and wanted to interview me without me saying anything, but the actual story is that a simple misunderstanding/stroke of luck led to this interview!</p><p class="paragraph" style="text-align:left;">The gist of it is that I had randomly commented on another maker’s blog post about launching a privacy-first product just to show appreciation for the post, and a moderator reached out as he also randomly happened to stumble across my comment — he thought, based on what I had written, that I was already doing $10k/month in revenue (I wish!) when in fact I had just tried to get across that my <i>goal</i> was $10k/month. </p><p class="paragraph" style="text-align:left;">I was tempted for a second to respond to him and say “yeah, I’m totally at 10k/month” in the spirit of “fake it till you make it” to get the exposure, but I always feel the right thing to do is to be honest in situations like this which is what I ended up doing:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1c8ace17-e0c7-4007-b1a3-877d1ce413d7/image.png"/><div class="image__source"><span class="image__source_text"><p>How I responded to the moderator comment</p></span></div></div><p class="paragraph" style="text-align:left;">When I didn’t get a response from the moderator after leaving the comment, I followed up via email. Anyone in sales knows that being able to follow-up is one of the most important skills to have as a salesperson, and it certainly proved to be the case here. </p><p class="paragraph" style="text-align:left;">If he still hadn’t responded to email, I would have waited a few days and sent another followup email - but, lucky for me, he responded on his own with a long list of interview questions for me to answer:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1c42e85a-f6b1-44b9-8585-005a71d96661/image.png"/><div class="image__source"><span class="image__source_text"><p>You might have to tap on the image to expand the email thread if it isn’t visible enough on your screen.</p></span></div></div><p class="paragraph" style="text-align:left;">After a few back-and-forths where I filled out all of the questions, had him ask me more questions to get more details, and then asked him to make some edits, the moderator sent me an email back to confirm that the interview was live on the website! </p><p class="paragraph" style="text-align:left;">One tip for getting interviewed: make sure you ask the writer/reporter for a copy of the interview article <i>before </i>it gets posted so that you make edits as necessary. Sometimes, writers and reporters embellish or include details you’d rather not be published and it’s a lot better to catch these sorts of errors beforehand vs. after the article is already live.</p><p class="paragraph" style="text-align:left;">This was definitely the case here, as the author’s original writing style was a bit weird, and some of the sentences came across as robotic. He was very open to feedback and fixed it with a second round of edits, so I’m glad that I was able to ask about it before he hit the publish button.</p><h1 class="heading" style="text-align:left;">The Raw, Unedited Interview</h1><div class="image"><img alt="" class="image__image" style="" src="https://images.unsplash.com/photo-1557804506-e969d7b32a4b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwyNnx8aW50ZXJ2aWV3fGVufDB8fHx8MTY5NjEzNzI0MHww&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@austindistel?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" rel="noopener" target="_blank"><span class="image__source_text"><p>“Fuck it, we’ll do it live!”</p></span></a></div></div><p class="paragraph" style="text-align:left;">Speaking of edits, the article you see posted on IndieHackers is missing some details and is reworded to be in the third person which is not how I answered the questions. </p><p class="paragraph" style="text-align:left;">As such, I thought I’d post the raw, unedited interview here as it includes some extra details you won’t find on IndieHackers. Here it is in its full, unedited glory — enjoy:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Type of commitment (Side-hustle, full-time, etc)</b></p><p class="paragraph" style="text-align:left;">Full-time! I quit my job as a Staff Software Engineer at a big tech company a few months ago to build my own projects full time as a solo maker. Currently building 12 startups in 12 months until something sticks. And, if I have anything to say about it, I’ll never go back to working for a company.</p></li><li><p class="paragraph" style="text-align:left;"><b>Product stage(s) (pre-launch, pre-revenue, early-stage (post-revenue), profitable, making it rain)</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">Just launched <a class="link" href="https://ipsync.link?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://ipsync.link</a> (notifications when static IPs change) as of a couple days ago: pre-revenue</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://simpleotp.com</a> (passwordless authentication SaaS): pre-revenue</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://dynamicduo.gg?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://dynamicduo.gg</a> (game server for the video game Rust): post-revenue</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://printswarm.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://printswarm.com</a> (3d printing as a service): post-revenue, but I shut it down after realizing it wasn’t the type of business that I wanted to run long term</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://which.name?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://which.name</a> (TBD): I bought this domain name without really knowing what to do with it. However, I think it’s a cool domain name and it’s short, so let me know if you want to buy it!</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>Revenue</b></p><p class="paragraph" style="text-align:left;">$5/month 🥲</p></li><li><p class="paragraph" style="text-align:left;"><b>Other sources of income/funding (FT job, savings, etc.)</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">$1,535/month from bond payments (fixed)</p></li><li><p class="paragraph" style="text-align:left;">$1,277/month from stock dividends on average (sometimes more)</p></li><li><p class="paragraph" style="text-align:left;">$317/month from bank interest payments</p></li><li><p class="paragraph" style="text-align:left;">To cover the rest of my expenses, I withdraw from my investment portfolio once per year (see below)</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>How much do you have in your personal and business bank accounts?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">$75k in my personal bank account</p></li><li><p class="paragraph" style="text-align:left;">$250 in my business bank account as reserves. My monthly business spend is basically $0 at the moment (AWS free tier + got approved for $5k in AWS credits for the next 2 years) so I don’t need much at all in my business bank account.</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>How much do you pay yourself?</b></p><p class="paragraph" style="text-align:left;">Since I don’t have any monthly business related expenses and I expect to receive an income tax refund this year, I’m basically taking out 100% of whatever revenue is coming in and transferring it to my personal bank. I haven’t eaten into the $250 in reserves yet.</p><p class="paragraph" style="text-align:left;">I don’t have sales tax to worry about since I use a merchant-of-record (MoR) as my payment processor, so I don’t need to set any money aside to remit sales taxes either.</p></li><li><p class="paragraph" style="text-align:left;"><b>Monthly total of business expenses (break down by expense/category if possible)</b></p><p class="paragraph" style="text-align:left;">I have absolutely zero in monthly business expenses since I’m using the AWS Free Tier and have the $5k in AWS credits as a backup. I also got the domain for my <a class="link" href="https://ipsync.link?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">latest business</a> for free because my business bank was doing a promotion with NameCheap at the time.</p><p class="paragraph" style="text-align:left;">In terms of yearly expenses, I pay $100/year for a game server (for the $5/month in revenue business) and $39.95 in domain renewal fees for all of the domains for the different business ideas I have. Planning on downgrading the game server and therefore paying 50% less next time it renews to make it profitable.</p></li><li><p class="paragraph" style="text-align:left;"><b>Monthly total of personal expenses (break down by expense/category if possible)</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">Rent: $3,200 and this is unfortunately on the low end for a 1 bedroom in the center of my current city</p></li><li><p class="paragraph" style="text-align:left;">Health insurance: $585</p></li><li><p class="paragraph" style="text-align:left;">Utilities: $150</p></li><li><p class="paragraph" style="text-align:left;">Food & Entertainment: $1,400</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>How do you organize your finances? For example, do you have separate bank accounts for business vs personal? And tell me about why you have a holding company.</b></p><p class="paragraph" style="text-align:left;">Yes, I separate business and personal expenses with different bank accounts and different login credentials. I think it’s super important to keep personal stuff separate from business stuff for legal liability reasons, and just to make accounting easier. It’s easier to see how much your business expenses are when they’re all in one place and you don’t have to filter through your personal bank account transactions to see what is business related vs. personal. You can just look at your business bank account and know that every transaction is related to the business.</p><p class="paragraph" style="text-align:left;">I formed a LLC as a holding company for the same reason: I don’t want to mix personal and business, and I want legal protection in case someone tries to sue for whatever reason. Without an LLC, a bad actor can go after your personal assets in a lawsuit which I definitely want to avoid. Also, in general, forming a holding company as a LLC (or equivalent) makes a lot of sense if you’re experimenting with a bunch of different ideas like I am. LLC paperwork at least where I live takes a lot of time, money, and energy - so it’s best to just go through this process one time and spread the legal risk across all of your businesses. In general, whenever there’s a new business, it just gets added to the same holding company instead of being a separate company.</p><p class="paragraph" style="text-align:left;">My main goal with the above legal setup is to have the simplest possible structure that gives me a minimum amount of legal protection and also allows me to operate as easily as possible. This structure also allows me to file one set of tax forms each year and not deal with the complexities of running an offshore business in the beginning.</p></li><li><p class="paragraph" style="text-align:left;"><b>Do you invest? If so, what do you invest in?</b></p><p class="paragraph" style="text-align:left;">Yes, I’ve always been interested in investing. My investments are mainly in stocks and bonds. For stocks, I mostly invest in Vanguard total market ETFs, but I also have some concentrated positions where I think it’s appropriate. For bonds, I invest in both US Government Bonds and small business loans.</p><p class="paragraph" style="text-align:left;">In general, I strongly prefer passive investments and given that I’m likely moving somewhere else within the next few months to lower my expenses, I’m not a fan of real estate. I also contribute 10% of my net worth to “risky” investments. For me, this ends up being 5% of my portfolio in crypto (even split of BTC, ETH, LTC) and 5% in angel investments through Angel List.</p></li><li><p class="paragraph" style="text-align:left;"><b>Do you have any debt?</b></p><p class="paragraph" style="text-align:left;">Zero debt other than the usual credit card balance which I pay off in full every month. I also pay off early if I notice that there’s more than say, a couple thousand dollars, on all of my credit cards combined.</p></li><li><p class="paragraph" style="text-align:left;"><b>How do you handle taxes — do you set aside money each week, pay it all at once...?</b></p><p class="paragraph" style="text-align:left;">I used to do my own taxes and pay it off all at once, but after my portfolio got a bit more complex I started pay a licensed CPA to deal with it once per year. I see that as a worthwhile expense as it saves me an ungodly amount of time (I have 25 different angel investments with long Schedule K-1 forms not to mention stocks and other investments, and entering and checking all of that data manually takes an entire weekend if I’m to do it on my own)</p></li><li><p class="paragraph" style="text-align:left;"><b>Do you budget?</b></p><p class="paragraph" style="text-align:left;">Yes, although not to an extreme extent. I look at my expenses every month in Personal Capital and see how much I’m spending and to make sure my personal burn rate is still on track for the year.</p><p class="paragraph" style="text-align:left;">Regarding burn rate, I’m using the 4% rule (really being even more conservative than that and withdrew less than that last year) to withdraw money from my stock portfolio as needed to cover living expenses.</p></li><li><p class="paragraph" style="text-align:left;"><b>Do you use any apps/tools for your finances?</b></p><p class="paragraph" style="text-align:left;">Personal Capital/Empower to monitor my net worth, Fidelity for stock trading, Coinbase for crypto.</p><p class="paragraph" style="text-align:left;">For anything related to finance, I try to use very well known tools that have been around for 10+ years and have a good reputation in terms of security. I also avoid products like Robinhood that have had multiple controversies or significant outages even if they’re slightly easier to use or have lower fees.</p></li><li><p class="paragraph" style="text-align:left;"><b>What are your thoughts on VC funding vs bootstrapping?</b></p><p class="paragraph" style="text-align:left;">I’d say that I have a healthy distaste for authority (and VC money), so bootstrapping is the way to go for me. I did some <a class="link" href="https://mockernut.substack.com/p/another-month-another-startup?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">soul searching about this recently</a> and realized that I’m the happiest when I get to have complete creative freedom and not have to answer to anyone except the customers of my product.</p></li><li><p class="paragraph" style="text-align:left;"><b>What do you invest in that counterintuitively pays dividends? For example, some people spend a lot on travel but it&#39;s worth it because it inspires them.</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">Travel and motorcycling (I don’t own one anymore, but I like to rent when I’m in a new country) are big ones for me because I find that the best way to get startup ideas is to travel and experience new things in general. Pieter Levels, one of my inspirations for indie hacking, has a great talk about this where he recommends doing new things as a way to figure out what to build next, and I couldn’t agree more. In the past, I actually came up with a business idea related to motorcycling (I had a motorcycle safety website a while ago that made a bit of revenue) just by becoming interested in the hobby and learning more about it than the average person.</p></li><li><p class="paragraph" style="text-align:left;">The latest business I built is an authentication company, and even if no one pays me for it, all of my business ideas need an authentication flow. Instead of paying a 3rd party company thousands of dollars per month at scale to handle authentication, I’m able to use my own service and pay very little to keep it online. In the short term, I spent a month building this product, but in the long run, this should save me a lot of money.</p></li><li><p class="paragraph" style="text-align:left;">Working out and physical fitness: sometimes it’s hard to step away from a difficult problem before it’s solved, but I find that when I’m stuck on a particularly hard problem or there’s something I can’t figure out, picking up a heavy thing and putting it back down a few times does the trick. Working out pays dividends both in terms of mental health and physical health, so it’s a no brainer to lift weights as an entrepreneur even if it doesn’t directly contribute to business results.</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>What&#39;s something that you do that saves you a lot of money.</b></p><p class="paragraph" style="text-align:left;">Besides applying for AWS credits and spending as little as possible on server bills, can I cheat a bit and say what I’m going to do in the next few months to save myself a lot of money? If so, my expenses are quite high at the moment because I live in one of the most expensive places in the world: NYC. Given that I want to be able to indie hack for as long as possible, I applied for a residence visa in another country which will lower my living expenses by ~65-70%. Point being: I’ll do whatever it takes to extend my time building businesses, including leaving the US if necessary.</p></li><li><p class="paragraph" style="text-align:left;"><b>What&#39;s your biggest splurge or guilty pleasure?</b></p><p class="paragraph" style="text-align:left;">I really don’t buy a lot of “things” other than food and drinks and I’m very disciplined when it comes to not splurging on random consumer goods or elecronics, but I’m a mechanical watch nerd and I bought myself a “luxury” watch a couple years ago. To be fair, the watch market went a bit nuts during 2020-2021 and I did research ahead of time to know which brands/models had the best chance of appreciating. So, this one was both a guilty pleasure and a lucky investment - the value of the watch went up by 50% after I bought it, so it ended up making financial sense to buy it as well as it being a splurge.</p></li><li><p class="paragraph" style="text-align:left;"><b>What are your core beliefs about money and where do they come from?</b></p><p class="paragraph" style="text-align:left;">I have a few:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Don’t lose money</p></li><li><p class="paragraph" style="text-align:left;">Don’t buy things that depreciate in value</p></li><li><p class="paragraph" style="text-align:left;">Be greedy when others are fearful (especially if you know something that others don’t)</p></li></ol><p class="paragraph" style="text-align:left;">I think most of this was ingrained into me from a young age. My parents were extremely frugal with money and taught me to respect and invest it properly. I remember being 13 years old and sitting down with my dad to learn about P/E ratios, how to value companies, and other concepts related to the stock market - probably an unusual activity for a 13 year old but it helped me later in life.</p><p class="paragraph" style="text-align:left;">For the third one about being greedy when others are fearful: I know this to be true after experiencing it for myself. A few years ago, I had the opportunity to exercise a bunch of stock options at a startup I was working at — or put a down payment down on a house. Everyone told me to buy the house and that startups were too risky. However, I knew something others didn’t because I was working at the startup: sales were exploding, leadership was making all of the right moves leading to high morale, and business was absolutely taking off. I knew that I might not get another chance to invest in a “rocketship” type of business, so I drained my entire bank account to exercise 100% of my stock options, didn’t buy the house, and ended up making a huge return on my investment when the company went public a couple years later.</p></li><li><p class="paragraph" style="text-align:left;"><b>What&#39;s an unpopular opinion you have about finances?</b></p><p class="paragraph" style="text-align:left;">When trying to build wealth, diversification beyond a certain point is overrated. I’d rather own 20 great stocks than 2,000 mediocre ones.</p></li><li><p class="paragraph" style="text-align:left;"><b>What financial advice are you ignoring?</b></p><p class="paragraph" style="text-align:left;">“Real estate is a great investment” - I won’t deny that there are unique tax benefits to real estate investments and property values generally go up over time, but I don’t want to deal with tenants, termites, and toilets (or giving up 10%+ of my rental income to a property manager). Stocks do better on average anyway in terms of appreciation, and for fixed income I’d rather invest in US government and other bonds for completely passive income. With US government bonds, there are tax benefits so it can often be similar to real estate in that way.</p></li><li><p class="paragraph" style="text-align:left;"><b>What&#39;s one piece of financial advice that you would give to fellow indie hackers?</b></p><p class="paragraph" style="text-align:left;">Don’t be afraid to go all-in on something (a business, an investment, or anything else that you think has a chance to generate a huge return) if you have the chance to do so, especially if you’re young, and have time to rebuild your portfolio if things don’t turn out the way you hoped them to.</p></li><li><p class="paragraph" style="text-align:left;"><b>Anything else you want to say that seems relevant</b></p><p class="paragraph" style="text-align:left;">Check out my 2 newest startups: <a class="link" href="https://ipsync.link?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://ipsync.link</a>, <a class="link" href="https://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://simpleotp.com</a></p><p class="paragraph" style="text-align:left;">Follow my Twitter/Twitch if you’d like to see the process of startups getting built in public! <a class="link" href="https://twitter.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://twitter.com/ben_makes_stuff</a> and <a class="link" href="https://twitch.tv/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://twitch.tv/ben_makes_stuff</a></p><p class="paragraph" style="text-align:left;">I blog about the process of building startups here and also cover some of the financials involved: <a class="link" href="https://ben-makes-stuff.beehiiv.com/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://ben-makes-stuff.beehiiv.com/</a></p></li><li><p class="paragraph" style="text-align:left;"><b>Followups</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Why will you never go back to working for a company?</b></p><p class="paragraph" style="text-align:left;">Okay, to be fair, I never <i>really</i> say never about anything, but I very much enjoy working for myself and don’t want to do anything else. The short of it is that I’m a creative person and I find that building a business solo is the best form of creative freedom I’ve ever had. When working for a company, even a small startup with 2 employees, there will always be some kind of manager/CTO telling you what to work on next, you’ll have to ask for approval to take time off, and so on. I’d rather make those calls myself (with customer input of course with respect to the stuff to work on)</p></li><li><p class="paragraph" style="text-align:left;"><b>How much runway did you have when you left your job?</b></p><p class="paragraph" style="text-align:left;">I saved up several years of runway before quitting. I did this primarily because:</p><p class="paragraph" style="text-align:left;">a) I know that a lot of popular businesses that took off took multiple years to get to true product-market-fit</p><p class="paragraph" style="text-align:left;">b) I’ve known more than a few people that quit to run a startup with almost no runway (they had ~6 months or less), then had to sheepishly ask for their old job back or take contracting work/odd jobs which distracted them from running a business when they ran out of money. I never want to be in that position.</p><p class="paragraph" style="text-align:left;">c) I don’t want to work with VCs and have a general sense of distrust for the profession. They’re not all bad, but I like setting my own goals and don’t have a problem holding myself accountable, plus software businesses are cheap to operate - so I don’t see any reason to take money upfront. The only reason I would do that is if I felt financially insecure or didn’t have enough runway.</p></li><li><p class="paragraph" style="text-align:left;"><b>Why did you decide to go all-in on indie hacking? And why did you decide to do a 12x12?</b></p><p class="paragraph" style="text-align:left;">Four reasons:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">I’ve always had an itch to build startup ideas. This started from a fairly young age when I built a web hosting reseller business at 16 out of my parents’ house and made a few hundred dollars. That was huge money in high school and it sort of flipped a switch in my brain where I then had an urge to work on more startups - but I took a (long) detour to go to university, work several software engineering jobs to get better at my craft, learn about different mistakes/good ideas other business owners had while starting their respective tech startups, and save up money. I’m really happy I took the extra time to learn more things at the end of the day and don’t regret doing that at all, but I also realized it was time to move on recently for a few reasons (see the remaining 3 reasons below)</p></li><li><p class="paragraph" style="text-align:left;">Some time in the last year, I watched an old talk by Pieter Levels/@levelsio which was super inspiring: <a class="link" href="https://www.youtube.com/watch?v=6reLWfFNer0&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://www.youtube.com/watch?v=6reLWfFNer0</a>. Highly recommend watching this! Pieter is basically in the Olympics of indie hacking if you look at his profit numbers which he posts on his twitter bio - I want to get there some day. I believe he was also the first person to publicly try the 12 startups in 12 months thing, and this video/some of his other twitter content inspired me to do the same.</p></li><li><p class="paragraph" style="text-align:left;">There’s a famous Jeff Bezos quote about “regret minimization” that resonated with me - I realized that I didn’t want to be on my death bed wishing that I had gone after a dream of building my own business ideas, but instead had worked a job that I wasn’t completely satisfied with just because it was the “safe” option.</p></li><li><p class="paragraph" style="text-align:left;">My mental health was suffering. I was finding myself struggling to get out of bed most days of the week because I was dreading going to work, and one day a few months ago, after a <i>particularly</i> long week of meetings that completely drained me of any energy that I had left, I went to sleep, woke up the next morning and realized “Hey, wait a minute. I’m clearly not enjoying my job anymore, and I have enough money saved. Why don’t I just go after what I’ve always wanted to do and try starting some startups until something works?” I submitted my resignation the following week.</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>Which product is generating $5/mo?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://dynamicduo.gg?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://dynamicduo.gg</a> - players pay for VIP subscriptions to get colored usernames and special Discord access. It used to do a <i>whopping</i> $15/month, but a few players stopped playing the game (and I think the game is generally waning in popularity) so now there’s only one person paying $5. That one person: you know who you are, I appreciate you! 🙂</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>Why didn&#39;t you want to run printswarm long-term?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">I wrote an entire blog post discussing this here: <a class="link" href="https://ben-makes-stuff.beehiiv.com/p/month-1-beginning?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://ben-makes-stuff.beehiiv.com/p/month-1-beginning</a> — at a high level, I already spent 7 years of my life working on logistics software, and I realized once I got into the weeds of the printswarm business that I’d end up needing to build the exact same thing with this idea. Also, I anticipated a bunch of legal/support problems that would be painful for a solo founder to deal with at scale that I outlined in the blog post. Give it a read if you’re interested in my thought process here!</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>Tell me more about your bond payments and stock dividends. How does that work? And those are pretty big - how much do you have invested?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">I invest in small business bonds through <a class="link" href="https://thesmbx.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://thesmbx.com</a> (SMBX is very high risk as you can imagine as they deal with small business bonds, but certain bonds I invested in that are no longer available on the marketplace are paying me a 30%+ of my money back each month — not all of that is interest) and very safe US Government bonds paying ~5% in interest every month (these government bond rates won’t last forever of course, interest rates are variable)</p></li><li><p class="paragraph" style="text-align:left;">Again, note that the majority of this payment is principal from SMBX and <b>not interest</b> which is why the payment looks a bit high. The actual amount I’ve made on top of my original investment is lower.</p></li><li><p class="paragraph" style="text-align:left;">I don’t feel comfortable giving out how much exactly I have invested, but in terms of percentages, I generally follow the “your age as a % in bonds” rule for knowing how much to allocate. That percent is mostly allocated to the safe US government bonds (Treasury Bills)</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>How did you get approved for $5k in free credits? How can others do the same?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">I did some research on completely free (no fee) small business banks when I was setting up the LLC, and <a class="link" href="https://mercury.com/r/mockernut?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">Mercury</a> had this as one of their perks. Sign up, then just click the “Perks” menu (it’s under your profile tab at the bottom left of the screen) after you get approved and log in.</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>How did you save up $75k?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">I worked as a Software Engineer at a big tech company that paid me about $12k/month in base salary after taxes + 401k contributions. From that $12k, I saved $6k or more each month and it took me around a year to get to $75k doing that. I also did a couple of short term consulting calls over the course of the year which made up a few hundred dollars of that $75k.</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>Why do you expect an income tax refund?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">I worked for my previous employer until May, and while I got my usual paycheck + stock grants until then, I used Tax Loss Harvesting with $VTI ↔ $SCHB to generate enough of a loss (the market was in the dumps at the time, so most of my tax lots were at a loss) to offset any capital gains taxes I would otherwise have to pay. Also, my business isn’t making enough money to impact my taxes at this point - $5 in MRR and all 🙂</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>What do you include as &quot;Entertainment&quot; expenses?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">Bars, restaurants, movies, concerts - roughly equal split between all of them except movies which I rarely go to. I live in New York City so I do like to spend more on all of the amazing food/entertainment options around here and go out to meet friends vs. doing too much cooking at home.</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>Where are you living right now?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">New York City</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>So do you bother incorporating your new products or do you have DBAs or do you just pretend like they&#39;re one business?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">They’re all under one legal entity (one LLC), and I just create a DBA for each new idea if said idea is expected to do sales in the near future. The DBAs are associated with the LLC, not with me personally.</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>Tell me more about your &quot;concentrated positions&quot;.</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">This was really a reference to the stock options I was able to exercise (all in one private company), and that sometimes taking on concentration risk by exercising stock options early is appropriate if you happen to work at the company as you can see how it operates, giving you an advantage over people that don’t work there. Note: this is <b>not</b> a suggestion to trade stocks on insider information such as internal company financials as that’s against the law in the US for both public and private companies. Don’t do that. You might want to consider exercising early however if you think the company is going to do well over the next few years as there are tax benefits if you happen to be right. Talk to a tax advisor before doing something like this, it can get complex.</p></li></ol><p class="paragraph" style="text-align:left;">*The way stock options work at startups is that you have to pay to exercise them at a certain fixed price (the current private market valuation of the company dictates the price) - then you can only sell them much later upon a liquidity event like an IPO which is what I was luckily able to do a few years later when the IPO was unexpectedly announced right before it was supposed to happen (they do that on purpose to avoid people leaking information or violating the law/doing insider trading)</p></li><li><p class="paragraph" style="text-align:left;"><b>Why do you pay off credit cards early if they&#39;re over $3k?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">I like to have a very high credit score at all times in case I decide want to apply for a loan or anything like that, and it’s also important to be able to rent an apartment (my lease is up soon). Having very low “credit utilization” by maintaining a near zero balance is one way to boost your score along with paying on time every month and in full.</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>How much do you have invested as an angel? And in crypto?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">Not comfortable sharing exact amounts.</p></li><li><p class="paragraph" style="text-align:left;">In terms of percentages: both of these are very risky and speculative and I don’t want to encourage people to lose their money. I only put in 5% of my net worth at the time into crypto and 5% to angel investing and stopped once I hit those thresholds for that reason.</p></li><li><p class="paragraph" style="text-align:left;">There are a few sites you can use to invest in startups without significant net worth requirements:</p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://wefunder.com/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">Wefunder</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.seedinvest.com/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">SeedInvest</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.startengine.com/explore?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">StartEngine</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://republic.co/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">Republic</a></p></li></ul></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>What is your net worth? And how did you get to that level — was it all thanks to the stock options at the startup that you mentioned?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">Not comfortable sharing my exact net worth. Let’s say the exit is one of the things that allowed me to quit my job confidently and move onto what I really wanted to do the whole time: indie hacking.</p></li><li><p class="paragraph" style="text-align:left;">Exercising stock options and selling when the time was appropriate did improve my net worth, but I wouldn’t have been able to do that had I not been disciplined and consistently saved money. The lesson here is to save 50% of your income or more and do that for years on end. Then, when the timing is right and you have some money to play around with, invest in something that has a chance to make a significant return (like your own startup or exercise stock options at a startup you’re working at).</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>How much did your watch cost?</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">$5,900 - most expensive single purchase of a “thing” I’ve ever made in my entire life! I also have insurance that covers it in case it gets lost/stolen. Plan on keeping it forever.</p></li></ol></li><li><p class="paragraph" style="text-align:left;"><b>Please send me a photo of yourself, a screenshot of any revenue graphs if applicable and links to your socials.</b></p><ol start="1"><li><p class="paragraph" style="text-align:left;">Socials:</p><p class="paragraph" style="text-align:left;">Check out my 2 newest startups: <a class="link" href="https://ipsync.link?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://ipsync.link</a>, <a class="link" href="https://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://simpleotp.com</a></p><p class="paragraph" style="text-align:left;">Follow my Twitter/Twitch if you’d like to see the process of startups getting built in public! <a class="link" href="https://twitter.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://twitter.com/ben_makes_stuff</a> and <a class="link" href="https://twitch.tv/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://twitch.tv/ben_makes_stuff</a></p><p class="paragraph" style="text-align:left;">I blog about the process of building startups here and also cover some of the financials involved: <a class="link" href="https://ben-makes-stuff.beehiiv.com/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">https://ben-makes-stuff.beehiiv.com/</a></p><p class="paragraph" style="text-align:left;">Rev graph from PrintSwarm before I shut it down:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/01a34142-6c41-4a90-91aa-3d35d31262ee/image.png"/></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Rev graph for <a class="link" href="http://DynamicDuo.gg?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" target="_blank" rel="noopener noreferrer nofollow">DynamicDuo.gg</a> for the past year (right click → view original):</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/51f8ef2c-43da-4368-bfa6-5761c0ccebbd/image.png"/></div></li></ol><p class="paragraph" style="text-align:left;"><b>19. You seem to know a lot about investing. What is your advice to beginner investors? What can they do to build wealth quickly?</b></p><p class="paragraph" style="text-align:left;">For beginner investors, I would really just suggest long term thinking and not being in too much of a hurry to make trillions of dollars.</p><p class="paragraph" style="text-align:left;">The most important thing you can do when you’re getting started with investing is to get a high paying job or start a startup that does significant revenue so that you have money to invest in the first place.</p><p class="paragraph" style="text-align:left;">Being wealthy means different things to different people, that said, once you have money to invest: concentration and taking calculated risks, always with some degree of speculation, is one way to build wealth quickly. However, I would suggest concentration only in scenarios where you have some kind of advantage and to exercise caution as these are scenarios where you can <b>easily lose your entire investment</b>. Here are a few examples of times you might consider a concentrated investment either in time or in money, or both:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">It’s your own company that you’ve founded in a niche that you completely understand and ideally you have enough savings to hold you over for a few years. In this scenario, consider quitting your job and not necessarily going “all in” financially in terms of putting all your money in the company, but at least dedicating 100% of your time to the company for a few years and seeing what happens.</p></li><li><p class="paragraph" style="text-align:left;">You work at a startup and know they’re growing quickly, morale is high, you like the management team, and the next few years seem like they could be promising given the market for the product. I’m not saying to use any material non-public information like internal company financials and trade shares on the secondary market (that would be insider trading, don’t do that), but consider exercising any stock options they’ve given you early, or otherwise not selling any shares you’ve received for a few years to realize their full potential/some kind of IPO or public acquisition event if you’re reasonably confident something like that might happen. Wait for a few years and see what happens.</p></li><li><p class="paragraph" style="text-align:left;">A friend starts a company and asks for angel investments. Similar situation as #2 as these are very illiquid investments and you will need to wait years to see a return on your money - you also better know the founders and the market extremely well before making an investment.</p></li></ol></li></ol></li></ol><h1 class="heading" style="text-align:left;">Until Next Month</h1><div class="image"><img alt="" class="image__image" style="" src="https://images.unsplash.com/photo-1559827260-dc66d52bef19?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0ODM4NTF8MHwxfHNlYXJjaHwxfHx3YXZlfGVufDB8fHx8MTY5NjEzNzI5Mnww&ixlib=rb-4.0.3&q=80&w=1080&utm_source=beehiiv&utm_medium=referral"/><div class="image__source"><a class="image__source_link" href="https://unsplash.com/@silasbaisch?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-3-getting-interviewed-by-indiehackers-com" rel="noopener" target="_blank"><span class="image__source_text"><p>Wave…ing goodbye. Get it?</p></span></a></div></div><p class="paragraph" style="text-align:left;">I hope you enjoyed the interview! See you again this time next month - this month, I’m working on an idea in the AI space which should be exciting for all developers that deal with large codebases. </p><p class="paragraph" style="text-align:left;">If you’d like to hear about that, <b>be sure to subscribe</b> and you’ll get a notification next month when I write about it! Cheers.</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=4a8f7392-3b31-4d19-baa1-9e31624d88ac&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Month 2: The Power of a &quot;Win-Win&quot; Idea and Sales Tax Struggles</title>
  <description>Success isn&#39;t always measured in monetary terms, and sales tax law is a pain in 2023.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/10169a5b-fbb0-4ffb-80e8-6e5f76c92a8a/photo-1584134239909-eb4800257d6a.jpeg" length="79003" type="image/jpeg"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/month-2-power-winwin-idea-sales-tax-struggles</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/month-2-power-winwin-idea-sales-tax-struggles</guid>
  <pubDate>Sat, 09 Sep 2023 01:17:02 +0000</pubDate>
  <atom:published>2023-09-09T01:17:02Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;"><b>Before you start reading this post: Check out </b><a class="link" href="https://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-2-the-power-of-a-win-win-idea-and-sales-tax-struggles" target="_blank" rel="noopener noreferrer nofollow"><i><b>Simple OTP</b></i></a><i><b>, my most recent startup, </b></i><b>for your passwordless authentication needs. In any case, enjoy this blog post!</b></p><figcaption class="blockquote__byline"></figcaption></blockquote></div><h1 class="heading" style="text-align:left;">Hey 👋</h1><p class="paragraph" style="text-align:left;">Hey there, I’m <a class="link" href="http://twitter.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-2-the-power-of-a-win-win-idea-and-sales-tax-struggles" target="_blank" rel="noopener noreferrer nofollow">Ben</a>, the founder of Mockernut Ventures! MV is the holding company for all of my indie startup ideas and what this blog is named after. Why do I have a holding company? Well, I quit my full-time job at a big tech company a few months ago and committed to building 12 startups in 12 months and needed an umbrella to cover all of those businesses.</p><p class="paragraph" style="text-align:left;">This is my second month in the 12 month journey of startup creation. With that, I hope you enjoy this post about the second month of building startups!</p><h1 class="heading" style="text-align:left;">New Month, New Priorities</h1><div class="image"><img alt="sunlight during daytime" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/555f6ad5-3431-4850-a9d0-8fdd7f84aabf/photo-1541429275229-9e93856df91b.jpeg"/></div><p class="paragraph" style="text-align:left;">After finishing <a class="link" href="https://mockernut.substack.com/p/another-month-another-startup?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-2-the-power-of-a-win-win-idea-and-sales-tax-struggles" target="_blank" rel="noopener noreferrer nofollow">month 1</a> by shutting down my <a class="link" href="https://printswarm.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-2-the-power-of-a-win-win-idea-and-sales-tax-struggles" target="_blank" rel="noopener noreferrer nofollow">3D printing startup</a> that made some money but wasn’t a good fit for my lifestyle, I decided it was time to build a startup idea that aligned more closely with what I enjoy doing. That meant focusing on something that didn’t involve delivering physical goods to humans, a task I had spent the last 7 years of my life automating at various tech companies. </p><p class="paragraph" style="text-align:left;">After some thought and looking through my list of ideas, I decided on <a class="link" href="http://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-2-the-power-of-a-win-win-idea-and-sales-tax-struggles" target="_blank" rel="noopener noreferrer nofollow">Simple OTP</a>, an authentication startup and spent the last month building it from zero to one. You might be asking yourself: “why launch yet another authentication company? Competitors already exist.” Well, as it turns out, there are a few reasons why this made sense to focus on as my next idea:</p><ul><li><p class="paragraph" style="text-align:left;">Competitors existing isn’t a good enough reason to not work on something. It means there’s a pre-validated market already there which can be an advantage.</p></li><li><p class="paragraph" style="text-align:left;">My thinking at the time was: “I can provide a better customer experience and faster authentication using newer algorithms for less money than anyone else is charging.” And, especially now that I’m done building an authentication service from scratch, the cost of operating it is very minimal and there’s no reason (besides greed) to overcharge customers to the extent that it is being done today.</p></li><li><p class="paragraph" style="text-align:left;">Most importantly, and getting to the point of the title: <b>even if I don’t get a single customer for </b><a class="link" href="http://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-2-the-power-of-a-win-win-idea-and-sales-tax-struggles" target="_blank" rel="noopener noreferrer nofollow"><b>Simple OTP</b></a><b>, passwordless authentication is something that I need for every single one of my startup ideas. </b>Building authentication upfront means that I never have to worry about it again. </p></li></ul><p class="paragraph" style="text-align:left;">You might recognize that this is the classic “build vs. buy” decision point. Here, I chose to build. Why did I choose to build? Because building this particular idea means that I can’t lose. And why can’t I lose with this idea? Read on!</p><h1 class="heading" style="text-align:left;">All I Do Is Win, Win, Win No Matter What</h1><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/GGXzlRoNtHU" width="100%"></iframe><p class="paragraph" style="text-align:left;">The first reason this idea is a win is because it saves me money in the long term - DJ Khaled is right, I do have money on my mind. Of course, I could use a competitor’s product instead of building, but such a move would require me to:</p><ul><li><p class="paragraph" style="text-align:left;">Spend thousands of dollars per month for only a few thousand monthly-active-users (MAUs). </p></li><li><p class="paragraph" style="text-align:left;">Sell user data to a 3rd party company who may decide to sell user emails to the highest bidder (looking at you, Facebook and Google Login).</p></li><li><p class="paragraph" style="text-align:left;">Lose out on flexibility: if I ever want to change password encryption algorithms, host the auth server myself to own my own user data, I can’t because I don’t own the authentication code.</p></li><li><p class="paragraph" style="text-align:left;">To that end, be okay with vendor lock-in: </p><ul><li><p class="paragraph" style="text-align:left;">Auth companies use proprietary authentication libraries that are not compatible with each other. Having to switch libraries later will waste time as I’ll need to replace all references of the old library in my frontend and backend apps.</p></li><li><p class="paragraph" style="text-align:left;">Companies that offer social login, especially Facebook in my experience, are known to deactivate apps that they think are abusing their impossible-to-understand ToS and are notoriously difficult to get in contact with. At a previous employer, Facebook decided to turn our app off for some reason, which caused major issues with signup conversion. We couldn’t do anything but spam Facebook with support requests until they finally relented and re-enabled the app, and I don’t want to put myself in that position again where someone else controls the ability for my website visitors to sign up.</p></li></ul></li></ul><p class="paragraph" style="text-align:left;">Given the above problems, I decided to build. Also, just by building <i>something</i> in general, I also achieved some secondary benefits that I wouldn’t have otherwise. These benefits were only achieved now because last month’s idea lent itself to no-code, so I didn’t write any code - this is the first month where I actually wrote software, because it’s impossible to no-code your way into an authentication product. Here are those secondary benefits of building something:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">I didn’t have a decent landing page template. Now I do. I can clone this template in 30 seconds and change the wording for the next idea.</p></li><li><p class="paragraph" style="text-align:left;">I had never added a payment processor into an app before. Now I have, and I’ve already ironed out all of the “gotchas” so the next integration will go that much faster. I’ve also educated myself on sales tax law and found out the common advice of “just use Stripe” doesn’t make any sense for Software as a Service (SaaS) vendors. I’ll expand more on that below.</p></li><li><p class="paragraph" style="text-align:left;">I didn’t know anything about Tailwind CSS, now I have prebuilt components I can use in any of my apps to make development faster.</p></li><li><p class="paragraph" style="text-align:left;">I hadn’t deployed a backend web service in a long time, and by building with the latest version of Go and writing a CI pipeline script with GitHub Actions to deploy AWS Elastic Beanstalk, I was able to put together a template repository that I can quickly duplicate when starting on a new project.</p></li></ol><p class="paragraph" style="text-align:left;">I estimate that by having all of the above in place I’ve saved myself 2+ weeks of development effort on any future idea, so this will continue to pay dividends for a long time. </p><p class="paragraph" style="text-align:left;">Speaking of dividends and percentages of revenue, let’s talk payment processors.</p><h1 class="heading" style="text-align:left;">I Got Money On My Mind</h1><div class="image"><img alt="man in black framed sunglasses holding fan of white and gray striped cards" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f7069595-f0e4-4864-a6db-da45e2d7fddf/photo-1584134239909-eb4800257d6a.jpeg"/></div><p class="paragraph" style="text-align:left;">What do you do when you need to collect money for your SaaS company? You integrate a payment processor. Which one comes to mind first? That would of course be Stripe. </p><p class="paragraph" style="text-align:left;">Indeed, the common advice in startup land seems to be: “just use Stripe” or at a minimum “just use Stripe, and only switch to another payment processor later when you start doing real revenue.” Unfortunately, if you want to comply with the law without jumping through a million hoops, “just use Stripe” is terrible advice in 2023. Don’t get me wrong, Stripe is a great product overall and their API docs are amazing - but their Tax offering is just not good enough for entrepreneurs who want to sell globally today.</p><p class="paragraph" style="text-align:left;">Why is this? We have to look at history. When Stripe was founded approximately 13 years ago, sales tax law for online products was still being defined. Countries hadn’t caught onto the SaaS craze and you could basically just register for tax where you lived, collect payments globally, and not worry much about it as it was a “gray area.” Oh boy has that changed, and not for the better:</p><ul><li><p class="paragraph" style="text-align:left;">Sales are moving to be increasingly global as the median household income improves worldwide. As a result, every country in the world now wants a piece of the SaaS pie, and they have laws to make sure they’ll get that money from you. It’s an absolute nightmare to try to understand and comply with all of these different laws. One payment processor has written an absolutely great <a class="link" href="https://tax-agony.paddle.com/?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-2-the-power-of-a-win-win-idea-and-sales-tax-struggles" target="_blank" rel="noopener noreferrer nofollow">tax agony around the world</a> guide that explains just how much of a pain this is in 2023.</p></li><li><p class="paragraph" style="text-align:left;">Some countries are more difficult than others and don’t even apply limits on when to start collecting sales tax. The US is mostly reasonable about this - most states require $100k or more in sales (or some high number of unique purchases in a given state) before you need to start remitting sales tax. So, if you have a product that only applies to people living in the US, you’re probably fine to use Stripe at the beginning.</p></li><li><p class="paragraph" style="text-align:left;"><b>However, the UK requires you to register and remit sales taxes for a single sale regardless of the order value,</b> even if you just sold a single $1 stick of gum to someone in London who happened to find your website randomly. I don’t know about you, but I don’t specifically advertise my products to US customers - I want to sell to everyone and capture as much revenue as possible. Given that, do you really want to go to sleep at night worrying about if your sales tax registrations are up-to-date based on whichever customers happen to find your website? I don’t, but if I had stuck with Stripe I would have been in that position.</p></li><li><p class="paragraph" style="text-align:left;">Some countries like the US require sales tax for <i>any kind</i> of SaaS transaction, whereas others only require it for B2C transactions (B2B are exempt). Unfortunately, Stripe doesn’t have the ability to <i>require</i> collection of a VAT/Business ID number from customers (it only shows the field as optional on their self-checkout page), so you’ll have to either build a custom payments UI or chase down customers after the fact if you want to prove that a given transaction is truly a B2B transaction when using Stripe Checkout. Is the law really going to come after you for this? Probably not if you’re a small company, but why take the chance? For the same reason, it’s a good idea to pay your income taxes every year if you don’t want to get into legal hot water.</p></li></ul><p class="paragraph" style="text-align:left;">So why is Stripe and Stripe Tax not good enough in 2023? It costs you more money per transaction to enable Stripe Tax (an additional fee is charged) and it only solves part of the problem! Stripe Tax will happily tell you how much you owe in tax globally and give you a nice report to work with every quarter, but:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">You need to manually add every single tax registration that you have to Stripe Tax for that report to be correct. This is particularly problematic because if you’re not carefully watching your sales, and someone happens to buy in a “difficult” country like the UK, you may not even know that you need to add a new registration =&gt; you’re now out of compliance with the law without even trying, congratulations.</p></li><li><p class="paragraph" style="text-align:left;"><b>Most importantly, Stripe Tax does not remit taxes for you</b>. What does that mean? Every single quarter (or every month, or every year - it all varies on the jurisdiction and how much revenue you’re doing) you will have to log into different foreign government websites and send them the sales tax that you had to legally collect from customers in their region if you happened to make sales that went over their threshold. Again, if anyone in the UK buys a single product from you for example, you’re already over the threshold because there is no threshold and you need to start worrying about this.</p></li></ol><p class="paragraph" style="text-align:left;">If this all sounds like a nightmare to you (it certainly did for me), Stripe isn’t a good choice. You instead need to use a Merchant of Record who will basically resell your product on your behalf and take care of 100% of the sales tax obligations for you. No need to register for tax at all! There are two common MoRs that a lot of SaaS entreprenurs use:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://lemonsqueezy.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-2-the-power-of-a-win-win-idea-and-sales-tax-struggles" target="_blank" rel="noopener noreferrer nofollow">Lemon Squeezy</a>: I like this one the best. It’s a relatively new product and they’re still ironing out some bugs/have a few communication issues, but I’ve found their support to be helpful and they use Stripe behind the scenes for all payments. This gives me confidence that credit cards will be charged properly since Stripe has perfected this. They also have useful features like a free affiliate program for your website, free cart recovery automation (Stripe just says “configure a webhook URL and handle cart recovery yourself” — so this feature is much better than what Stripe offers), and their admin portal is clean and operates just like Stripe (it has test and production mode).</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://paddle.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-2-the-power-of-a-win-win-idea-and-sales-tax-struggles" target="_blank" rel="noopener noreferrer nofollow">Paddle</a>: I actually tried to integrate with them first, but their support flagged my website for some reason and they were very picky about asking for a bunch of documents before I could get started. I didn’t feel like dealing with all of this, so I decided not to work with them. I’ve also heard some reports of their support being generally difficult to deal with, but I have no firsthand experience with them in production and your mileage may vary.</p></li></ol><p class="paragraph" style="text-align:left;">What’s the downside of a MoR? Well, their fees mainly. Lemon Squeezy and Paddle both charge a minimum of <b>5% per transaction</b>, which is quite a bit higher than the standard 2.9% + $0.30 Stripe charges. Lemon Squeezy also charges a bit more on top of their 5% per transaction fees for PayPal transactions and international, so you may end up paying closer to 6-7% in fees for some transactions. Paddle offers cart recovery, but charges extra for it whereas Lemon Squeezy does not, so you might also pay more than you bargained for if using Paddle.</p><p class="paragraph" style="text-align:left;">However, when evaluating using a MoR at all, you have to consider the whole picture: is it worth paying a few more points in revenue to never have to deal with sales tax again, plus not having to build cart recovery or an affiliates/referral program yourself?</p><p class="paragraph" style="text-align:left;">I’d say hell yes to that question, and for that reason, I ditched Stripe and used Lemon Squeezy for the Simple OTP launch which went swimmingly. I’ll continue to use them for future products unless I happen to come up with something that is “US only.”</p><h1 class="heading" style="text-align:left;">That’s All For Now</h1><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="focus photography of woman hand with peace sign" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/a2f0a77b-7f45-4fd8-b206-ee499f82b213/photo-1491439833076-514a03b24a15.jpeg"/></div><p class="paragraph" style="text-align:left;">I hope you enjoyed this month’s progress report. See you again this time next month - I’m sure I’ll have even more to write about after launching my next idea in the network security space.</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=f015d4f6-9af8-4ef5-924b-ab93f7c4a194&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Month 1: The Beginning</title>
  <description>The first month of the 12 startups in 12 months challenge is in the books. Here&#39;s what happened in month 1.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f1619158-79d1-4ef9-9b64-8e36e05a98ff/photo-1491308056676-205b7c9a7dc1.jpeg" length="49294" type="image/jpeg"/>
  <link>https://ben-makes-stuff.beehiiv.com/p/month-1-beginning</link>
  <guid isPermaLink="true">https://ben-makes-stuff.beehiiv.com/p/month-1-beginning</guid>
  <pubDate>Tue, 01 Aug 2023 18:40:35 +0000</pubDate>
  <atom:published>2023-08-01T18:40:35Z</atom:published>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;"><b>Before you start reading this post: I’ve built a new product this month, </b><a class="link" href="https://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-1-the-beginning" target="_blank" rel="noopener noreferrer nofollow"><i><b>SimpleOTP</b></i></a><i><b> </b></i><b>- check it out and let me know what you think in the comments. In any case, enjoy this blog post!</b></p><figcaption class="blockquote__byline"></figcaption></blockquote></div><h1 class="heading" style="text-align:left;">Hey 👋</h1><p class="paragraph" style="text-align:left;">Hey there, I’m <a class="link" href="http://twitter.com/ben_makes_stuff?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-1-the-beginning" target="_blank" rel="noopener noreferrer nofollow">Ben</a>, the founder of Mockernut Ventures! MV is a brand new holding company for all of my indie startup ideas. I’ll also say that this is my first full-length blog-style post in a very long time, probably since I had a Xanga (anyone remember that website?) back in 2004 or so.</p><p class="paragraph" style="text-align:left;">Getting to the point of this post: I didn&#39;t announce this until now, but I&#39;ve decided to take the &quot;launch 12 startups in 12 months&quot; challenge and July was my first month as a part of the challenge, so this post will cover what happened during July.</p><p class="paragraph" style="text-align:left;">I’ll do follow-up posts each month to cover successes and failures from the previous month and previous startup idea until I have something that works, so be sure to subscribe if you’re interested in this kind of content.</p><h1 class="heading" style="text-align:left;"><b>Finding the Right Founder-Market-Lifestyle Fit</b></h1><div class="image"><img alt="man staring at white sky taken at daytime" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/6a53bba5-3e8b-47d9-9d59-12331f50dabc/photo-1491308056676-205b7c9a7dc1.jpeg"/></div><p class="paragraph" style="text-align:left;">In mid July, I launched <a class="link" href="http://PrintSwarm.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-1-the-beginning" target="_blank" rel="noopener noreferrer nofollow">PrintSwarm.com</a>, a crowdsourced 3d printing and delivery service that I had been thinking about building for some time. I had positive feedback from early customers post-launch, but after running the business for a few weeks and making a few sales, I came to the conclusion that it wasn&#39;t the right type of business for my ideal lifestyle. I know what you’re thinking: “You’re just going to throw that revenue away? Revenue is not that easy to come by, and you should keep working on the business!”</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/036a52db-1cd5-4e90-8cc5-ade75a4e8557/894733f8-1b39-4676-b7df-2f938c595302_517x336.png"/><div class="image__source"><span class="image__source_text"><p>The revenue PrintSwarm did over the few weeks it was in operation.</p></span></div></div><p class="paragraph" style="text-align:left;">Here’s the thing: I’m exceptionally lucky to have found a business that did revenue on day 1. That’s a bit like winning the lottery. At the same time, a lot of people in the startup space talk about having &quot;founder market fit,&quot; and while this usual advice of working on something that you have intimate knowledge of is a clear advantage for any business you might be interested in starting, there&#39;s an even more important question to consider: <b>&quot;Will the business I&#39;m interested in starting allow me to have the lifestyle I want?&quot;</b></p><p class="paragraph" style="text-align:left;">I’ll call this concept &quot;founder-market-lifestyle fit&quot; or FMLF (not to be confused with FML - life is going great, thank you). How do you know if you have FMLF? Well, you should first realize that there are no right answers, except for whatever is right for you. For example, if you don’t want a cofounder, don’t get one and don’t pay attention to the standard advice of “you must have a cofounder and VC funding to have a successful business.” That sort of advice is usually given by people that are VCs or have a vested interest in having you run a certain type of business, much like a slimy used car salesman wants to sell you a car and not a bicycle even if your commute to work is only a mile long. The truth is that this type of advice makes sense for certain types of businesses and founders and doesn’t for others: put simply, it’s entirely situational. So, instead of taking this kind of common advice as the law, ask yourself the following questions and think carefully about your answers to come to a conclusion:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Do you want to hire a team to support you, take on millions in VC funding, grow at 50%+ month-over-month (which is about what VCs will expect for an early stage startup - VCs are after growth and an extremely high ROI at the end of the day), and shoot for a multi-billion dollar exit? In other words, do you want to run a “high growth” company? My previous employer, DoorDash, and some of my previous colleagues - once they moved onto their own startups - did this very successfully and it was the right fit for them. It might be for you too.</p></li><li><p class="paragraph" style="text-align:left;">How many employees do you want to have?</p></li><li><p class="paragraph" style="text-align:left;">Do you want a cofounder? How many? What job functions should they have?</p></li><li><p class="paragraph" style="text-align:left;">Do you want to run a business that deals mostly with the physical world or one that exists mostly on the internet? As a general rule, software-as-a-service companies are cheap to operate, whereas hardware companies are expensive and might require significant upfront capital - so this is an important question to ask yourself.</p></li><li><p class="paragraph" style="text-align:left;">Can you support yourself living off your savings for multiple years? Even if you can, do you want to?</p></li><li><p class="paragraph" style="text-align:left;">On a scale of passive to active income, recognizing that nothing is truly passive, where are you comfortable with your business being? (1 being almost completely passive and 10 requiring all of your time and energy)</p></li><li><p class="paragraph" style="text-align:left;">What does success mean to you? Is it a multi-billion dollar exit, enough monthly income to support your lifestyle, or something in between?</p></li><li><p class="paragraph" style="text-align:left;">Does the problem space of the business you want to start truly excite you? As the saying goes: &quot;if it&#39;s not a fuck yes, it&#39;s a no.&quot; Excitement wears off in due time, but it’s always better to work on something you’re truly interested in from the beginning.</p></li></ol><p class="paragraph" style="text-align:left;">Now, when I asked myself all of these questions - and it wasn&#39;t quick, it took several months of contemplation, plus talking to more than 20 prospective co-founders about their ideas (some of them were great ideas that I liked and heavily considered working on, but none were a “fuck yes”), plus launching my first startup idea by myself to come to this conclusion - my honest answers were:</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>No to all parts of this question</b>. I want to have a healthy growth rate that I set myself and hold myself and only myself accountable. At the end of the day, I don’t want to answer to anyone but my customers.</p></li><li><p class="paragraph" style="text-align:left;"><b>Zero</b>. I would however consider hiring a few contractors as necessary, once the business takes off, in order to free up my own time.</p></li><li><p class="paragraph" style="text-align:left;"><b>No cofounders</b> for similar reasons to #1.</p></li><li><p class="paragraph" style="text-align:left;"><b>Heavily internet and software based, and I want extremely high margins if I can get them (90%+ is the goal)</b>. It’s OK if there are some physical aspects to the business, for example warehousing software where businesses might use the software to help them with some physical task, but I don’t want to be in the logistics or “delivery of some physical item” business having spent most of my career working as a Software Engineer at those types of companies.</p></li><li><p class="paragraph" style="text-align:left;"><b>I’m comfortable supporting myself for a few years and actively want to do that</b> instead of taking on investment to run the business. I find that when I spend my own money I’m much more careful about how it gets spent which should be an advantage in the early days of a startup where scrappiness and sensible allocation of capital is what is needed to survive.</p></li><li><p class="paragraph" style="text-align:left;"><b>3 out of 10 - heavily leaning towards passive income and profitability at the expense of growth</b>. I love solving problems and making improvements to the product, talking to users, doing the early advertising/sales myself, building from scratch, as well as thinking through long term vision, but I also enjoy traveling and taking as much time off as I need to feel happy and the business needs to make space for that - not the other way around.</p></li><li><p class="paragraph" style="text-align:left;"><b>Enough income to support my lifestyle, no question</b>. I would be a fool to turn down a billion dollar exit, but the real goal is to have a profitable business that produces $10K/month in net income while I sleep.</p></li><li><p class="paragraph" style="text-align:left;">[This took me launching a product to answer it fully] <b>Thinking about PrintSwarm after launching it: no, I’m not interested in continuing with it</b>. It’s a very tough answer because I’m both very interested in and have in-depth knowledge about 3d printers which is why I started the business, but it turns out that many of the problems that need to be solved to get the business to scale would involve building something similar to DoorDash&#39;s driver matching software for customers to printers. I’ve already spent enough time working on this exact type of problem for 5 years of my life, plus an additional 2 years at another logistics company prior to DoorDash - frankly, I don’t want to spend another several years solving almost the exact same problem in a different industry. Lastly, there were some issues with the business model that I’ll outline below that caused me to decide to shift my focus away from this idea.</p></li></ol><h2 class="heading" style="text-align:left;">Trouble in Paradise</h2><div class="image"><img alt="green mountain range" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/87c13c23-a1cb-4da9-a03c-17c0dae99de4/photo-1462557965463-eb30192f569d.jpeg"/><div class="image__source"><span class="image__source_text"><p>The private island that I definitely built PrintSwarm on.</p></span></div></div><p class="paragraph" style="text-align:left;">When I got a few weeks into the PrintSwarm business, and after I had stayed up all night a few nights in a row handling print jobs for customers to get a better handle on if the product would work at scale, I realized that there were several issues with the business that could basically only be solved by hiring full time support agents and/or paying my lawyer hefty legal fees for airtight ToS terms and to deal with potential lawsuits. Here are some of the support and legal related concerns I came across with the business after handling a few orders myself (this is why it’s so important to use your own product):</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Random printers on the marketplace may not work on occasion or have maintenance issues, causing delays or poor quality prints that disappoint customers.</p></li><li><p class="paragraph" style="text-align:left;">Customers may send extremely complex 3d models to printers leading to cost ineffective prints and 24+ hour turnaround times even for a physically small model.</p></li><li><p class="paragraph" style="text-align:left;">Delivery drivers may screw up the address and go to the wrong place, leading to increased support costs.</p></li><li><p class="paragraph" style="text-align:left;">The wrong print may get handed over to the wrong driver if the printer owner is doing a lot of volume, again causing support costs to spike.</p></li><li><p class="paragraph" style="text-align:left;">Customers/printers may demand (rightfully so, I would do the same) refunds or payments for all of the above issues, and I would oblige them, essentially forcing me to incur Stripe processing fees for $0 in revenue.</p></li><li><p class="paragraph" style="text-align:left;">Customers may request to print illegal things like parts for guns, and printer owners may not realize what they&#39;re printing, then inadvertently and indirectly enable a murder when the customer puts the parts together and kills someone. This is an extreme scenario, but something along these lines could happen - a more common problem would be if someone were to print something that infringes copyright and then try to resell it or similar.</p></li></ol><p class="paragraph" style="text-align:left;">Ignoring all of these rather glaring legal and support problems, there was an even bigger issue at hand: the business had low to negative margins due to the complexity of producing and delivering physical goods (plus needing to pay the printer operator). Unfortunately, after A/B testing with different pricing packages and delivery guarantees, customers were not comfortable with the higher prices that would be necessary to offset the fees I would have to pay on each order.</p><p class="paragraph" style="text-align:left;">There was also the issue of “turns out that this is the exact same problem I just spent 7 years of my life solving” that was a major factor in my decision to stop working on PrintSwarm.</p><h2 class="heading" style="text-align:left;">This is the End, <a class="link" href="https://www.youtube.com/watch?v=ZeMlQEWEg2Q&utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-1-the-beginning" target="_blank" rel="noopener noreferrer nofollow">Beautiful Friends</a></h2><div class="image"><img alt="black digital device at 0 00" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/d5f7c074-cbc4-4c26-be93-c8da24fceb41/photo-1579373903781-fd5c0c30c4cd.jpeg"/></div><p class="paragraph" style="text-align:left;">Ok, not really. Although PrintSwarm is no longer a focus, I’m leaving the website online with some affiliate links to my favorite 3D printers in case the website ranks for a random keyword and anyone wants to buy a printer to get into the hobby.</p><p class="paragraph" style="text-align:left;">It’s of no real concern that this first idea didn’t work out seeing as I have many more ideas in the pipe. I’m also convinced that if I keep launching products consistently, something is bound to work. In any case, I hope my thought process of why I would decide to shutter a business and what type of business I want to run helps other prospective founders with their decision-making processes. </p><p class="paragraph" style="text-align:left;"><b>Onto the </b><a class="link" href="https://simpleotp.com?utm_source=ben-makes-stuff.beehiiv.com&utm_medium=newsletter&utm_campaign=month-1-the-beginning" target="_blank" rel="noopener noreferrer nofollow"><b>next business idea</b></a><b> and onto month 2 out of 12</b>!</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Ff1e35169-097e-4576-8502-050da95094b8%2FX02_V5kF_400x400.jpg%3Fv%3D1790884608&publication_name=Ben+Makes+Stuff&utm_campaign=7d411a6b-a867-4337-87f0-65f0003703c2&utm_medium=post_rss&utm_source=ben_makes_stuff">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

  </channel>
</rss>
