Entries this day: plan
plan
10:02 Friday 14 April 2017 JST
Because it takes 5 hours to import the data in my reliable way, I will not recreate the machine from scratch in Tokyo region.
I'll finish it up in California and then move it over to Tokyo.
steps
- ~~add cron jobs~~
- Make sure site works
- change the domains to correct domains
- make an AMI of the box
- copy it to Tokyo
- spin it up
- copy latest data changes over
- point DNS to new box
- activate SSL
Step One requires
- ~~copy cron scripts from live server to local machine~~
- ~~Create role to deploy them on vagrant box~~
- ~~create playbook to run role~~
- ~~copy them into vagrant box (role/templates)~~
- ~~remove them from local machine~~
- ~~ansible-vault encrypt them on vagrant box~~
- ~~Create new mysql backup user~~
- ~~Create new mysql log_deleter user~~
- ~~Save changes that created users~~
- ~~tell role to copy scripts to server~~
- ~~have the role create the crontab~~
- ~~run playbook~~
- ~~test the script~~
- ~~install s3put command~~
- ~~create new s3 credentialed user on AWS Console~~
- ~~Add credentials to new server~~
- ~~fix GRANTS for mysql user~~
- ~~test the script~~
- ~~run the script for real~~
- ~~see if it runs via cron~~
Step Three requires a few steps for me to feel comfortable with it
- change the domains to different test sub-domains
- ensure I can activate SSL on them
- run tests on the sites
- change the domains to correct domains
Step Seven requires telling Ansible to talk to servers in a different region, which I can probably do in realtime without testing (because I won't have activated DNS on the box yet).
permalink
|