Hi there, author here.
Deployment from Scratch is a book on web application deployment that I was writing for over 3 years.
After 500+ pages you'll be able to:
- understand SSH and networking
- deploy static sites, proxies, and load balancers with NGINX
- renew SSL certificates with Let’s Encrypt
- install language runtimes like Ruby and Python
- configure application servers like Puma and Gunicorn
- build systemd services and Docker containers
- administer PostgreSQL and Redis
- set up storage, backups, emails
- automate deploymentent with Bash and git
The main differentiator to other resources in this domain is using Bash for automation. Not because I love Bash, but because I wanted to show how things can be done directly without higher level tooling and abstract configurations. I focused on transferable skills and thinking that one can use for a long time in their career.
Apart from the book in PDF, ePUB, and HTML I included three different scripted demonstrations:
- A static website served over TLS with Let's Encrypt certificates.
- A single server demonstration of running a full-featured Rails web application with UNIX sockets, PostgreSQL ident system authentication, Web Sockets, and Let's Encrypt certificates. Includes a git-push deployment with helpful administration scripts for connecting to the server or handling file and database backups.
- A self-sufficient PostgreSQL cluster demo with automatic system upgrades and log rotation. Includes custom scripts for cluster-wide backups and restores.
Sounds good? Then get your copy like 800+ people before you!
I prepared a 20% off for this first time ever Product Hunt submission. Use "producthunt" code at checkout to get it.
Josef
This is a good book. I recommend it to anyone who wants to deploy a web application, even if they use any PaaS or IaaS service that provides some abstractions for most operations or has an easy deployment process.
Setting up your server for a web application will give you a better understanding of how things work, and this will help you a lot in how you code or use other cloud services.
Digger.dev