And we're back again, better than ever!
Posted: Sun Apr 23, 2017 10:49 pm
Last week, the old shared server was hacked. So rdearman and I worked in shifts through the night to move the forum off of his personal account and onto a temporary home on my personal AWS account. Along the way, we saw some great speed improvements. But because of the rush, I cut a number of corners. And because the site was on my personal account, there was no good way to keep track of what it cost, or to give rdearman lower-level administrative access.
So this weekend, I've been working to migrate the site off of my personal account and onto a new, dedicated AWS account just for the forum! This means that we can keep track of costs, and the site isn't mixed up with anybody's personal stuff.
And since I had a couple of days to do it right, I heavily enhanced the backend of the site. I migrated all the AWS account configuration into a tool called Terraform, which allows us to save the configuration in text files, add comments, and automatically apply changes across our infrastructure with just two commands. Here's Terraform in action:
If you're technically inclined, you can find Terraform configuration on GitHub. And what do Terraform and AWS give us? Well, among other things, we have a fully automated deployment pipeline, with an "Approve" button to control whether a given version of the site gets deployed:
This is implemented using Amazon ECS and Docker. For an overview of what this means, see this video:
The big payoff: In the future, it's going to be much easier to upgrade and test the site before rolling it out to users.
Anyway, my apologies for the downtime. But it feels good to have taken the time to do the job right, and to have everything on a dedicated account.
So this weekend, I've been working to migrate the site off of my personal account and onto a new, dedicated AWS account just for the forum! This means that we can keep track of costs, and the site isn't mixed up with anybody's personal stuff.
And since I had a couple of days to do it right, I heavily enhanced the backend of the site. I migrated all the AWS account configuration into a tool called Terraform, which allows us to save the configuration in text files, add comments, and automatically apply changes across our infrastructure with just two commands. Here's Terraform in action:
If you're technically inclined, you can find Terraform configuration on GitHub. And what do Terraform and AWS give us? Well, among other things, we have a fully automated deployment pipeline, with an "Approve" button to control whether a given version of the site gets deployed:
This is implemented using Amazon ECS and Docker. For an overview of what this means, see this video:
The big payoff: In the future, it's going to be much easier to upgrade and test the site before rolling it out to users.
Anyway, my apologies for the downtime. But it feels good to have taken the time to do the job right, and to have everything on a dedicated account.