From 4fae17767de8210c6b685d50a7b5a7e5aff81f89 Mon Sep 17 00:00:00 2001 From: lrxcy Date: Wed, 20 Feb 2019 12:18:16 +0800 Subject: [PATCH 1/3] add Endpoints Description --- website/source/docs/builders/alicloud-ecs.html.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/website/source/docs/builders/alicloud-ecs.html.md b/website/source/docs/builders/alicloud-ecs.html.md index 945b95090..1dd6599e4 100644 --- a/website/source/docs/builders/alicloud-ecs.html.md +++ b/website/source/docs/builders/alicloud-ecs.html.md @@ -266,6 +266,16 @@ builder. - `tags` (object of key/value strings) - Tags applied to the destination image and relevant snapshots. +### Service endpoints: + +- [Endpoint](https://www.alibabacloud.com/help/doc-detail/25489.htm) - Due to the demonstration of different geographical access, it is recommended to set the [endpoint](https://www.alibabacloud.com/help/doc-detail/25489.htm) according to the actual situation. +The [endpoint](https://www.alibabacloud.com/help/doc-detail/25489.htm) is set into the environment variable: + +Usage: + + $ export ECS_ENDPOINT="endpoint" + + ## Basic Example Here is a basic example for Alicloud. From 3f04b8193f2619993692fed06d5a1ba13bf678db Mon Sep 17 00:00:00 2001 From: lrxcy Date: Wed, 20 Feb 2019 14:38:54 +0800 Subject: [PATCH 2/3] fix endpoints description --- website/source/docs/builders/alicloud-ecs.html.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/website/source/docs/builders/alicloud-ecs.html.md b/website/source/docs/builders/alicloud-ecs.html.md index 1dd6599e4..f092dd6f0 100644 --- a/website/source/docs/builders/alicloud-ecs.html.md +++ b/website/source/docs/builders/alicloud-ecs.html.md @@ -267,14 +267,16 @@ builder. image and relevant snapshots. ### Service endpoints: - -- [Endpoint](https://www.alibabacloud.com/help/doc-detail/25489.htm) - Due to the demonstration of different geographical access, it is recommended to set the [endpoint](https://www.alibabacloud.com/help/doc-detail/25489.htm) according to the actual situation. -The [endpoint](https://www.alibabacloud.com/help/doc-detail/25489.htm) is set into the environment variable: + +Considering network connectivities amond different countries, it's highly recommended to set the service endponit to the corresponding one described in our [official website](https://www.alibabacloud.com/help/doc-detail/25489.htm). Default `endpoint` is `https://ecs-cn-hangzhou.aliyuncs.com.` Usage: $ export ECS_ENDPOINT="endpoint" +Otherwise, you may encouter the following errors due to the network issue from other countries to the default endpoint. + +`Code: AliyunGoClientFailure Message: Get https://ecs-cn-hangzhou.aliyuncs.com?xx: net/http: TLS handshake timeout` ## Basic Example From ab939989ea0eee6b831c8536556000ab36abe3f8 Mon Sep 17 00:00:00 2001 From: lrxcy Date: Sat, 23 Feb 2019 14:03:48 +0800 Subject: [PATCH 3/3] fix some typos --- website/source/docs/builders/alicloud-ecs.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/builders/alicloud-ecs.html.md b/website/source/docs/builders/alicloud-ecs.html.md index f092dd6f0..17af7b077 100644 --- a/website/source/docs/builders/alicloud-ecs.html.md +++ b/website/source/docs/builders/alicloud-ecs.html.md @@ -268,7 +268,7 @@ builder. ### Service endpoints: -Considering network connectivities amond different countries, it's highly recommended to set the service endponit to the corresponding one described in our [official website](https://www.alibabacloud.com/help/doc-detail/25489.htm). Default `endpoint` is `https://ecs-cn-hangzhou.aliyuncs.com.` +Considering network connectivities among different countries, it's highly recommended to set the service endpoint to the corresponding one described in our [official website](https://www.alibabacloud.com/help/doc-detail/25489.htm). Default `endpoint` is `https://ecs-cn-hangzhou.aliyuncs.com.` Usage: