And we're back again, better than ever!

Discuss technical problems and features here
Online
User avatar
emk
Black Belt - 1st Dan
Posts: 1620
Joined: Sat Jul 18, 2015 12:07 pm
Location: Vermont, USA
Languages: English (N), French (B2+)
Badly neglected "just for fun" languages: Middle Egyptian, Spanish.
Language Log: viewtopic.php?f=15&t=723
x 6330
Contact:

And we're back again, better than ever!

Postby emk » 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:

Image

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:

Image

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.
36 x

Bluepaint
Brown Belt
Posts: 1272
Joined: Fri Jul 03, 2015 7:41 pm
x 1031

Re: And we're back again, better than ever!

Postby Bluepaint » Sun Apr 23, 2017 10:51 pm

A humungous well done!
2 x

User avatar
astromule
Green Belt
Posts: 434
Joined: Tue Jul 21, 2015 12:51 am
Location: Argentina
Languages: Spanish (N), English (C2), French, Portuguese, Italian, Norwegian, Swedish, Danish, German, Russian
Language Log: viewtopic.php?f=15&t=794&start=240
x 281

Re: And we're back again, better than ever!

Postby astromule » Sun Apr 23, 2017 10:54 pm

Thank you very much for all your hard work! :)
2 x

User avatar
MorkTheFiddle
Black Belt - 2nd Dan
Posts: 2114
Joined: Sat Jul 18, 2015 8:59 pm
Location: North Texas USA
Languages: English (N). Read (only) French and Spanish. Studying Ancient Greek. Studying a bit of Latin. Once studied Old Norse. Dabbled in Catalan, Provençal and Italian.
Language Log: https://forum.language-learners.org/vie ... 11#p133911
x 4824

Re: And we're back again, better than ever!

Postby MorkTheFiddle » Sun Apr 23, 2017 11:09 pm

emk wrote:
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.


Completely agreed. Once again, well done! :D
3 x
Many things which are false are transmitted from book to book, and gain credit in the world. -- attributed to Samuel Johnson

Online
User avatar
emk
Black Belt - 1st Dan
Posts: 1620
Joined: Sat Jul 18, 2015 12:07 pm
Location: Vermont, USA
Languages: English (N), French (B2+)
Badly neglected "just for fun" languages: Middle Egyptian, Spanish.
Language Log: viewtopic.php?f=15&t=723
x 6330
Contact:

Re: And we're back again, better than ever!

Postby emk » Sun Apr 23, 2017 11:13 pm

astromule wrote:Thank you very much for all your hard work! :)

Thank you! It's great to see you on the forum again. I was just thinking about you while looking at some older posts. :-)

For folks who are technically inclined, you might enjoy checking out the forum's GitHub account, which features:

  • phpBB, our forum software.
  • superchallengebot, which runs the Super Challenge (and which rdearman and I are working to migrate to the new server as soon as we can!).
  • terraform, a project with all our AWS configuration for pipelines, deploys, and easy server upgrades, among other things.
We do accept pull requests, and the path from pull requests to deployed code is now much simpler and more automated. No more manual diffing of changes and uploading things to dodgy FTP servers! Just merge the PR, and hit "Approve" to deploy. We might even configure a staging server at some point to test changes before approving them.
5 x

User avatar
Adrianslont
Blue Belt
Posts: 827
Joined: Sun Aug 16, 2015 10:39 am
Location: Australia
Languages: English (N), Learning Indonesian and French
x 1936

Re: And we're back again, better than ever!

Postby Adrianslont » Sun Apr 23, 2017 11:28 pm

Seems to be running really well. Thanks emk and rdearman.
3 x

User avatar
reineke
Black Belt - 3rd Dan
Posts: 3570
Joined: Wed Jan 06, 2016 7:34 pm
Languages: Fox (C4)
Language Log: https://forum.language-learners.org/vie ... =15&t=6979
x 6554

Re: And we're back again, better than ever!

Postby reineke » Mon Apr 24, 2017 12:01 am

Thanks for your hard work.
2 x

User avatar
neofight78
Blue Belt
Posts: 539
Joined: Wed Jul 22, 2015 8:02 pm
Location: Novosibirsk, Russia
Languages: English (N), Russian (B2+), Spanish (A0)
Language Log: viewtopic.php?t=833
x 1232

Re: And we're back again, better than ever!

Postby neofight78 » Mon Apr 24, 2017 12:43 am

Thanks for the hard work, it's great to have the hosting on a more stable footing.

I don't know about elsewhere on the forum but on my log uploaded media seems to be missing/not displaying. See viewtopic.php?f=15&t=833&start=140

Any chance you guys can take a look?
2 x

Online
User avatar
emk
Black Belt - 1st Dan
Posts: 1620
Joined: Sat Jul 18, 2015 12:07 pm
Location: Vermont, USA
Languages: English (N), French (B2+)
Badly neglected "just for fun" languages: Middle Egyptian, Spanish.
Language Log: viewtopic.php?f=15&t=723
x 6330
Contact:

Re: And we're back again, better than ever!

Postby emk » Mon Apr 24, 2017 1:46 am

neofight78 wrote:I don't know about elsewhere on the forum but on my log uploaded media seems to be missing/not displaying. See viewtopic.php?f=15&t=833&start=140

Any chance you guys can take a look?

I'm aware of two issues with uploaded media: I don't think we managed to get all the most recent media files off the old server, because they were broken on the temporary site from this week as well (I went back and checked). Can anybody see really old image uploads? If it's just recent ones missing, maybe rdearman will be able to find them on then old server.

The other problem is that I can't upload new images right now. I think this is new. I'll look at this soon. My apologies for the glitches!
2 x

User avatar
neofight78
Blue Belt
Posts: 539
Joined: Wed Jul 22, 2015 8:02 pm
Location: Novosibirsk, Russia
Languages: English (N), Russian (B2+), Spanish (A0)
Language Log: viewtopic.php?t=833
x 1232

Re: And we're back again, better than ever!

Postby neofight78 » Mon Apr 24, 2017 2:04 am

I've had a quick flick through the first few pages of my log and there is an old uploaded image that is displaying, so I guess it must only be more recent images that are missing.
2 x


Return to “Technical Support and Feature Requests”

Who is online

Users browsing this forum: No registered users and 2 guests