deployment-talks/slides/deployment.html

191 lines
6.3 KiB
HTML
Raw Normal View History

2024-10-27 01:06:55 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Deploying Your Dumb Ideas with Dokku</title>
<meta name="description" content="The slides for a talk about deploying by Dave Smith-Hayes">
<meta name="author" content="Dave Smith-Hayes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="dist/reset.css">
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="dist/theme/black.css" id="theme">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="plugin/highlight/monokai.css">
</head>
<body>
<div class="reveal">
<div class="slides">
<!-- Introduction -->
<section>
<h1>Deploying</h1>
<h3 class="fragment">Your Dumb Ideas</h3>
<h3 class="fragment">With Dokku</h3>
</section>
<section>
<h1>Who am I?</h1>
</section>
<section>
<h1>Dave Smith-Hayes</h1>
<ul>
<li class="fragment">Father</li>
<li class="fragment">Developer</li>
2024-10-27 01:06:55 +00:00
<li class="fragment">JavaScript Enjoyer</li>
</ul>
</section>
<section>
<h1>What is deploying?</h1>
</section>
<section>
<p>Releasing software to be used.</p>
</section>
<section>
<h3>How it works for Web</h3>
<ul>
<li class="fragment">Have a DNS record point to an IP</li>
<li class="fragment">Have a webserver runnning at that IP</li>
<li class="fragment">Have that webserver proxy requests to the application</li>
<ul>
</section>
<section>
<h1>My history of deploying</h1>
</section>
<section>
<ul>
<li>cPanel File Manager</li>
2024-10-27 01:06:55 +00:00
<li class="fragment">FTP to Shared Hosting</li>
<li class="fragment"><code>$ git pull</code></li>
<li class="fragment">Jenkins &amp; Ansible build VM Images</li>
<li class="fragment">Packer &amp; Terraform build Containers</li>
</ul>
</section>
<section>
<h2>Deployment Methods</h2>
<ul>
<li class="fragment">In Place</li>
<li class="fragment">Rolling</li>
<li class="fragment">Immutable</li>
<li class="fragment">Green/Blue</li>
2024-10-27 01:06:55 +00:00
</ul>
</section>
<section>
<h2>Doing it Yourself</h2>
<h3 class="fragment">What do you need?</h3>
2024-10-27 01:06:55 +00:00
<ul>
2024-10-28 01:45:09 +00:00
<li class="fragment">A domain</li>
<li class="fragment">A server with a public IP address</li>
<li class="fragment">A webserver</li>
<li class="fragment">Patience</li>
2024-10-27 01:06:55 +00:00
</ul>
</section>
2024-10-28 01:45:09 +00:00
<!-- Dokku -->
2024-10-27 01:06:55 +00:00
<section>
2024-10-28 01:45:09 +00:00
<h2>Dokku</h2>
<p>Self-hosted <strong>P</strong>latform as a <strong>S</strong>ervice (PaaS)</p>
<p>Your very own <em>Heroku*</em></p>
<p class="fragment"><small><em>*I have never used Heroku</em></small></p>
2024-10-27 01:06:55 +00:00
</section>
2024-10-27 01:29:56 +00:00
<section>
<h2>What Dokku Does</h2>
<ul>
<li>Creates a <code>dokku</code> user on your system</li>
<li>Installs all the services for running Dokku
<ul>
<li>Docker</li>
<li>NGiNX</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>How Dokku Works</h2>
<ul>
<li>Sets up Application</li>
<li>Becomes a Git remote repository</li>
<li>Builds and deploys the app behind NGiNX</li>
</ul>
</section>
<section>
<h2>Builders</h2>
<ul>
<li>Heroku Buildpacks</li>
<li>Dockerfile</li>
<li>Nixpacks</li>
</ul>
</section>
<section>
<h2>Plugins</h2>
<ul>
<li>Let's Encrypt</li>
<li>Databases (MySQL, Postgres)</li>
</ul>
</section>
<section>
<h1>Demo</h1>
</section>
2024-10-27 01:15:10 +00:00
<section>
2024-10-28 01:45:09 +00:00
<h3>Anatomy of the Server</h3>
<ul>
<li>Linode VPS</li>
<li>Debian</li>
<li>Nameservers</li>
2024-10-28 01:45:09 +00:00
</ul>
</section>
<section>
<h3>Anatomy of the Application</h3>
<ul>
<li>Chat Application</li>
<li>Hono Backend</li>
<li>Mithril.js Frontend</li>
<li>Bun!</li>
2024-10-28 01:45:09 +00:00
<li>Dockerized</li>
<li><a href="https://chat.freedoom.party">chat.freedoom.party</a></li>
2024-10-28 01:45:09 +00:00
</ul>
</section>
2024-10-27 01:15:10 +00:00
2024-10-27 01:06:55 +00:00
<!-- Deployment Example -->
</div>
</div>
<!-- JavaScript for the Slide Deck to Run -->
<script src="dist/reveal.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script>
// More info about initialization & config:
// - https://revealjs.com/initialization/
// - https://revealjs.com/config/
Reveal.initialize({
hash: true,
// Learn about plugins: https://revealjs.com/plugins/
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
});
</script>
</body>
</html>