So now the t2.micro instance has taken over

My t2.small instance is now dead – looks like the bid price went up. Of course you can’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’ve always had – after about 1-2 days, the database shuts off and I get an error saying “Error establishing database connection” and WordPress stops. A reboot fixes this issue.

So I tried a few things; First, I set up a crontab to restart mysql 4 times a day. I know this isn’t the right solution, but remember, people – I want this to be CHEAP.  That still didn’t work, tho’.

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!!