Skip to content

Commit

Permalink
Ch 1-3 edit pass
Browse files Browse the repository at this point in the history
  • Loading branch information
brikis98 committed May 31, 2024
1 parent cc2946c commit 5a600a1
Show file tree
Hide file tree
Showing 15 changed files with 906 additions and 936 deletions.
6 changes: 3 additions & 3 deletions ch3/ansible/roles/nodejs-app/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
- name: Add Node packages to yum
- name: Add Node packages to yum
shell: curl -fsSL https://rpm.nodesource.com/setup_21.x | bash -

- name: Install Node.js
yum:
name: nodejs

- name: Create app user
- name: Create app user
user:
name: app-user

- name: Install pm2
- name: Install pm2
npm:
name: pm2
version: latest
Expand Down
4 changes: 4 additions & 0 deletions ch3/tofu/modules/lambda/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
output "function_arn" {
value = aws_lambda_function.function.arn
}

output "iam_role_arn" {
value = aws_iam_role.lambda.arn
}
130 changes: 67 additions & 63 deletions docs/02.html

Large diffs are not rendered by default.

130 changes: 68 additions & 62 deletions docs/03.html

Large diffs are not rendered by default.

1,020 changes: 468 additions & 552 deletions docs/04.html

Large diffs are not rendered by default.

176 changes: 88 additions & 88 deletions docs/05.html

Large diffs are not rendered by default.

156 changes: 78 additions & 78 deletions docs/06.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/07.html
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ <h1 id="how_to_set_up_networking">Part 6. How to Set Up Networking: VPCs, VPN, a

<div id="footer-text">

Last updated 2024-05-31 11:34:28 -0400
Last updated 2024-05-31 16:43:42 -0400

</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/08.html
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ <h1 id="how_to_manage_auth_and_secrets">Part 7. How to Manage Authentication, Au

<div id="footer-text">

Last updated 2024-05-31 11:34:28 -0400
Last updated 2024-05-31 16:43:42 -0400

</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/09.html
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ <h1 id="how_to_work_with_multiple_teams">Part 8. How to Work with Multiple Teams

<div id="footer-text">

Last updated 2024-05-31 11:34:28 -0400
Last updated 2024-05-31 16:43:42 -0400

</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/10.html
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ <h1 id="how_to_store_data">Part 9. How to Store Data: SQL, NoSQL, Queues, Wareho

<div id="footer-text">

Last updated 2024-05-31 11:34:28 -0400
Last updated 2024-05-31 16:43:42 -0400

</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/11.html
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ <h1 id="how_to_monitor_your_systems">Part 10. How to Monitor Your Systems: Metri

<div id="footer-text">

Last updated 2024-05-31 11:34:28 -0400
Last updated 2024-05-31 16:43:42 -0400

</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/12.html
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ <h1 id="the_future_of_devops">Part 11. The Future of DevOps and Software Deliver

<div id="footer-text">

Last updated 2024-05-31 11:34:28 -0400
Last updated 2024-05-31 16:43:42 -0400

</div>

Expand Down
82 changes: 44 additions & 38 deletions docs/13-footnotes.html

Large diffs are not rendered by default.

126 changes: 80 additions & 46 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -921,41 +921,41 @@
<ul class="nav nav-pills flex-column"><li class="nav-item"><a href="#preface" class="nav-link">Introduction</a>
</li>

<li class="nav-item"><a href="#_why_i_wrote_this_blog_post_series" class="nav-link">Why I wrote this blog post series</a></li>
<li class="nav-item"><a href="#_why_i_wrote_this_series" class="nav-link">Why I Wrote This Series</a></li>

<li class="nav-item"><a href="#_where_devops_came_from" class="nav-link">Where DevOps came from</a>
<li class="nav-item"><a href="#_where_devops_came_from" class="nav-link">Where DevOps Came From</a>

<ul class="nav nav-pills flex-column">

<li class="nav-item"><a href="#world_class_delivery" class="nav-link">What world-class software delivery looks like</a></li>
<li class="nav-item"><a href="#world_class_delivery" class="nav-link">What World-Class Software Delivery Looks Like</a></li>

<li class="nav-item"><a href="#box_of_snakes" class="nav-link">Watch out for snakes</a></li>
<li class="nav-item"><a href="#box_of_snakes" class="nav-link">Watch Out for Snakes</a></li>

</ul>

</li>

<li class="nav-item"><a href="#_who_should_read_this_blog_post_series" class="nav-link">Who should read this blog post series</a></li>
<li class="nav-item"><a href="#_who_should_read_this_series" class="nav-link">Who Should Read This Series</a></li>

