Try out Exekube with Alibaba Cloud Container Service for Kubernetes
⚠️
- This is a work in progress
- Cluster creation can be really slow (20+ minutes)
- Free trial on Alibaba Cloud does NOT include NAT gateways fees
- Connecting to the cluster is not yet automated
⚠️
- Register an account with Alibaba Cloud.
- Enable the following APIs on Alibaba Cloud:
- Container Service: https://cs.console.aliyun.com/
- ROS: https://ros.console.aliyun.com/
- RAM: https://ram.console.aliyun.com/
- VPC: https://vpc.console.aliyun.com/
- Get an Access Key ID and Access Key Secret: https://www.alibabacloud.com/help/doc-detail/28955.htm
- Save Access Key ID to
live/dev/secrets/kube-system/alicloud/access-key
- Save Access Key Secret to
live/dev/secrets/kube-system/alicloud/secret-key
- Save Access Key ID to
- (Optional) Run
xk aliyun configure
and enter details to use Alibaba Cloud CLI
... to be continued ...
-
Can't store Terraform state in Alibaba Cloud
- OSS (Alibaba Cloud object storage service, equivalent to GCS / AWS S3) has not been added as a backend to store Terraform state
- There is a PR open to add OSS as backend: hashicorp/terraform#16927
- SOLUTION: A workaround is to store our Terraform state in a GCS bucket
- We configure the GCS bucket using
TFSTATE_BUCKET
andTFSTATE_BUCKET_KEY
env variables indocker-compose.yaml
-
StackValidationFailed Message: The service 'vpc' is not enabled. Please enable service firstly.
- You must use the Alibaba Cloud Concolse (web UI) to enable the following APIs:
- Container Service: https://cs.console.aliyun.com/
- ROS: https://ros.console.aliyun.com/
- RAM: https://ram.console.aliyun.com/
- VPC: https://vpc.console.aliyun.com/
- You must use the Alibaba Cloud Concolse (web UI) to enable the following APIs:
-
If you run into problems with enable VPC service, try switching to the "old console": https://www.alibabacloud.com/help/doc-detail/66173.htm
-
RiskControl, This operation is forbidden by Aliyun Risk Control system.
Possible a limitation of Free Trial, or missing security groups for VPC (?) -
Cluster creation stuck at
ALIYUN::ROS::WaitCondition
(?) Not stuck, just takes a long time