Connect AWS VPN GateWay to AliCloud VPN GateWay

简介: Connect AWS VPN GateWay to AliCloud VPN GateWay in Site-to-Site mode

Testing Environment

AWS

AliCloud

subnet cidr

192.167.0.0/16

192.168.0.0/16

ecs ip for ping testing

192.167.12.213

192.168.0.10

Establish the IPSec Tunnel

Step1 Create VPN GateWay  in  the vpc on AliCoud



now we created the alicloud vpn gateway ip, 47.99.xx.xx


Step2 Create VPN GateWay  in the vpc on AWS



Step3 Create Customer Gateway on AWS

Enter a name for the customer gateway and enter the IP address of the Alibaba Cloud VPN Gateway


Step4 Create VPN Connection on AWS

Choose your vpn gateway and customer gateway created before.

Config as the bellow picture.

Config local cidr 0.0.0.0/0.
Config remote cidr 0.0.0.0/0.


Edit the tunnel options as bellow


Now, we created the tunnel outerside ip address.

tunnel1 52.73.xx.xx

tunnel2 107.23.xx.xx


Step5 Create Customer Gateway on AliCloud

Use the tunnel 1 ip address as the customer gateway id on aliCloud.


Step6 Create VPN Connection on AliCloud


Step7 Create VPN Connection on AliCloud

Enter the connection name, Choose the vpn gateway and customer gateway created before.

Enter the same pre share key


the advanced configuration as bellow



the connection  works!

tips: tunnel2 configuration is the same. do step5-step7 again.



Ping each side ecs

Step1 Add route entry on AliCloud VPN GateWay

Step2 Add route entry on AliCloud VPC

Step3 Add static route entry on AWS VPN GateWay


Step4 Add route entry on AWS VPC


ping testing works!

aws ecs ping alicloud ecs


alicloud ecs ping aws ecs

相关文章
|
人工智能 安全 Apache
QwenPaw:你的私人 AI 助理 —— 数据归你、记忆进化、多端触达的开源个人智能体
QwenPaw 是一款开源、本地优先的AI个人智能体(Apache 2.0),数据归属用户、记忆自主进化、支持钉钉/飞书/微信等多端触达。3行命令即可部署,内置Coding IDE、Persona人格、定时任务、MCP工具生态与多Agent协作,真正属于你的私有AI助理。
QwenPaw:你的私人 AI 助理 —— 数据归你、记忆进化、多端触达的开源个人智能体
|
Docker Ruby 容器
docker安装gitlab-ee并破解
本文介绍docker安装和gitlab-ee的破解方法
docker安装gitlab-ee并破解
|
8月前
|
人工智能 安全 Java
SpecKit 在成熟 Java 项目中的 AI 编码实践
本文探索AI Code与SpecKit在Java应用中的实践,结合规格驱动开发(SDD)与测试驱动开发(TDD),通过定义原则、需求规格化、技术方案设计等步骤,实现风格统一、可追溯的AI辅助编码。分享选型考量、执行流程及问题优化,总结经验并沉淀为应用级知识资产,提升研发效率与代码规范性。(239字)
2882 13
SpecKit 在成熟 Java 项目中的 AI 编码实践
|
数据采集 监控 API
淘宝淘口令 API 接口全攻略
### 淘口令 API 及相关服务简介 **一、淘口令 API(item_password)** - **功能**:将淘口令转换为商品链接或获取商品信息,支持生成自定义淘口令。 - **申请流程**:注册账号、创建应用、获取凭证、申请权限。 - **调用示例(Python)**:通过签名和请求参数调用接口,生成淘口令。 **二、第三方 API 服务** - **适用场景**:简化开发流程,支持高佣转链、淘口令解析等功能。 - **推荐接口**:万能淘口令生成、淘口令解析真实 URL。
1467 4
|
10月前
|
机器学习/深度学习 人工智能 自然语言处理
双 11 电商效率突围:10 款 AI 工具的技术落地与实践指南
2025年双11促销长达38天,电商迎来AI重构关键期。本文剖析10款主流AI工具技术原理,涵盖设计、文案、投放、客服等场景,揭示计算机视觉、自然语言处理等技术如何驱动电商智能化升级,助力企业高效应对大促挑战。
1267 1
|
9月前
|
存储 供应链 数据可视化
RFID传送带智能采集带来意想不到效果
RFID技术融合传送带,实现物品自动识别、追踪与数据联动,广泛应用于物流、制造、零售、医疗等领域,大幅提升分拣、追溯与管理效率,降低人工错误,推动智能化升级。
|
机器学习/深度学习 人工智能 自然语言处理
大模型的幻觉现象介绍
本文转载至赛尔实验室 ,作者哈工大SCIR,这篇文章很好的解释了大模型的幻觉问题,并且给出了一系列理论上能验证大模型幻觉现象的方式,是一篇很好的科普文章,针对于验证方式后期也可以采取对应的方式来优化此类幻觉现象,先码住好好学习一下哇嘎嘎嘎
|
分布式计算 Hadoop 大数据
Hadoop与Spark在大数据处理中的对比
【7月更文挑战第30天】Hadoop和Spark在大数据处理中各有优势,选择哪个框架取决于具体的应用场景和需求。Hadoop适合处理大规模数据的离线分析,而Spark则更适合需要快速响应和迭代计算的应用场景。在实际应用中,可以根据数据处理的需求、系统的可扩展性、成本效益等因素综合考虑,选择适合的框架进行大数据处理。
1051 2
|
Python
Matplotlib 教程 之 Matplotlib 中文显示 4
Matplotlib 中文显示教程,介绍如何通过设置字体参数或下载支持中文的字体库(如思源黑体)来实现在 Matplotlib 中正确显示中文。示例代码展示了如何使用思源黑体设置图表标题和轴标签的中文显示。
508 0
|
机器学习/深度学习 数据采集 Python
使用Python实现深度学习模型:自监督学习与对抗性训练
【7月更文挑战第1天】 使用Python实现深度学习模型:自监督学习与对抗性训练
802 0