buttonmen-dev / buttonmen

Buttonmen - an online dice game
Other
16 stars 24 forks source link

migrate www.buttonweavers.com to ECS #2945

Closed cgolubi1 closed 4 months ago

cgolubi1 commented 4 months ago

Deploy the changes made for #2908 and tested on staging on #2937 to the production site.

Plan (copied from steps i ran for staging on #2937):

Ideally, that's it. If anything goes wrong, roll back and revisit.

cgolubi1 commented 4 months ago

This should be basically ready to go. I'll setup the PR and checkout tomorrow morning, in case anything changes between now and then for some reason.

cgolubi1 commented 4 months ago

Starting the prep work now.

cgolubi1 commented 4 months ago

My workspace is ready to go. Waiting until 16:00 UTC, since that's when i said i would kick this off.

cgolubi1 commented 4 months ago

Okay, off we go, taking the prod instance down now.

cgolubi1 commented 4 months ago

Disassociated EIP from prod instance.

cgolubi1 commented 4 months ago

Created NLB, waiting for it to finish provisioning.

cgolubi1 commented 4 months ago

Okay, done. Kicking off the deployment now.

cgolubi1 commented 4 months ago

That's running --- the next step takes about 15 minutes (it will always take that long, but usually the site is still available running the old container while it happens --- the downtime is only because of the cutover from EC2 to ECS).

cgolubi1 commented 4 months ago

Okay, the site appears to be running. Let's check things out.

cgolubi1 commented 4 months ago

I can take normal actions on the site, and when i do, log entries show up on the container. We received the e-mail with the container's IP address. There's not really much else to check; either it works or it doesn't, and it seems to work.

cgolubi1 commented 4 months ago

Closing this out. Let's hold off on merges for about a day just in case anything urgent comes up, and then go from there.