Start with static hosting
Usually low maintenance and a good fit for HTML, CSS, JavaScript and media files.
CODE FAMILY LEARNING HANDBOOK · BEGINNER EDITION
Servers, serverless, Vercel, Cloudflare Workers, VPS, databases and more. Learn the ideas in plain language, one step at a time.
“Start with what your project needs, not the most complicated technology you can find.”Explore the handbook
YOUR ROADMAP
Search a topic or choose a chapter. Follow the order if this is your first time learning about hosting.
CHAPTER 01
Imagine ordering food. You make a request, a kitchen does the work, and someone brings back the result. A website works in a similar way: your browser asks for something, a computer or service processes the request, and a response comes back.
CHAPTER 02
A server is a computer or software that provides something to other computers. The word can mean the physical machine, the program listening for requests, or the role that computer plays.
A shop has a counter where customers place orders. The customer is the client; the shop worker or service is the server. The server receives a request and returns a response.
A server needs somewhere to run. That could be a VPS, a data centre, a cloud platform or a serverless runtime managed by a provider.
CHAPTER 03
A static website serves files that have already been prepared, such as HTML, CSS, JavaScript, images and fonts. “Static” does not mean the page cannot have animation or interactivity. JavaScript can still run in the visitor's browser.
Good fit: portfolios, documentation, landing pages, brochures and simple front ends that call a separate API.
Shared hosting: many customers use the same physical server. It can be affordable and simple, especially for conventional websites, but you usually have less control over the underlying system.
CHAPTER 04
Serverless does not mean there are no servers. It means the provider manages much of the infrastructure, so you focus more on code and less on operating a machine.
A function might run when a user signs in, submits a form, or calls an API. Depending on the platform, it may scale automatically and be billed by requests, execution time, CPU or other usage measures.
Edge code runs in locations distributed closer to users, where the platform supports it. This can reduce the time needed for some requests. Not every workload belongs at the edge: long-running processes, local system dependencies or specialised runtimes may need another host.
Cloudflare Workers is one example of a platform for running code on Cloudflare's network. Check its runtime compatibility, limits, pricing and storage options before choosing it for a particular application.
CHAPTER 05
Vercel is a platform for building and deploying web applications. Developers commonly connect a Git repository, configure the project, and let the platform build and deploy it. It supports frameworks including Next.js and provides features such as preview deployments.
Vercel is a product/platform; serverless is a computing model. They are related but not interchangeable terms. A platform can combine builds, static hosting, functions, routing, caching and other services.
Compare current plan limits and pricing before production use. Framework compatibility, function duration, regional needs and data transfer can matter as much as the advertised starting price.
CHAPTER 06
A Virtual Private Server is a virtual machine with allocated resources on a larger physical host. You usually receive an operating system, administrator access and the freedom to install software.
Managed serverless is like renting a serviced room where staff handle most building maintenance. A VPS is like renting your own flat: you can arrange it your way, but you are responsible for much more.
A VPS can be useful for persistent processes, custom software, self-hosted tools or workloads that need more control. The monthly server price is not the full cost: include your time, backups, monitoring and recovery planning.
CHAPTER 07
CHAPTER 08
A container packages an application with many of the files and dependencies it needs. This can make it easier to run the same app in development, testing and production.
Docker is widely used to build and run containers. A container still runs on infrastructure provided by a laptop, VPS, cloud host or container platform.
Kubernetes helps manage groups of containers across machines. It is powerful, but adds operational complexity. A small app usually does not need Kubernetes just because it is popular.
CHAPTER 09
Your application code and your data are different things. Redeploying the code should not accidentally erase customer accounts, orders or business records.
A managed database can reduce maintenance work, but you still need access controls, backups, restore tests, sensible connection limits and a plan for migrations. Store credentials as server-side secrets, not in public frontend code.
CHAPTER 10
| Option | Best for | Control | Operations |
|---|---|---|---|
| Static hosting | Docs, portfolio, landing pages | Low server control | Low |
| Serverless functions | APIs, events, short tasks | Runtime-dependent | Low to medium |
| Vercel-style platform | Web app deployment and previews | Platform-dependent | Low to medium |
| VPS | Custom services and persistent processes | High | High |
| Dedicated server | Specific high-control workloads | Very high | High |
| Managed database | Reliable application data | Database-level | Lower than self-hosting |
These are broad patterns, not guarantees. Check actual limits, pricing, regions, support, compliance needs and workload compatibility for each provider.
CHAPTER 11
Usually low maintenance and a good fit for HTML, CSS, JavaScript and media files.
Useful when you want Git-based deploys, previews and framework integration.
Good when requests are supported by the platform's runtime and execution limits.
Check patching, uptime, backups and ongoing operations before choosing.
Choose a data service, define permissions, and test backup restoration before launch.
CHAPTER 12
CHAPTER 13
CHAPTER 14
Choose an answer for each question, then check your result.
CHAPTER 15
Use provider documentation for current capabilities, limits and pricing because these can change.
CHAPTER 16
Hosting is an ecosystem, not a single product. Most real applications combine several services. Pick each service for a clear job instead of putting everything on one provider by default.
A common architecture is Pages for the frontend, Workers for API logic, a managed database for structured records, and R2 for user-uploaded files. Check current limits, access controls, egress rules and pricing in the official documentation.
Python needs a host that supports the kind of process you want to run. A web API, scheduled job, notebook and always-on worker may have different requirements.
| Provider or platform | Investigate it for | Check before choosing |
|---|---|---|
| Render | Web services, background workers and scheduled jobs | Plan limits, sleep behaviour, persistent disks and database costs |
| Railway | Deploying applications and supporting services from a project | Usage-based charges, resource limits and service persistence |
| PythonAnywhere | Python web applications and beginner-friendly workflows | Framework support, scheduled tasks, outbound access and plan limits |
| Koyeb | Containerised and web applications | Regions, instance types, scale-to-zero behaviour and pricing |
| Google Cloud Run | Containerised HTTP services and jobs | Container setup, request timeouts, scaling settings and billing |
| DigitalOcean | Managed app platforms, databases and virtual machines | Whether you need a managed platform or the maintenance burden of a VPS |
| Oracle Cloud Infrastructure | Cloud compute and infrastructure services | Regional availability, capacity, eligibility, quotas and billing terms |
| AWS | Broad cloud infrastructure and managed application services | Service complexity, permissions, networking and total cost |
This is a shortlist for research, not a promise that every provider offers a free tier or supports every workload. Product names, free allowances, prices and regional availability change; verify them on the official pricing pages.
With managed hosting, the provider handles more of the operating system, runtime, deployment workflow or database maintenance. With a VPS, you normally take responsibility for operating-system updates, firewall rules, process supervision, monitoring, backups and recovery. A managed service can cost more per month but save time and reduce operational mistakes.
BUILD WITH CODE FAMILY
Code Family shares practical learning resources and builds websites and web applications for businesses.
www.christech.co.ke · WhatsApp +254701059192