Connect a Alibaba Cloud Kubernetes cluster to Azure Arc_ and deploy workloads on it which has PaaS abstracted with Dapr.
- Aliyun CLI
- Azure CLI
- jq
- Terraform
set environment variables (e.g. in .profile
) :
export ALICLOUD_ACCESS_KEY="----Alibaba Cloud access-key----"
export ALICLOUD_SECRET_KEY="----secret-key----"
export ALICLOUD_REGION="----region----" # e.g. cn-shanghai
export ALICLOUD_PROFILE="akProfile"
export AZURE_SUBSCRIPTION_ID="----Azure subscription id----"
export AZURE_LOCATION="----location---" # e.g. southeastasia
export AZURE_RESOURCE_GROUP="---resource group----"
cd ./AzureArc-Alibaba-K8S/setups
terraform init
terraform apply
cd ..
./setup_ay_jump.sh
./ssh_ay_jump.sh
tail /var/log/cloud-init-output.log
./deploy_demo.sh