Serverless Architecture Meets Azure Dev-Ops


Serverless Architecture Meets Azure Dev-Ops

Business Scenario: Need to create repositories/branches in cloud on demand.

Detailed Scenario: A user will submit information to create a branch + repository or just the branch based on the needs and then system should create respective artifacts. The system should also copy/edit/update some files from a master branch to the new branch. The user can also submit request to delete branch/repository.

Solution: The solution utilizes all serverless technologies available in the cloud to deliver with the least cost.  At a high level, user will add information (JSON document) into CosmosDB, which will automatically trigger an Azure Function using consumption model to build GIT repositories in Azure Dev Ops and eventually write the JSON file into a BLOB in Azure Storage.



The physical architecture of the solution involves following components:
·        Geo-redundant CosmosDB
·        App Service Plan with Azure Function on Consumption Plan
·        Application Insight
·        Azure Storage
·        Azure Dev Ops
o   Project
o   Repositories



Technology Stack
·        Cosmos DB
·        Azure Functions
·        Azure Storage
·        GIT Skills
·        C#

Tools & Language
·        Visual Studio
·        Azure Portal
·        C#

Notable Points
·        Dot-Net Core cannot be used as Dev Ops Nugget libraries only support up to .NET 4.61
·        Cannot use higher than 9.01 version of Newtonsoft.JSON due to conflicts with packages
·        SendGrid can also be integrated to send an email after the repository/branch is created
·        Application insight integration makes the logging/analysis very simple.
·        Use tokens for passing the credentials to Azure Storage and Azure Dev-Ops.

Key Nugget Packages
·        Microsoft.AspNet.WebApi.Client
·        Microsoft.Azure.WebJobs.Extensions.DocumentDB
·        Microsoft.IdentityModel.Clients.ActiveDirectory
·        Microsoft.TeamFoundationServer.Client
·        Microsoft.VisualStudio.Services.Client
·        WindowsAzure.Storage



Comments

  1. Hi, This is a great article. Loved your efforts on it buddy. Thanks for sharing this with us
    Azure training
    Azure certification
    Azure Online training
    Azure devops

    ReplyDelete
  2. I am really happy with your blog because your article is very unique and powerful for new reader. Devops Training in Pune

    ReplyDelete
  3. The main motive of the Google Cloud Big Data Services is to spread the knowledge so that they can give more big data engineers to the world.

    ReplyDelete
  4. Thank you for sharing such a beautiful information with us. I hope you will share more info about Azure Devops. Please keep sharing.
    Azure DevOps Online Training

    ReplyDelete
  5. Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great information. We are technology/news/smartphone company, If you want to read such useful news then, Visit us: https://techmie.com/

    ReplyDelete
  6. Thanks for sharing this beautiful blog, Multisoft Virtual Academy offers Devops Online Training

    ReplyDelete
  7. Thanks for sharing the best information and suggestions, I love your content, and they are very nice and very useful to us. If you are looking for the best devops course, then visit igmguru.com. I appreciate the work you have put into this.

    ReplyDelete
  8. I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
    aws training

    ReplyDelete

Post a Comment