Demo 0 : App Service Plan & Scale
Demo 1 : Upload app file Demo 2 : Auto Swap Demo 2 : Visual Studio deploy app - Config - Extension
Demo 3 : Kudo
Demo 5 : Azure DevOps with App Service - Version Control System(VCS) - Continuous integration - Continuous Deployment
Demo 6 : App Service Best Practices
- 共同放置区域 Colocation
- 应用服务自动修复功能
- Auto Scale
Demo 0 : Azure Kubernetes Engine
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/6500a4b3-d5f9-4ef4-a764-5d6360780b0b/resourceGroups/AKS_Engine_Demo1"
- servicePrincipalProfile param
##Generate ARM Template ./aks-engine generate --api-model Kubernetes.json
az group deployment create --name=aksengine --resource-group=AKS_Engine_Demo1 --template-file=azuredeploy.json --parameters=azuredeploy.parameters.json
Demo 1 : ACR + AKS
az group create -l eastus --name ACSDemo
git clone https://github.com/Azure-Samples/azure-voting-app-redis.git
cd azure-voting-app-redis
Docker-compose up -d
Docker ps
http://localhost:8080/
az acr create --resource-group ACSDemo --name ACSDemoACR --sku Basic
az acr login --name ACSDemoACR
docker login -u ACSDemoACR -p +DrllUBGxvbPqgHCc0cb+dKH9VUlUnBt acsdemoacr1.azurecr.io
docker tag azure-vote-front acsdemoacr.azurecr.io/azure-vote-front:v1
docker push acsdemoacr.azurecr.io/azure-vote-front:v1
az acr repository list --name ACSDemoACR --output table
az aks create --resource-group ACSDemo --name AKSCluster --node-count 1 --generate-ssh-keys
az aks get-credentials --resource-group ACSDemo --name AKSCluster
kubectl get nodes�
CLIENT_ID=$(az aks show --resource-group ACSDemo --name AKSCluster1 --query "servicePrincipalProfile.clientId" --output tsv)
ACR_ID=$(az acr show --name ACSDemoACR --resource-group ACSDemo --query "id" --output tsv)
az role assignment create --assignee $CLIENT_ID --role Reader --scope $ACR_ID
acsdemoacr.azurecr.io/azure-vote-front:v1
kubectl apply -f azure-vote-all-in-one-redis.yaml
kubectl get service
Demo 3 : AKS Best Practices 设计多租户群集,群集隔离
容器网络接口 CNI
分配入口流量
应用程序防火墙 (WAF) 保护流量
存储和备份
Feedback
Question