-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cloud migration April 2024 #195
Cloud migration April 2024 #195
Conversation
and move plausible, apollo, and ftp DNS resources to its own compute instance files
… image of the VM snapshots were created and moved from the old cloud to the new cloud
Bjoern suggested that this should be fine as celery is more IO bound than CPU/Mem.
…same volume since reattaching to the same volume from the old cloud, block volume creation was commented out and the new cloud only supports v3 block volume from now on
…same volume since reattaching to the same volume from the old cloud, block volume creation was commented out and the new cloud only supports v3 block volume from now on
the silver worker from the old cloud is still running for the time being and since the new cloud only supports V3 block storage, update the resource in the gold worker
… moved to KVM. These VMs are still running in the old cloud
…the image of the VM snapshots were created and moved from the old cloud to the new cloud. Similarly the DNS resource conf was moved from dns.tf file
These are currently only in the old cloud. The users have confirmed that their VMs can be removed, so we do not need their config files in the new cloud.
… old cloud. commented out so the VMs won't be spawned in the new cloud until ready for migration.
…d cloud for user data backup Once the users complete their backups we can remove them in the old cloud and uncomment it here and re-provision them.
migrated whatever was still in use in the old cloud
…ly in the new cloud
I have now added all the deployments I have done manually so far to this PR to keep track of everything. More changes are yet to come as we progress with the migration. |
New cloud credentials ( |
I have added an |
Does anyone want to have a look at this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't checked the terraform.tfstate fully, but I can do if you think it is better to be checked
The "ingress-from-proxy" secgroup was for flower, but we are accessing this now via tailscale, which is more secure and we don't have to manage login credentials.
Otherwise everything looks fine to me. Thank you, this looks like a lot of work!
Co-authored-by: Mira <[email protected]>
Thank you, @mira-miracoli, for reviewing this. :) |
This PR:
dns.tf
filedns.tf
file to the instance TF file itself.dokku,
influxdb,
and stats snapshots from the old cloud were used as the image, and also reattached the same volume from the old cloud was used. Since reattaching to the same volume from the old cloud, block volume creation was commented out, and the new cloud-only supports v3 block volume from now oncelery
. Bjoern suggested that this should be fine as celery is more IO-bound than CPU/Mem.apollo
Terraform config file and use the snapshot from the old cloud as the image of the VM in the new cloud.plausible
,apollo
, andftp
DNS resources to its own compute instance filesSnapshots:
I created snapshots of the VMs, downloaded them, and uploaded them to the new cloud. Once the upload was done, a property (
--property hw_video_model=cirrus
) was added to each of the images. Due to some config changes in the new cloud, this property is required for all the images that we upload to the new cloud. Manuel said he would investigate this.How to add a property to an uploaded image
Volumes:
device
path in the TF files and comment out the block volume resource creation. Also, keep in mind that only the block volume V3 is supported in the new cloud)OS Images:
I downloaded the OS images currently used from the old cloud, uploaded them to the new cloud, and set the property mentioned above to the images.
I encountered various issues when snapshotting and reattaching volumes, but I don't know what or how to document the troubleshooting.
Ref: https://github.com/usegalaxy-eu/issues/issues/533