{"id":188,"date":"2024-12-24T05:52:29","date_gmt":"2024-12-24T05:52:29","guid":{"rendered":"http:\/\/japanobserver.net\/?p=188"},"modified":"2024-12-24T19:48:37","modified_gmt":"2024-12-24T19:48:37","slug":"so-now-the-t2-micro-instance-has-taken-over","status":"publish","type":"post","link":"https:\/\/japanobserver.net\/index.php\/2024\/12\/24\/so-now-the-t2-micro-instance-has-taken-over\/","title":{"rendered":"So now the t2.micro instance has taken over"},"content":{"rendered":"<p>My t2.small instance is now dead &#8211; looks like the bid price went up. Of course you can&#8217;t just up the bid price, you have to start all over again.<\/p>\n<p>Luckily my t2.micro service started, but I had the same problem I&#8217;ve always had &#8211; after about 1-2 days, the database shuts off and I get an error saying &#8220;Error establishing database connection&#8221; and WordPress stops. A reboot fixes this issue.<\/p>\n<p>So I tried a few things; First, I set up a crontab to restart mysql 4 times a day. I know this isn&#8217;t the right solution, but remember, people &#8211; I want this to be CHEAP.\u00a0 That still didn&#8217;t work, tho&#8217;.<\/p>\n<p>After some searching, I figured out that this instance has NO swap space. After enabling swap space it should run for a while now. Fingers crossed!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My t2.small instance is now dead &#8211; looks like the bid price went up. Of course you can&#8217;t just up the bid price, you have to start all over again. Luckily my t2.micro service started, but I had the same problem I&#8217;ve always had &#8211; after about 1-2 days, the database shuts off and I &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/japanobserver.net\/index.php\/2024\/12\/24\/so-now-the-t2-micro-instance-has-taken-over\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;So now the t2.micro instance has taken over&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,10,18],"tags":[],"class_list":["post-188","post","type-post","status-publish","format-standard","hentry","category-aws","category-database","category-system-administration","category-web-servers"],"_links":{"self":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":2,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":190,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/188\/revisions\/190"}],"wp:attachment":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}