# Get your own server. A computer on the internet that belongs to you, running all the time, for roughly six dollars a month. Nothing else in this guide works until you have one. ## What a server actually is A server is just a computer that stays on and is reachable from the internet. That's it. There's no magic in it. The one you rent is called a **VPS** — a virtual private server — which means a big machine in a data center somewhere has been sliced into pieces and you're renting one of the slices. You get your own operating system, your own storage, your own address. What you do inside it is nobody's business but yours. **Figure: What a VPS is** Here's the part that matters, and it took me an embarrassingly long time to understand: **renting a server is not a technical decision, it's a permission slip.** The moment you have one, the cost of trying something drops to nearly zero. Want a password manager? Install one, twenty minutes. Want a private analytics tool? Same. Want to see if that weird idea works? Build it, and if it's garbage, delete it. You stop asking "can I afford to try this" and start asking "is this worth twenty minutes." Before I had one, every idea ended at the same wall: I'd need to hire someone, or pay a monthly fee, or learn to code. After, the wall was gone. That's the whole chapter, honestly. The rest is logistics. ## What to buy I use **Hostinger** for this and recommend it for your first one — the pricing is honest, the control panel doesn't require a pilot's license, and you can be running in about five minutes. Their VPS plans start around five or six dollars a month. > **Start here** > > Get the smallest VPS they sell. Seriously. You do not need the big one. Two CPU cores and 8 gigabytes of memory will run a dozen tools comfortably, and you can upgrade later with a single click and no reinstall — I've done it. Buying big up front is the most common first mistake and it's pure waste. ### Which plan | Plan | Good for | | |---|---|---| | **KVM 1** 1 core | Kicking the tires. Fine for one or two small things; you'll outgrow it. | [Get KVM 1](https://www.hostinger.com/vps-hosting) | | **KVM 2** 2 cores / 8GB | **Start here.** Runs a dozen tools comfortably. This is the one chapter five assumes. | [Get KVM 2](https://www.hostinger.com/vps-hosting) | | **KVM 4 / 8** | Only once something you run actually needs it. Upgrading later is one click and no reinstall. | [KVM 4](https://www.hostinger.com/vps-hosting) · [KVM 8](https://www.hostinger.com/vps-hosting) | ### The two choices you'll be asked to make - **Operating system:** pick **Ubuntu** (the most recent LTS version they offer). Every guide on the internet, and every instruction an AI gives you, assumes Ubuntu. Do not get clever here. - **Location:** pick the data center closest to you or your customers. It changes almost nothing at this scale, so don't agonize. ### You'll also want a domain name Not strictly required, but everything is nicer when your tools live at `notes.yourname.com` instead of a raw string of numbers. Domains cost about $12/year. Buy it wherever — Hostinger sells them, so does [Namecheap](https://www.namecheap.com/). Then point it at your server's IP address. If that sentence means nothing to you, don't worry: this is the exact kind of thing you will hand to the AI agent in chapter two and it will walk you through it. ## The first twenty minutes Once it's provisioned, Hostinger gives you an IP address (a string of numbers like `203.0.113.42`) and a root password. You connect to it with a thing called **SSH** — a text connection to the server. On Windows, Mac, or Linux, open a terminal and type: ``` # replace with your actual IP address ssh root@203.0.113.42 ``` It'll ask for the password. Paste it. You're in. You are now looking at your own computer, in a data center, and it will do whatever you tell it. > **Do these three things before anything else** > > Your server is on the public internet, which means bots start knocking on the door within minutes. This is normal and nothing to panic about, but do the basics: - **Update everything.** Run `apt update && apt upgrade -y`. This pulls in security patches. Do it now, and do it every few weeks. - **Turn on the firewall.** A firewall closes every door except the ones you deliberately open. `ufw allow OpenSSH`, then `ufw allow 80`, then `ufw allow 443`, then `ufw enable`. Those three are: your text connection, web traffic, and secure web traffic. - **Set up SSH keys and turn off password login.** A key is a long cryptographic file on your laptop that replaces the password. It's dramatically safer, because a bot can guess a password and cannot guess a key. This is the one step people skip, and it's the one that gets them. If any of that sounds like a lot: it is exactly the sort of thing you will paste into an AI agent verbatim and have it done in five minutes. Which brings us to the next chapter. ## What this actually costs | Thing | Cost | Note | |---|---|---| | **VPS** | ~$6/mo | The whole foundation. Runs a dozen tools. | | **Domain name** | ~$12/yr | Optional but you'll want one. | | **HTTPS certificate** | $0 | Free forever, via Let's Encrypt. Automatic. | | **Every tool in chapter 5** | $0 | Open source. This is the part that saves real money. | Call it **$7 a month** to have a place where you can build anything you want. I pay more than that for a single SaaS subscription I barely use.