...
- If US-EAST-1 S3 is down, or we have some issue where our normal S3 buckets are missing or empty we can temporarily use the backup buckets as a source for files.
- Before this is done, staff users cannot add any new works or files. New works added will be missing when we stop using the backups. Editing metadata is fine.
- While we use the backup buckets, we will be charged for inter-region data transfer. This can quickly add up, so the duration of this switch should be kept to a minimum
- Go to the ansible codebase (ansible-inventory).
- In the roles/kithe/templates/local_env.yml.j2 file
- edit
s3_bucket_originals
,s3_bucket_derivatives
, ands3_bucket_dzi
to add -backup to the end of their name (ex. scihist-digicoll-production-originals-backup) - edit the
aws_region
tous-west-2
- this might break access to other buckets that we don't have an alternate of in us-west-2, oh well this process is not completely polished.
- (optional but probably) edit or add
logins_disabled: true
to lock staff users out to not be making changes. - and then commit the change and merge to master so that the edit is pushed out to all the
- servers – you may have to wait 10-15 minutes for the changes to be deployed.
- NOTE: Staging, lacking buckets called eg "scihist-digicoll-staging-originals-backup" will be be broken if deployed with these.
- edit
- Email all users about the need to avoid adding new works or files.
- If the entire US-EAST region is down, the on_demand_derivates and upload buckets may also be unable to be used. This would prevent uploads and pdf/zip generation. If this is expected to last a long time, you may wish to create those buckets in US-WEST-2 and point the local_env file to these buckets.
...