Basic DevOps in Azure Websites (and Behind the scenes 👅)
Tags: continuousintegrati, azurewebsites, continuousdeploymen, continuousdelivery
Published: 2020-03-02 11:56:58

---
title: Basic DevOps in Azure Websites (and Behind the scenes 👅)
published: true
date: 2019-03-13 16:11:54 UTC
tags: continuous-integrati,azure-websites,continuous-deploymen,continuous-delivery
canonical_url: 
---

If you wanna implement CI/CD in your webapp in azure, you don’t need to be a “PRO”.

A feature **Deployment center** in Azure websites comes with all Azure Websites, formerly known as continuous delivery tab.

**Introduction ** :

Deployment Center (Basic CI/CD) comes with several options to deploy from (Source control)and platform to be deployed by (Build Provider), described as follow.

**Deployment options (Source control):**

1. [Azure Repos](https://azure.microsoft.com/en-us/services/devops/repos/) (from Azure DevOps)
2. Github 🐙
3. BitBucket
4. Local Git
5. OneDrive
6. DropBox
7. External (Public Git or Mercurial repo)
8. FTP

**Deployment options (to be deployed by/Build Provider)**

1. Kudu Services
2. [Azure Pipelines](https://azure.microsoft.com/en-us/services/devops/pipelines/) (Preview)

I’ll be explaining Basic DevOps with Azure websites in just 4 steps. Let’s get started.

Step 1 : Go to “Deployment center” from settings pane left side

![](https://cdn-images-1.medium.com/max/308/1*kgud411oPaiN3ts02d0EZw.png)<figcaption>Deployment center in Azure websites</figcaption>

Setup the Source control from step 1,

![](https://cdn-images-1.medium.com/max/1024/1*ajeX2_bC43SRe4R-20L1tQ.png)<figcaption>Step 1 : select source control</figcaption>

Step 2 : Select build provider

![](https://cdn-images-1.medium.com/max/1024/1*YLX-LHB1Lhqy2qBvkl-CXg.png)<figcaption>Step 2 : Select Build provider</figcaption>

Step 3 : Configure Source Control

![](https://cdn-images-1.medium.com/max/1024/1*1sK2xR0Ax8UoM4CgzKEeQQ.png)<figcaption>Step 3 : Configure source control</figcaption>

Step 4 : Confirm the selections you made :P

![](https://cdn-images-1.medium.com/max/1024/1*omSvhPL7bJYxSb6z52-xCQ.png)<figcaption>step 4 : Summary</figcaption>

That’s all. You are good to go.

From now on, what ever you commit on the GitHub repository you configured, it will be automatically be updated in the Azure website.

### **Behind the Scenes :**

The Azure website you configured, that has Kudu services behind the scenes working. Which you can access at https://\<your_app\>.scm.azurewebsires.net, which uses your Azure login.

In your GitHub repository you just configured, that have a webhook configured to push into your Azure website Kudu service, see below.

![](https://cdn-images-1.medium.com/max/1024/1*A4VEwYRJYzBdNCoPJ_dTwg.jpeg)<figcaption>Behind the scenes : WebHook</figcaption>

As soon as you commit and push some changes to the repository, it will trigger the url as https://\<your-website\>.scm.azurewebsites.net/deploy

Which in turn will get the latest changes from your repo and try to build the application.

### **Verify your Deployment :**

From Overview of the application you’ll see the source control details, as below.

![](https://cdn-images-1.medium.com/max/1024/1*v3UkGhx40yPmkJjnjhSS0A.png)<figcaption>Verify Deployment settings — 1</figcaption>

Also, in Deployment center you’ll see the latest builds, Deployment details, it’s status (Succeeded or Failed), which build is active, and Logs for more information.

![](https://cdn-images-1.medium.com/max/1024/1*KtwH-zpy0TZv8gVRl3LpRw.png)<figcaption>Verify Deployment settings — 2</figcaption>

That’s All.

### **Disclaimer :**

This type of Auto Deployment is just for Dev/Test purpose, this is not recommended for your production workloads.

Hope this article has walked you clear with the concepts of Basic DevOps(CI/CD) for Azure app services. In case you want to connect with me you can DM me in twitter at [https://twitter.com/niravmadariya](https://twitter.com/niravmadariya)

Please don’t forget to clap for the article if you liked reading it. See you soon with more concepts in Azure :)

**Next :**

- Ask experts what to do next
- Start Learning [Azure Cloud Devlopment](https://docs.microsoft.com/en-us/learn/browse/?products=azure)
- Have a look at [Azure Documentation](https://docs.microsoft.com/en-us/azure/)