You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Early Release ebooks, you get books in their earliest form—the author's raw and unedited content as they write—so you can take advantage of these technologies long before the official release of these titles.
12
+
13
+
This will be the 11th chapter of the final book. The GitHub repo is available at https://github.com/hjwp/book-example.
14
+
15
+
If you have comments about how we might improve the content and/or examples in this book, or if you notice missing material within this chapter, please reach out to the author at [email protected].
16
+
****
17
+
9
18
// RITA: In this intro, please mention that you'll be using Ansible. Not only will it prep the reader, but it'll set you up to say "(or "become" in Ansible terminology)" in the User Accounts, SSH, and Privileges section before we actually get to the Ansible section.
10
19
((("deployment", "automating with Ansible", id="Dfarbric11")))
11
20
((("infrastructure as code")))
@@ -17,6 +26,14 @@ We _could_ do all these things manually,
17
26
but a key insight of the modern infrastructure management
18
27
is that automation really pays off in reducing maintenance burdens.
19
28
29
+
// SEBASTIAN: IMO, above statement is not strong enough (my opinion)
30
+
// I'd add something that software development nowadays is made in short cycles with frequent deployments
31
+
// and automation is a MUST - the earlier one invests into it, the faster they can focus on doing what's
32
+
// actually giving value.
33
+
//
34
+
// ALSO... to reassure readers - automating anything requires deep understanding, so they will not miss anything.
35
+
// Perhaps this is even more important. When I first read this, I was like "ohhh, I'm gonna miss some fun!"
36
+
20
37
It's also key to making sure our tests give us true confidence over our deployments.
21
38
If we go to the trouble of building a staging server,footnote:[
22
39
What I'm calling a "staging" server, some people would
@@ -67,9 +84,26 @@ A few small things:
67
84
billed needlessly.
68
85
////
69
86
87
+
////
88
+
SEBASTIAN overall notes
89
+
All in all, I am not very fond of the current shape of this chapter.
The summary is great and the choice of technologies is the best I can imagine.
92
+
93
+
However, I got lost several times while reading through the chapter.
94
+
There are too many open loops. For example, SSH is mentioned but then we jump into all other technologies without seeing what SSH is and how it will play with the rest.
95
+
96
+
mentioning of too many technologies (e.g. Puppet/Chef - IMHO not necessary in 2024).
97
+
98
+
I think (my opinion) the chapter needs reorganizing so that readers can more quickly see a given piece of tech in action. I'd cut some content.
99
+
100
+
If you like some more specific suggestions, I can spend more time and provide them.
101
+
102
+
Also, it's mentioned that the server will be provisioned manually without automation, but then we get ansible infra/ansible-provision.yaml. I must say I'm not following when provisioning starts and where it ends. In my book (figuratively speaking), installing docker falls under the definition of provisioning (which was meant NOT to be automated) while the remaining steps, like exporting and reimporting docker image are something different (deployment?).
103
+
////
104
+
105
+
.Warning, chapter under construction
106
+
****
73
107
As part of my work on the third edition of the book,
74
108
I'm making big changes to the deployment chapters.
75
109
This chapter is still very fresh, but the content is all there,
@@ -152,6 +185,7 @@ They're unlikely to ever go away,
152
185
and knowing a bit about them will get you some respect
153
186
from all the grizzled dinosaurs out there.
154
187
188
+
// SEBASTIAN: Nice, and seem-to-be timeless choice!
155
189
156
190
157
191
==== Spinning Up a Server
@@ -309,10 +343,10 @@ rather than specifying a procedural series of steps to be followed one by one.
309
343
310
344
==== Installing Ansible
311
345
312
-
Take a look at the https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html [documentation] for instructions on how to install Ansible.
313
-
// RITA: Please anchor all URLs to descriptive text.
314
-
315
-
The simplest thing to do is to install Ansible into the virtualenv
0 commit comments