Forem

Nirav Madariya
Nirav Madariya

Posted on • Originally published at Medium on

Basic DevOps in Azure Websites (and Behind the scenes 👅)

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 (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 (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

Deployment center in Azure websites

Setup the Source control from step 1,

Step 1 : select source control

Step 2 : Select build provider

Step 2 : Select Build provider

Step 3 : Configure Source Control

Step 3 : Configure source control

Step 4 : Confirm the selections you made :P

step 4 : Summary

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.

Behind the scenes : WebHook

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.

Verify Deployment settings — 1

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.

Verify Deployment settings — 2

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

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

Next :

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay