forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ga-accelerated-access-to-specified-ip.yml
122 lines (122 loc) · 4.92 KB
/
ga-accelerated-access-to-specified-ip.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AccelerateRegionId:
Type: String
Label:
en: Accelerate region ID.
zh-cn: 加速地域ID。
AssociationProperty: ALIYUN::ECS::RegionId
Default: cn-hongkong
EndpointGroupRegion:
Type: String
Label:
en: Endpoint group region ID.
zh-cn: 终端节点所在的地域ID。
AssociationProperty: ALIYUN::ECS::RegionId
Default: us-west-1
EndpointIP:
Type: String
Label:
en: Endpoint IP.
zh-cn: 终端节点IP。
EnableCrossBorder:
Type: Boolean
Label:
en: CDT type accelerator whether to agree cross-border compliance commitments. If there is a cross-border situation between the acceleration region and the endpoint group region, you must agree to the compliance commitment.
zh-cn: CDT加速实例是否同意跨境合规协议。如果您的业务涉及跨境(中国内地的地域与中国香港、中国澳门、中国台湾地域或其他国家和地区)加速,必须同意该合规承诺。
Description:
en: "Please note: Your use of this product or this function will transfer your business data on the cloud to the region or product deployment region of your choice, which may involve cross-border data. You agree and confirm that you have full authority to dispose of this business data and are fully responsible for the data transmission. You should ensure that your data transfer complies with all applicable laws, including providing adequate data security protection technologies and strategies, fulfilling legal obligations such as obtaining full express consent from individuals, completing data export security assessment and declaration, and you promise that your business data does not contain The transmission or disclosure of which is restricted, prohibited or prohibited by any applicable law. If you fail to comply with the foregoing statements and warranties, you will bear the corresponding legal consequences, and you shall be liable for compensation for any losses suffered by Alibaba Cloud and or other affiliated companies."
zh-cn: 请注意:您使用该产品或该功能,将使您在云上的业务数据传输至您所选择的区域或产品部署区域,可能会涉及数据跨境。您同意并确认,您完全拥有该份业务数据的所有处置权限,对数据传输的行为全权负责。您应确保您的数据传输符合所有适用法律,包括提供充分的数据安全保护技术和策略,履行获得个人充分明示同意、完成数据出境安全评估和申报等法定义务,且您承诺您的业务数据不含任何所适用法律限制、禁止传输或披露的内容。如您未遵守前述声明与保证,您将承担对应的法律后果,导致阿里云和或其他关联公司遭受任何损失的,您应承担赔偿责任。
Resources:
Accelerator:
Type: ALIYUN::GA::Accelerator
Properties:
BandwidthBillingType: CDT
InstanceChargeType: PayAsYouGo
EnableCrossBorder:
Ref: EnableCrossBorder
AccelerateRegion:
Type: ALIYUN::GA::IpSets
Properties:
AcceleratorId:
Ref: Accelerator
AccelerateRegion:
- Bandwidth: 2
IpVersion: IPv4
AccelerateRegionId:
Ref: AccelerateRegionId
IspType: BGP
Listener:
Type: ALIYUN::GA::Listener
Properties:
PortRanges:
- FromPort: 80
ToPort: 80
Protocol: tcp
AcceleratorId:
Ref: Accelerator
ClientAffinity: SOURCE_IP
DependsOn: AccelerateRegion
EndpointGroup:
Type: ALIYUN::GA::EndpointGroup
Properties:
EndpointGroupRegion:
Ref: EndpointGroupRegion
AcceleratorId:
Ref: Accelerator
ListenerId:
Ref: Listener
EndpointConfigurations:
- Type: Ip
Weight: 100
Endpoint:
Ref: EndpointIP
Outputs:
AcceleratorId:
Description:
en: The ID of the Global Accelerator instance
zh-cn: 全球加速实例ID
Value:
Fn::GetAtt:
- Accelerator
- AcceleratorId
EndpointGroupId:
Description:
en: The ID of the endpoint group
zh-cn: 终端节点ID
Value:
Fn::GetAtt:
- EndpointGroup
- EndpointGroupId
ListenerId:
Description:
en: The ID of the listener
zh-cn: 监听ID
Value:
Fn::GetAtt:
- Listener
- ListenerId
Metadata:
ALIYUN::ROS::Interface:
ParameterGroups:
- Parameters:
- AccelerateRegionId
Label:
default:
en: AccelerateRegion
zh-cn: 加速地域
- Parameters:
- EndpointGroupRegion
- EndpointIP
Label:
default:
en: EndpointGroup
zh-cn: 终端节点
- Parameters:
- EnableCrossBorder
Label:
default:
en: Cross-border Compliance Commitments
zh-cn: 跨境合规承诺
TemplateTags:
- acs:document-help:ga:加速访问指定IP的后端服务