Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to Dutch bare metal server #180

Closed
adriaanvanrossum opened this issue Dec 5, 2019 · 1 comment
Closed

Move to Dutch bare metal server #180

adriaanvanrossum opened this issue Dec 5, 2019 · 1 comment
Assignees

Comments

@adriaanvanrossum
Copy link
Contributor

@adriaanvanrossum adriaanvanrossum commented Dec 5, 2019

Prepare

  • Ask feedback from customers if they are okay with it
  • Order 64GB server at leaseweb.com
  • Install latest Ubuntu server version
  • Encrypt disk
  • Verify 1 Gbit/s upload & download speed
  • Setup remove unlock (check HN comments for different way to unlock)
  • Install PostgreSQL (same version as main app)
    • Install extension (deep nested etc)
    • Copy config of old server
    • Create roles needed to other apps
  • Install Elasticsearch (let's do this later)
    • Setup script to retrieve data from queue
    • Insert all raw data from old server
    • Create endpoint for old server to query to
  • Copy certificates
  • Move main app
  • Copy nginx config

Migrate database

  • Disable processing on the new server
  • Let queue app move data to both servers
  • Stop processing scripts on new server
  • Stop processing scripts on old server
  • Delete all events_raw and visits from before midnight UTC
  • Move data from before midnight
  • Move non raw data

After migration

  • Update acceptance app to point to new server
  • Update monitoring app to point to new server
  • Update admin app to point to new server
  • Update DNS to point to new server
  • Remove temp robots.txt on new server
  • Update monit config
  • Move raw data
@adriaanvanrossum adriaanvanrossum self-assigned this Dec 5, 2019
@adriaanvanrossum adriaanvanrossum added this to Features & bugs in Public roadmap via automation Dec 5, 2019
@adriaanvanrossum adriaanvanrossum moved this from Features & bugs to Planned in Public roadmap Dec 8, 2019
@adriaanvanrossum adriaanvanrossum changed the title Move to bare metal server Move to Dutch bare metal server Dec 8, 2019
@adriaanvanrossum adriaanvanrossum moved this from Planned to In progress in Public roadmap Dec 14, 2019
@adriaanvanrossum adriaanvanrossum pinned this issue Jan 2, 2020
@adriaanvanrossum

This comment has been minimized.

Copy link
Contributor Author

@adriaanvanrossum adriaanvanrossum commented Jan 3, 2020

Done!

Public roadmap automation moved this from In progress to Implemented Jan 3, 2020
@adriaanvanrossum adriaanvanrossum unpinned this issue Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Public roadmap
  
Implemented
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.