| 
														
															@@ -48,24 +48,24 @@ docker_config = { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-# 机器配置 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+# 机器配置_hangzhou_k 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 instance_config_j = { 
														 | 
														
														 | 
														
															 instance_config_j = { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 使用的镜像信息 
														 | 
														
														 | 
														
															     # 使用的镜像信息 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    'image_id': 'm-bp1e7t7odil9c8kqsm10', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    'image_id': 'm-bp1etti4xsich7c8y5e8', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 设置实例规格 
														 | 
														
														 | 
														
															     # 设置实例规格 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    'instance_type': 'ecs.c7.xlarge', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    'instance_type': 'ecs.c6.xlarge', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 选择的交换机 
														 | 
														
														 | 
														
															     # 选择的交换机 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     'vswitch_id': 'vsw-bp1ssuwxyrt0p17ceeir0', 
														 | 
														
														 | 
														
															     'vswitch_id': 'vsw-bp1ssuwxyrt0p17ceeir0', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 当前VPC类型的安全组 
														 | 
														
														 | 
														
															     # 当前VPC类型的安全组 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    'security_group_id': ['sg-bp1irhrkr4vfj272hk4y'], 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    'security_group_id': 'sg-bp1irhrkr4vfj272hk4y', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 硬盘的大小,单位:G 
														 | 
														
														 | 
														
															     # 硬盘的大小,单位:G 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    'disk_size': ['200'], 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    'disk_size': '200', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 服务器命名 
														 | 
														
														 | 
														
															     # 服务器命名 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    'instance_name': 'gateway-alb-[01,2]', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    'instance_name': 'ESS-gateway-[1,2]', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 服务器所在区域 
														 | 
														
														 | 
														
															     # 服务器所在区域 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     'zone_id': 'cn-hangzhou-j', 
														 | 
														
														 | 
														
															     'zone_id': 'cn-hangzhou-j', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 磁盘类型:云盘 
														 | 
														
														 | 
														
															     # 磁盘类型:云盘 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    'disk_category': 'cloud_efficiency', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    'disk_category': 'cloud_essd', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # 密钥 
														 | 
														
														 | 
														
															     # 密钥 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     'key_pair_name': 'stuuudy', 
														 | 
														
														 | 
														
															     'key_pair_name': 'stuuudy', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     # tag 
														 | 
														
														 | 
														
															     # tag 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -73,6 +73,8 @@ instance_config_j = { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 # 服务启动脚本 
														 | 
														
														 | 
														
															 # 服务启动脚本 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 start_sh_dir = os.path.dirname(os.path.realpath(__file__)) 
														 | 
														
														 | 
														
															 start_sh_dir = os.path.dirname(os.path.realpath(__file__)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 start_sh_filename = 'gateway_start.sh' 
														 | 
														
														 | 
														
															 start_sh_filename = 'gateway_start.sh' 
														 |