All Products
Search
Document Center

:WA-CEN build a cross-region network template on the cloud

Last Updated:Mar 25, 2025

Template ID

L4O1OUS05AK7079R

Address:https://bpstudio.console.alibabacloud.com/bpStudio/topo?TemplateId=L4O1OUS05AK7079R

Supported region

Beijing

Template architecture

image.jpeg

Parameter variables

Parameter variable types include String, Integer, Boolean, Map, etc., and related parameter values are passed through variables.

If not passed, the default value is used. For modifying the template variable configuration, see:Template Variable Configuration

Ordinal number

Variable name

Variable type

Default value

Description

1

${cen_name}

String

Cloud Enterprise Network CEN

The name of the CEN instance

2

${vpcbj_name}

String

vpc

The name of the VPC in the Beijing region

3

${vpcbj_cidr}

String

10.0.0.0/24

The CIDR of the VPC in the Beijing region

4

${vpcbj_vsw1_name}

String

vswitch

The name of the first switch in the VPC in the Beijing region

5

${vpcbj_vsw1_cidr}

String

10.0.0.0/29

The CIDR of the first switch in the VPC in the Beijing region

6

${vpcbj_vsw2_name}

String

vswitch

The name of the second switch in the VPC in the Beijing region

7

${vpcbj_vsw2_cidr}

String

10.0.0.8/29

The CIDR of the second switch in the VPC in the Beijing region

8

${vpchz_name}

String

vpc

The name of the VPC in the Hangzhou region

9

${vpchz_cidr}

String

10.10.0.0/24

The CIDR of the VPC in the Hangzhou region

10

${vpchz_vsw1_name}

String

vswitch

The name of the first switch in the VPC in the Hangzhou region

11

${vpchz_vsw1_cidr}

String

10.10.0.0/29

The CIDR of the first switch in the VPC in the Hangzhou region

12

${vpchz_vsw2_name}

String

vswitch

The name of the second switch in the VPC in the Hangzhou region

13

${vpchz_vsw2_cidr}

String

10.10.0.8/29

The CIDR of the second switch in the VPC in the Hangzhou region

14

${vpcsz_name}

String

vpc

The name of the VPC in the Shenzhen region

15

${vpcsz_cidr}

String

10.20.0.0/16

The CIDR of the VPC in the Shenzhen region

16

${vpcsz_vsw1_name}

String

vswitch

The name of the first switch in the VPC in the Shenzhen region

17

${vpcsz_vsw1_cidr}

String

10.20.0.0/29

The CIDR of the first switch in the VPC in the Shenzhen region

18

${vpcsz_vsw2_name}

String

vswitch

The name of the second switch in the VPC in the Shenzhen region

19

${vpcsz_vsw2_cidr}

String

10.20.0.8/29

The CIDR of the second switch in the VPC in the Shenzhen region

template_id: L4O1OUS05AK7079R
area_id: "cn-beijing"
instances:

variables:
  ${cen_name}: "cen"
  ${vpcbj_name}: "vpc-bj"
  ${vpcbj_cidr}: "10.0.0.0/24"
  ${vpcbj_vsw1_name}: "vsw1"
  ${vpcbj_vsw1_cidr}: "10.0.0.0/29"
  ${vpcbj_vsw2_name}: "vsw2"
  ${vpcbj_vsw2_cidr}: "10.0.0.8/29"
  ${vpchz_name}: "vpc-hz"
  ${vpchz_cidr}: "10.10.0.0/24"
  ${vpchz_vsw1_name}: "vsw1"
  ${vpchz_vsw1_cidr}: "10.10.0.0/29"
  ${vpchz_vsw2_name}: "vsw2"
  ${vpchz_vsw2_cidr}: "10.10.0.8/29"
  ${vpcsz_name}: "vpc-sz"
  ${vpcsz_cidr}: "10.20.0.0/24"
  ${vpcsz_vsw1_name}: "vsw1"
  ${vpcsz_vsw1_cidr}: "10.20.0.0/24"
  ${vpcsz_vsw2_name}: "vsw2"
  ${vpcsz_vsw2_cidr}: "10.20.0.8/29"

configuration:
  enableMonitor: "0"
  enableReport: "0"

output:
  ecs: 
    - Private_ip
  eip: 
    - IpAddress

Notes: 1. To replace existing instances in the template, such as using existing VPCs, switches, security groups, or shared bandwidth, change the value of the id field for the specific resource. The sample code below shows how to replace the current VPC ID with an existing one:

instances:
 - node_type: vpc
  node_name: vpc-01
  id: vpc-2zeb0q38i10******* (replace with existing instance ID)