Live data from Hacker News

Show HN: I wrote a book on web application deployment

deploymentfromscratch.com

51–60 of 129 posts

Re: Show HN: I wrote a book on web application deployment

#51

Really? Rails, Python, and co deployment needs a book?! This is a perfect illustration of the sad state of basic skills of developers. * Super old school. rsync over ssh. ssh to restart the process. * Old school. "cap production deploy" * New school. Build a container. Run it.

Sorry, the knowledge-pods of those under 40 were defective, we just weren't born knowing everything we needed to know (unlike previous generations).

Re: Show HN: I wrote a book on web application deployment

#52
post #43

Earlier quoted context omitted.

The HN guidelines[1] say: > Don't solicit upvotes, comments, or submissions. Users should vote and comment when they run across something they personally find interesting—not for promotion. I believe that means that asking people to leave positive comments on a post is something the guidelines ask you not to do. But I would agree that, for instance, just posting on your social media "I posted this on HN, check out th…

The same guidelines that you linked also say: > Please don't post insinuations about astroturfing, shilling, brigading, foreign agents and the like. It degrades discussion and is usually mistaken. If you're worried about abuse, email hn@ycombinator.com and we'll look at the data.

true!

Re: Show HN: I wrote a book on web application deployment

#53
post #47

From the testimonial on the page: 4 CPU cores, 16 GB of RAM, and automated backups for barely €15 a month. Where can you get a VPS for so cheap, I do not think even Hetzner goes that low?

OVH/Kimsufi: KS-4 - https://www.kimsufi.com/en/servers.xml

Re: Show HN: I wrote a book on web application deployment

#54
post #2

Hi fellow readers of HN, I am Josef, a full-stack developer, a formal Ruby Linux packager at Red Hat, and an author of Deployment from Scratch (which is this post about!). After working at Red Hat and technically leading a start-up (of which I was the primary production engineer), I decided to write down a resource I felt was missing on the market: A book that gives you the confidence to deploy your first application…

Based on the table of contents and the preview pages it looks like it has some pretty good content. Made me think of "the missing manual" book series.

I just don't think small startups or side-projects should spend so much time getting all the configuration and moving parts right compared to just Docker+Terraform+(IaaS of choice). Then if one is on a tight budget, then just run Docker Compose on a single host, or run on a computer at home being proxied by Cloudflare free account. If able to spend more, then use the IaaS managed services like for containers and databases.

I guess I feel that setting people up to deploy with bespoke Bash scripts is borderline irresponsible since they won't be easily, or automatically, updated in case there are any other issues, unlike something like Terraform. I can't tell that easily however because there is no architectural diagram to help understand what the book leads up to as how one should deploy things.

However it seems more like it would be a better guide as "Linux Servers from Scratch"? That would be something which would be good reading for someone new to tech. Before moving onto higher abstractions. Or being used as the from scratch guide on how to customize container images by more experienced programmers, but those missing the Linux admin fundamentals.

Re: Show HN: I wrote a book on web application deployment

#56

Does it cover minimum viable Rails deployments? I want to know how to push only pre-configured dependencies without Docker. So no build tools in production, just pre-built binaries. (Specifically not building gems on the production server.)

I cover what most people do which is either using build tools on a production server or building containers without them. I understand where you are coming from, but I don't talk _specifically_ about this.

Basically you need to build your .so files beforehand and then copy them over. If you use the same system as your target you can just copy gems' files around.

A good approach (which we did at Red Hat) is to repackage gems as RPMs and then install them as other system packages. But it's a lot of work. Fedora has a whole default Rails stack packaged, though.

Re: Show HN: I wrote a book on web application deployment

#58
post #2

Hi fellow readers of HN, I am Josef, a full-stack developer, a formal Ruby Linux packager at Red Hat, and an author of Deployment from Scratch (which is this post about!). After working at Red Hat and technically leading a start-up (of which I was the primary production engineer), I decided to write down a resource I felt was missing on the market: A book that gives you the confidence to deploy your first application…

I'd recommend educative platform for your book (as a course).

I wrote my own book about Ruby for beginners https://leanpub.com/rubyisforfun, and converted it to a course, which is quite fun https://www.educative.io/courses/handbook-ruby-developers

Released 1-2 weeks ago, but it looks to me like a promising future - the new format of books that are more interactive. Website allows to run snippets, do interactive assessments, and so on.

The reading and learning is much more convenient.

Re: Show HN: I wrote a book on web application deployment

#59
post #42

Earlier quoted context omitted.

I chose NGINX because it's what I use and have a good performance. I am curious, why are you interested in Apache in particular? Is that what you run now?

My organization only uses Apache because everyone there knows it.

Got it, thanks.

Re: Show HN: I wrote a book on web application deployment

#60
post #2

Hi fellow readers of HN, I am Josef, a full-stack developer, a formal Ruby Linux packager at Red Hat, and an author of Deployment from Scratch (which is this post about!). After working at Red Hat and technically leading a start-up (of which I was the primary production engineer), I decided to write down a resource I felt was missing on the market: A book that gives you the confidence to deploy your first application…

I'd recommend educative platform for your book (as a course). I wrote my own book about Ruby for beginners https://leanpub.com/rubyisforfun , and converted it to a course, which is quite fun https://www.educative.io/courses/handbook-ruby-developers Released 1-2 weeks ago, but it looks to me like a promising future - the new format of books that are more interactive. Website allows to run snippets, do interactive asse…

Thanks for the tip. I am thinking about a course, but spent so much time on the book I unsure if I could make it in a reasonable time :)
Post reply on HN