{"id":265,"date":"2023-06-29T19:21:02","date_gmt":"2023-06-30T00:21:02","guid":{"rendered":"https:\/\/blog.theworldrevolvesaroundmichael.com\/?p=265&#038;preview=true&#038;preview_id=265"},"modified":"2023-06-29T19:21:02","modified_gmt":"2023-06-30T00:21:02","slug":"i-broke-it","status":"publish","type":"post","link":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/2023\/06\/29\/i-broke-it\/","title":{"rendered":"I Broke It!"},"content":{"rendered":"<p>I have a few things to mention today. First, I broke my server on Tuesday. I came home from work, and got a notice that my blog was down. It happens rather often lately (more in a minute). In an effort to reduce the frequency of the outages, I decided to change how my server is setup. In trying to change it, I broke it. This is a sadly common thing for me to do. Break it worse before I fix it.<\/p>\n<p>Some back story might be necessary here. In my day job, I work in IT. I work with a lot of Microsoft technologies, which are pretty good for the most part. One of the areas that I work with is Azure. A while back, I hosted my websites on a virtual machine (VM) that ran on equipment at work. It didn&#8217;t (and doesn&#8217;t) have much traffic, so I didn&#8217;t put a lot of load on our systems. Still, it wasn&#8217;t &#8220;mine&#8221;.<br \/>So, in an effort to get a bit of separation, and because using Azure is something I need(ed) more practice with, I moved my websites, including my blog to an Azure VM. I am not making money on any of the sites that I own, so this is a definite cost. So I chose to use Azure Spot Instance for my VM. This is a way to get a lower cost, but there is risk that they will shut your VM down at random times.<\/p>\n<p>I don&#8217;t remember the exact progression, but the spot instance is something that I started using in 2020. I think I had another VM before that. Hard to remember now.<\/p>\n<p>This worked great since that time, but in the last 2 months, Azure has started shutting down my spot instance much more frequently. As in, multiple times a day on some days. That is rather annoying. I decided I needed to move to a VM that was a bit more stable so that I don&#8217;t have to keep turning it back on. I probably could have written and automation to turn it back on for me when it goes down, but it just felt like it was time to move to a real VM.<\/p>\n<p>And that is how I broke my server. I went to go change it to NOT be a spot instance, but quickly realized that isn&#8217;t an option. Which is kind of a bummer.<\/p>\n<p>In an effort to fix this, I decided to delete the VM, and move the system drive to another VM. It is doable, but not the way I went about it. So I just built a new one, and copied everything off of the other disk. And then had to re-install a bunch of stuff, and re-discover how to deploy WordPress on Windows. Some of the tools that I used to use for that are no longer supported, but then some things have better tools and methods. And I learn things each time I go through something like this, so there is that.<\/p>\n<p>I probably should work out a better backup plan than I currently have. Which is to say, I don&#8217;t have much of a backup plan. And already this blog is getting more attention than I have given the other one, that I have had since 2004 ish.<\/p>\n<p>So, what have you broken lately?<\/p>\n<p>&#8212;<\/p>\n<p>Fun fact..&nbsp; Normally, I write my posts and schedule them for their publication date and time.&nbsp; For today\u2019s post, I am posting it once I finish writing it.&nbsp; One reason is, I am now past my 5 PM post time for today, and I didn\u2019t have a previously scheduled post.&nbsp; I am really trying to get back on track with this and be more consistent with my posts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a few things to mention today. First, I broke my server on Tuesday. I came home from work, and got a notice that my blog was down. It happens rather often lately (more in a minute). In an effort to reduce the frequency of the outages, I decided to change how my server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,51,22],"tags":[6,5,101,14],"class_list":["post-265","post","type-post","status-publish","format-standard","hentry","category-about-me","category-blogging","category-technology","tag-about-me","tag-blog","tag-broken","tag-technical"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/posts\/265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/comments?post=265"}],"version-history":[{"count":1,"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/posts\/265\/revisions"}],"predecessor-version":[{"id":266,"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/posts\/265\/revisions\/266"}],"wp:attachment":[{"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/media?parent=265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/categories?post=265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.theworldrevolvesaroundmichael.com\/index.php\/wp-json\/wp\/v2\/tags?post=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}