
# 使用APIG专享版跨VPC开放后端服务操作流程
![](https://support.huaweicloud.com/bestpractice-apig/zh-cn_image_0000002073213918.png)
1. [创建VPC](https://support.huaweicloud.com/bestpractice-apig/apig-bp-0019.html#apig-bp-0019__zh-cn_topic_0000001363186344_section48861355174012)
   创建两个VPC，VPC1为API网关所在VPC，VPC2为后端应用所在VPC。
   
2. [创建实例](https://support.huaweicloud.com/bestpractice-apig/apig-bp-0019.html#apig-bp-0019__zh-cn_topic_0000001363186344_section78941355124019)
   在VPC1上创建APIG专享版实例。
   
3. [创建弹性负载均衡](https://support.huaweicloud.com/bestpractice-apig/apig-bp-0019.html#apig-bp-0019__zh-cn_topic_0000001363186344_section4898135534011)
   在VPC2上创建弹性负载均衡。
   
4. [创建对等连接](https://support.huaweicloud.com/bestpractice-apig/apig-bp-0019.html#apig-bp-0019__zh-cn_topic_0000001363186344_section9901125511409)
   创建VPC Peering对等连接，打通VPC1和VPC2。
   
5. [配置路由](https://support.huaweicloud.com/bestpractice-apig/apig-bp-0019.html#apig-bp-0019__zh-cn_topic_0000001363186344_section2090212555402)
   在APIG专享版实例上配置路由，配置IP为购买ELB所在VPC2网段。
   
6. [创建API](https://support.huaweicloud.com/bestpractice-apig/apig-bp-0019.html#apig-bp-0019__zh-cn_topic_0000001363186344_section890485534013)
   创建API，后端服务地址配置ELB的IP。
   
7. [创建ECS](https://support.huaweicloud.com/bestpractice-apig/apig-bp-0019.html#apig-bp-0019__zh-cn_topic_0000001363186344_section1090755516408)
   选择VPC2为其VPC，并在其上部署后端应用服务，创建Elastic Cloud Server（应用服务器）。
   
8. [调试API](https://support.huaweicloud.com/bestpractice-apig/apig-bp-0019.html#apig-bp-0019__zh-cn_topic_0000001363186344_section990985517406)
   验证对接内网ELB是否成功。
   
#### 操作视频
本视频演示在API网关上开放内网ELB中的服务。
因产品功能演进，操作界面可能存在差异，相关视频仅供参考，具体以实际环境为准。
<video controls="controls" preload="none" id="object28503596545" class="idp-external-video" src="https://res-static.hc-cdn.cn/cloudbu-site/china/zh-cn/support/apig-video/1690897301850911886.mp4" title="API网关跨VPC开放后端服务" poster="https://support.huaweicloud.com/bestpractice-apig/zh-cn_image_0000002314432302.jpg" height="300.0000" width="600.0000"></video>