<li class="nav-item"><a href="#_whats_in_this_blog_post_series" class="nav-link">What&#8217;s in this blog post series</a>
<li class="nav-item"><a href="#_whats_in_this_series" class="nav-link">What&#8217;s in This Series</a>

<ul class="nav nav-pills flex-column">

<li class="nav-item"><a href="#_what_you_will_find_in_this_blog_post_series" class="nav-link">What you will find in this blog post series</a></li>
<li class="nav-item"><a href="#_what_you_will_find_in_this_series" class="nav-link">What You Will Find in This Series</a></li>

<li class="nav-item"><a href="#_what_you_wont_find_in_this_blog_post_series" class="nav-link">What you won&#8217;t find in this blog post series</a></li>
<li class="nav-item"><a href="#_what_you_wont_find_in_this_series" class="nav-link">What You Won&#8217;t Find in This Series</a></li>

<li class="nav-item"><a href="#code_examples" class="nav-link">Open source code examples</a></li>
<li class="nav-item"><a href="#code_examples" class="nav-link">Open Source Code Examples</a></li>

<li class="nav-item"><a href="#_opinionated_code_examples" class="nav-link">Opinionated code examples</a></li>
<li class="nav-item"><a href="#_opinionated_code_examples" class="nav-link">Opinionated Code Examples</a></li>

<li class="nav-item"><a href="#_you_have_to_get_your_hands_dirty" class="nav-link">You have to get your hands dirty</a></li>
<li class="nav-item"><a href="#_you_have_to_get_your_hands_dirty" class="nav-link">You Have to Get Your Hands Dirty</a></li>

</ul>

</li>

<li class="nav-item"><a href="#_lets_get_started" class="nav-link">Let&#8217;s get started</a></li>
<li class="nav-item"><a href="#_lets_get_started" class="nav-link">Let&#8217;s Get Started</a></li>

</ul>

Expand Down Expand Up @@ -1086,7 +1086,7 @@ <h1 id="preface">Fundamentals of DevOps and Software Delivery</h1>

<div class="sect2">

<h2 id="_why_i_wrote_this_blog_post_series">Why I wrote this blog post series</h2>
<h2 id="_why_i_wrote_this_series">Why I Wrote This Series</h2>

<div class="paragraph">

Expand Down Expand Up @@ -1202,7 +1202,7 @@ <h2 id="_why_i_wrote_this_blog_post_series">Why I wrote this blog post series</h

<div class="sect2">

<h2 id="_where_devops_came_from">Where DevOps came from</h2>
<h2 id="_where_devops_came_from">Where DevOps Came From</h2>

<div class="paragraph">

Expand Down Expand Up @@ -1280,31 +1280,17 @@ <h2 id="_where_devops_came_from">Where DevOps came from</h2>

</div>

<div class="admonitionblock tip">

<table>

<tr>

<td class="icon">
<div class="quoteblock">

<div class="title">Tip</div>

</td>

<td class="content">
<blockquote>

<div class="paragraph">

<p>The goal of DevOps is to make software delivery vastly more efficient.</p>

</div>

</td>

</tr>

</table>
</blockquote>

</div>

Expand All @@ -1320,7 +1306,7 @@ <h2 id="_where_devops_came_from">Where DevOps came from</h2>

<div class="sect3">

<h3 id="world_class_delivery">What world-class software delivery looks like</h3>
<h3 id="world_class_delivery">What World-Class Software Delivery Looks Like</h3>

<div class="paragraph">

Expand Down Expand Up @@ -1368,7 +1354,7 @@ <h3 id="world_class_delivery">What world-class software delivery looks like</h3>

<div class="paragraph">

<p>Those are <em>insane</em> differences. To put that into perspective, we&#8217;re talking the difference between deploying once every
<p>Those are <em>staggering</em> differences. To put that into perspective, we&#8217;re talking the difference between deploying once every

two weeks vs many times per day; deployment processes that take 36 hours vs 5 minutes; outages that last 12 hours vs 4

Expand Down Expand Up @@ -1454,7 +1440,7 @@ <h3 id="world_class_delivery">What world-class software delivery looks like</h3>

<div class="sect3">

<h3 id="box_of_snakes">Watch out for snakes</h3>
<h3 id="box_of_snakes">Watch Out for Snakes</h3>

<div class="paragraph">

Expand Down Expand Up @@ -1600,7 +1586,7 @@ <h3 id="box_of_snakes">Watch out for snakes</h3>

<div class="sect2">

<h2 id="_who_should_read_this_blog_post_series">Who should read this blog post series</h2>
<h2 id="_who_should_read_this_series">Who Should Read This Series</h2>

<div class="paragraph">

