October 2020 – Cloud Support

Sign in Azure

There are various methods to connect to Azure and deploy the services. Below are few ways to connect to Azure. Azure Portalhttp://portal.azure.com/ Provide your email/password to connect. 2. Azure Cli We can install Azure CLI on Mac, Windows, or Linux. To Install on Mac brew update && brew install azure-cli Upgrade Azure CLI on a […]

Installing Jenkins on Azure VM

1. Create jenkin.txt file with below contents #cloud-config package_upgrade: true write_files: – path: /etc/systemd/system/docker.service.d/docker.conf Content: [Service] ExecStart= ExecuteStart=/usr/bin/dockerd -path: /etc/docker/daemon.json Content: { hosts”: {“fd://”,”tcp://localhost:2375″} runcmd: -wget -q -O – https://jenkins-ci.org/debian/jenkins-ci.org.key |apt-key add – -sh -c ‘echo db http://pkg.jenkins-ci.org/debian-stable binary/> /etc/apt/source.list.d/jenkins.list’ -apt-get update && https://get.docker.com/ | sh -usermod -aG docker jenkins -service jenkins start 2. Login […]

Deploy AKS using Azure Cli

1.login to Azure Portal 2. Create resource group using below command az group create –name demo –location eastus 3. Run the below command to create AKS Cluster az aks create –resource-group demo –name democluster –node-count 1 –generate-ssh-keys You can see this on the Azure 4. To connect cluster install Kubectl cli az aks install-cli 5. […]