{"id":294,"date":"2020-04-26T20:26:38","date_gmt":"2020-04-27T00:26:38","guid":{"rendered":"https:\/\/chasberndt.com\/?p=294"},"modified":"2020-04-26T20:26:38","modified_gmt":"2020-04-27T00:26:38","slug":"re-architecting-this-website-iii","status":"publish","type":"post","link":"https:\/\/chasberndt.com\/?p=294","title":{"rendered":"Re-Architecting This Website III"},"content":{"rendered":"\n<p><em>&#8220;Automate all the things!&#8221;<\/em><\/p>\n\n\n\n<p>This weekend I&#8217;ve been busy laying much of the groundwork requires to be able to re-deploy this website. In part one, I provided a diagram that showed how the entire website, including the database, is deployed on a single droplet (VM). While this model has worked well for about three years, it&#8217;s time to move on. To that end, I&#8217;ve begun building automation to create and manage WordPress sites.<\/p>\n\n\n\n<p>I&#8217;ve created a repo on Github to house the infrastructure code. It&#8217;s available here: <a href=\"https:\/\/github.com\/seaburr\/WordPressOnDigitalOcean\">https:\/\/github.com\/seaburr\/WordPressOnDigitalOcean<\/a><\/p>\n\n\n\n<p>As you can see, I&#8217;ve decided to continue using DigitalOcean. They&#8217;ve proven reliable. Unfortunately, DigitalOcean lacks some things, like NFS, that would make the website even more scalable. Still, I don&#8217;t feel they&#8217;re necessary at this point.<\/p>\n\n\n\n<p>Currently, I have the ability to create\/destroy VMs, create\/destroy\/attach storage volumes, and a decent portion of the application installation is complete. It&#8217;s capable of going from nothing to the WordPress setup page over HTTP.<\/p>\n\n\n\n<p>Finally, I know I could just move all of this to AWS LightSail but what&#8217;s the fun in that?? I learn best by doing and I want to have a deep understanding with all the moving parts. Once I&#8217;m done building this out with DO, I might do the same on the other major cloud vendors.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Automate all the things!&#8221; This weekend I&#8217;ve been busy laying much of the groundwork requires to be able to re-deploy this website. In part one, I provided a diagram that showed how the entire website, including the database, is deployed on a single droplet (VM). While this model has worked well for about three years, <a class=\"read-more\" href=\"https:\/\/chasberndt.com\/?p=294\">&hellip;&nbsp;<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[20,13,12],"tags":[],"class_list":["post-294","post","type-post","status-publish","format-standard","hentry","category-ansible","category-automation","category-process-improvement"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts\/294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=294"}],"version-history":[{"count":2,"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions"}],"predecessor-version":[{"id":297,"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions\/297"}],"wp:attachment":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}