COPIM / open-book-collective

A platform to assist Open Access book publishers in their engagements with scholarly libraries and other stakeholders
Apache License 2.0
0 stars 0 forks source link

Infrastructure migration #105

Closed MartinPaulEve closed 8 months ago

MartinPaulEve commented 10 months ago

We are hitting strange disk usage spikes on the current hosting box. We need to attempt to migrate the site to a new server. We are investigating zero-downtime solutions for this. We are also hitting challenges with Django migrations and the move of the git branch from master to main.

Steps involved:

Optional steps if problem persists:

@joedeville for info.

MartinPaulEve commented 10 months ago

Initial indications are that moving the hosting to EBS block storage has succeeded. Will continue to monitor.

At the weekend, Andy and Martin will investigate ongoing git history problems in the repo.

joedeville commented 10 months ago

Thanks @MartinPaulEve !

MartinPaulEve commented 10 months ago

New EC2 box has been provisioned

MartinPaulEve commented 10 months ago

NGINX, postgres installed and configured

MartinPaulEve commented 10 months ago

Main block of server setup, security, and daemon configuration is now done. Aiming at some point this week to meet up with Andy to undertake final delicate DB migration and domain name transfer.

MartinPaulEve commented 10 months ago

Postgres is migrated.

MartinPaulEve commented 10 months ago

Static serving is now working.

MartinPaulEve commented 10 months ago

Certbot has issued certificates

MartinPaulEve commented 10 months ago

Migrations complete: watch and wait phase