简体   繁体   中英

Can we migrate local beanstalkd to GCP Compute instance?

I have local system that have a beanstalkd application running.Now i want to migrate to GCP compute instances.

I have installed beanstalkd on CE.So how i can migrate this to CE?

The steps are straightworfard

  1. make sure binlog is activated
  2. locate the binlog file
  3. stop the Beanstalkd instance, for fully graceful shutdown, so binlog file should be flushed
  4. upload to Cloud Storage, (either using the Console or using gcloud utility)
  5. on the Compute Engine instance, make sure you have Storage permission in the edit section
  6. download using gcloud commands the binlog file to the machine itself
  7. start the beanstalkd service and woala, your persisted messages are there

you can setup on the same machine or other machines Beanstalkd Console Admin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM