Downtime Plan
This downtime is necessary to:
- Switch our Domain Registrar from Onamae to Cloudflare
- As a side effect, refresh our SSL cert which expires in late May
- Upgrade our EB platform version, as it moved from deprecated to unsupported in September
- We’ll be dockerizing the app to match the new LMS as a side effect of this
- Refresh the RDS SSL cert, which expires in late August
- Move the site from our Org AWS account to the parent company’s account
Steps are listed in the order they’re planned to be executed.
1. Dockerize
We need both an EB platform upgrade and Ruby upgrade, both of which are currently problematic since we’re not using Docker.
- Get the current version of the app running on Docker
- Deploy it successfully to EB on the parent company account
- Upgrade to the latest Ruby version
- Get that running properly as a test on the current AWS account
2. Switch Domain Registrar
We want to get off Onamae so we can actually read what the buttons do, so switching the domain to Cloudflare.
- General process for transferring a domain to Cloudflare
- Japanese guides to transfer process from Onamae
Basically cancel Whois redaction, get the authorisation code, initiate the process in Cloudflare, approve when you get the email from Onamae then wait.
To point it at the new server from Cloudflare, just create CNAME
records pointing at the Beanstalk URL for the environment.
3. Backup RDS & make switch
- Backup the DB manually when I start, get a local copy somehow as well.
- Try to share it with the parent company account and initialize it independently of EB
- Connect to EB once you get the app up and running on the parent company account
- Verify the data is all still there & accessible, everything still works