The following warnings occurred:
Warning [2] Undefined array key "extra" - Line: 100 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 100 errorHandler->error_callback
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined array key "google_seo_thread" - Line: 1128 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 1128 errorHandler->error_callback
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 261 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 261 errorHandler->error_callback
/inc/plugins/google_seo/url.php 1080 google_seo_dynamic
/inc/plugins/google_seo/url.php 1128 google_seo_url_dynamic
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined array key "parent" - Line: 447 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 447 errorHandler->error_callback
/inc/plugins/google_seo/url.php 1144 google_seo_url_create
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined array key "pid" - Line: 1147 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 1147 errorHandler->error_callback
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined variable $location - Line: 1250 - File: inc/plugins/google_seo/url.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/url.php 1250 errorHandler->error_callback
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 263 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] Undefined array key "pid" - Line: 129 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 129 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "page" - Line: 144 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 144 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "action" - Line: 145 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 145 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "page" - Line: 151 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 151 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "oa_social_login_custom_caption" - Line: 356 - File: inc/plugins/oa_social_login.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/oa_social_login.php 356 errorHandler->error_callback
/inc/plugins/oa_social_login.php 197 oa_social_login_load_plugin
/inc/class_plugins.php 142 oa_social_login_load_plugin_hook_any
/global.php 498 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined variable $unreadreports - Line: 44 - File: global.php(961) : eval()'d code PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/global.php(961) : eval()'d code 44 errorHandler->error_callback
/global.php 961 eval
/showthread.php 28 require_once




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best practice to migrate VM's from digital ocean to AWS
#1
I have few VM'S which are hosted on digital ocean. Now, I would like to migrate them from digital ocean to AWS. can someone suggest me a best practice for this.

Thanks in advance
Reply
#2
(22-09-2018, 07:38 PM)phanikumar Wrote: I have few VM'S which are hosted on digital ocean. Now, I would like to migrate them from digital ocean to AWS. can someone suggest me a best practice for this.

Thanks in advance

What kind of VMs are these? application servers? databases?

Also, Please do  provide a rough architectural overview of your current setup to get a more detailed solution.
Reply
#3
(24-09-2018, 04:27 PM)fzs Wrote:
(22-09-2018, 07:38 PM)phanikumar Wrote: I have few VM'S which are hosted on digital ocean. Now, I would like to migrate them from digital ocean to AWS. can someone suggest me a best practice for this.

Thanks in advance

What kind of VMs are these? application servers? databases?

Also, Please do  provide a rough architectural overview of your current setup to get a more detailed solution.

Most of the VM's are application and web servers and we don't have backend any backend or API services hosted on DigitalOcean. The applications running on the VM's are independent of each other.
Reply
#4
(26-09-2018, 11:50 PM)phanikumar Wrote: Most of the VM's are application and web servers and we don't have backend any backend or API services hosted on DigitalOcean. The applications running on the VM's are independent of each other.

  1. Update TTL value to less than 1 minute on your existing DNS configuration for your applications.

  2. Backup your existing application and data directories as zip/tar files.

  3. Backup/Image each VM.

  4. Import your images into AWS:
    • If you have a compatible VM image, then use the AWS Import/Export service to bring in your VM image to get converted to an EC2. (Refer: https://aws.amazon.com/ec2/vm-import/)
    • You can also start new EC2 instances and try replicating the data over manually using something like Rsync.
    • If your instances all have a similar base configuration, then create new EC2s and configure your new base machine and then use AMIs to duplicate them. Then just copy the data directories over.

  5. Test your new instances and applications on it individually.

  6. If you have databases, now would be a good time to ensure you setup some kind of replication with the one on AWS being the slave and the one on DO being master.

  7. Create new DNS Zone in Route53 and create new records with TTL of less than 1 minute and use the the Weighted Routing Policy to create same records as you already have in your existing DNS configuration with 100% weightage going to it.


  8. Update your Name Servers at your domain end to point them to route53 Name servers.

  9. Test to see if the new Route53 records are propagated and check to see f your existing application environment on DO is working fine.

  10. Now, add new records that point to your new EC2s and give them about 10% weightage and test to see if you are hitting the new servers and if it working as expected (This assumes you tested the systems green on step 5).

  11. Slowly increase weightage to the EC2s till it is 100%.

  12. Done.
Alternatively you could forget almost all of the above steps except the backups & DNS and go with AWS Server Migration Service: https://aws.amazon.com/server-migration-service/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)