Expand Down Expand Up @@ -1664,7 +1650,7 @@ <h2 id="_who_should_read_this_blog_post_series">Who should read this blog post s

<div class="sect2">

<h2 id="_whats_in_this_blog_post_series">What&#8217;s in this blog post series</h2>
<h2 id="_whats_in_this_series">What&#8217;s in This Series</h2>

<div class="paragraph">

Expand All @@ -1674,7 +1660,7 @@ <h2 id="_whats_in_this_blog_post_series">What&#8217;s in this blog post series</

<div class="sect3">

<h3 id="_what_you_will_find_in_this_blog_post_series">What you will find in this blog post series</h3>
<h3 id="_what_you_will_find_in_this_series">What You Will Find in This Series</h3>

<div class="paragraph">

Expand Down Expand Up @@ -2462,17 +2448,65 @@ <h3 id="_what_you_will_find_in_this_blog_post_series">What you will find in this

the most. Note that the examples in each part reference and build upon the examples from the previous

parts, so if you skip around, use the open source code examples (as described in <a href="index.html#code_examples">Open source code examples</a>) to get
parts, so if you skip around, use the open source code examples (as described in <a href="index.html#code_examples">Open Source Code Examples</a>) to get

your bearings.</p>

</div>

<div class="paragraph">

<p>This book covers a lot of ground and includes a lot of detail: given the breadth of DevOps, this is unavoidable. To

help you avoid missing the forest for the trees, I try to call out the key takeaways in each blog post

as follows:</p>

</div>

<div class="admonitionblock tip">

<table>

<tr>

<td class="icon">

<div class="title">Tip</div>

</td>

<td class="content">

<div class="title">Key takeaway #1</div>

<div class="paragraph">

<p>A key takeaway from the chapter.</p>

</div>

</td>

</tr>

</table>

</div>

<div class="paragraph">

<p>Pay special attention to these items, as they typically highlight the most important lessons in that

post.</p>

</div>

</div>

<div class="sect3">

<h3 id="_what_you_wont_find_in_this_blog_post_series">What you won&#8217;t find in this blog post series</h3>
<h3 id="_what_you_wont_find_in_this_series">What You Won&#8217;t Find in This Series</h3>

<div class="paragraph">

Expand Down Expand Up @@ -2558,7 +2592,7 @@ <h3 id="_what_you_wont_find_in_this_blog_post_series">What you won&#8217;t find

<div class="sect3">

<h3 id="code_examples">Open source code examples</h3>
<h3 id="code_examples">Open Source Code Examples</h3>

<div class="paragraph">

Expand All @@ -2578,15 +2612,15 @@ <h3 id="code_examples">Open source code examples</h3>

<p>You might want to check out this repo before you begin reading so you can follow along with all the examples on your own

computer:</p>
computer (if you are new to Git, check out the Git tutorial in <a href="05.html#how_to_version_build_test">Part 4</a>):</p>

</div>

<div class="listingblock">

<div class="content">

<pre class="CodeRay highlight"><code>git clone https://github.com/brikis98/devops-book.git</code></pre>
<pre class="CodeRay highlight"><code>$ git clone https://github.com/brikis98/devops-book.git</code></pre>

</div>

Expand Down Expand Up @@ -2642,7 +2676,7 @@ <h3 id="code_examples">Open source code examples</h3>

<div class="sect3">

<h3 id="_opinionated_code_examples">Opinionated code examples</h3>
<h3 id="_opinionated_code_examples">Opinionated Code Examples</h3>

<div class="paragraph">

Expand Down Expand Up @@ -2700,7 +2734,7 @@ <h3 id="_opinionated_code_examples">Opinionated code examples</h3>

<div class="sect3">

<h3 id="_you_have_to_get_your_hands_dirty">You have to get your hands dirty</h3>
<h3 id="_you_have_to_get_your_hands_dirty">You Have to Get Your Hands Dirty</h3>

<div class="paragraph">

Expand Down Expand Up @@ -2776,7 +2810,7 @@ <h3 id="_you_have_to_get_your_hands_dirty">You have to get your hands dirty</h3>

<div class="sect2">

<h2 id="_lets_get_started">Let&#8217;s get started</h2>
<h2 id="_lets_get_started">Let&#8217;s Get Started</h2>

<div class="paragraph">

Expand Down Expand Up @@ -2823,7 +2857,7 @@ <h2 id="_lets_get_started">Let&#8217;s get started</h2>

<div id="footer-text">

Last updated 2024-05-31 11:34:28 -0400
Last updated 2024-05-31 16:43:42 -0400

</div>

Expand Down

0 comments on commit 5a600a1

Please sign in to comment.