[AWS][CloudEndure]CloudEndure迁移阿里云到AWS
CloudEndure Migration 通过提供高度自动化的直接迁移解决方案来简化和加快云迁移并降低成本。您可以使用 CloudEndure Migration 快速将大量计算机重新放在 AWS 上,而无需担心兼容性、性能中断或花费较长的转换时间。借助基于代理的解决方案 CloudEndure Migration,您可以迁移在受支持的 Windows 和 Linux 操作系统版本上运行的所有应用程序和数据库。
CloudEndure 支持CDC(Change Data Capture)。
主要是两个功能:
- 迁移
- 灾备
这里主要讲迁移Migration这一部分:
先Overview一下CloudEndure架构原理:
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIgTnXz5krC5e4ZD57EjoGbA.png)
Task1:测试云之间的网络带宽情况,估算迁移时间
先在目标端(Ali)和源端(AWS) 测试源到目标端(AWS)的带宽速率。
sudo yum-config-manager --enable epel
yum install iperf3
在目标端 AWS EC2作为Server端。
iperf3 -s -p 1500
Ali 作为Client端执行,
iperf3 -i 10 -c 161.189.160.27 -p 1500 -t 60 >iperf60.log
备注:161.189.160.27为Server端的IP地址,1500为端口号,注意Security Group放行inbound 1500端口。
可以看到Ali的ECS对出口带宽限速,平均在54Mbits。(PS:可以临时申请带宽200Mbits)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVI33LVSkOOnQpN1cvvba1iEw.png)
Task2:安装Agent和配置CloudEndure:
(有点儿困了,直接上截图吧,后期有时间再补文字)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIp9h0_jbfkSzna9J3qGzJ3w.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVI2t-72852rERYqrWDUHWXfg.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIaHp14uKF9k81iQ5UkG0gag.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIc_1QOcV6uwv3SkO8C_ONQQ.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIteoRYewMZfGm3Cd-VqRCmg.png)
Replication Server 默认是t3.small,建议调整大一点儿配置
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIlYaEAitW7Bd0aBr-bYfCGQ.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIIot1aqKhauVi06EcsJyW5g.png)
在阿里的ECS上安装Agent,直接使用截图的命令就可以了。
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIZM0jGoxMJipuk7rmvrEFrA.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIFUOfDILO1IP9DzwJc67eOg.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVI_ddIJSz_uk7DUmZsf6NIAA.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIjITKJbyymcdBac13Z3mXyQ.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVInl5ytXKcASAe1OJa4HGrqw.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIE2Kw_jS9P56QHcxYsjyjWg.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIZZslMNUSq0w6TowK3zmofA.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIVdYprEwzwdJAl33b5YoIkQ.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIGGbf2KpfDT1l7QqRDoH95A.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIa0eo7qJbVjfM8QS7MG5xnA.png)
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVInEYuf7LJxmjkZhO7MHt92Q.png)
在EC2 Console中可以看到创建好的EC2实例。并且可以用阿里云上的用户名和key进行登录。
![[AWS][CloudEndure]CloudEndure迁移阿里云到AWS [AWS][CloudEndure]CloudEndure迁移阿里云到AWS](https://cdn.ancii.com/article/image/v1/sw/wV/kP/PkwwVsGDmjDG9swnOi7SkjVAsMQAarn73E9S3mmSmcCHMNGidCr1t4tLEqCUAvVIlCG2bns4aUItLHCzcG3Jsw.png)
PS:
1个小时或100GiB数据变化。(谁先到谁为先)
详细视频参考:https://edu.51cto.com/center/course/lesson/index?id=558305