AZURE COSMOS DB DEVOPS | Build/Deploy Pipelines Using ARM Template Infrastructure as Code

Поділитися
Вставка
  • Опубліковано 6 жов 2024
  • Hey friends, Azure Cosmos DB is a fully managed NoSQL database service for modern app development. To start using Azure Cosmos DB, we need to create an Azure Cosmos account a database, and then containers under it. These containers hold the data for us.
    In this video, I will walk you through how to create an Azure Resource Manager (ARM) Template to create an Azure Cosmos DB. I will author the template using VS Code editor and built the whole template from scratch. The template allows continuously adding Containers to the Cosmos DB instance as you develop your application.
    I have also published the template built in this video as an Azure Quickstart template that you can directly use from the Azure Portal.
    🔗VS Code ARM Tools Extension - marketplace.vi...
    🔗 Source Code - rahulpnath.vis...
    🔗Build Pipeline - rahulpnath.vis...
    🔗Release Pipeline - rahulpnath.vis...
    🔗Azure Quickstart Template - azure.microsof...
    Additional Watching:
    📹ARM Templates in Visual Studio - • Using ARM TEMPLATES In...
    📹Getting Started With Azure DevOps - • Introduction To AZURE ...
    📹Azure DevOps Playlist - • Azure DevOps
    Come say hi! ✋
    🌍 Blog - rahulpnath.com/
    ✉ Subscribe to my Newsletter - www.rahulpnath...
    🐦Twitter - / rahulpnath
    📸Instagram - / rahulpnath
    🎥 Recording Setup and Workflow - www.rahulpnath...
    Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!

КОМЕНТАРІ • 37

  • @T0mat0S0up
    @T0mat0S0up 3 роки тому +1

    There many bad quality DevOps channels on YT but this isn't one of them :) Subscribing as this was an excellent introduction into building a cosmosdb using ARM. Thank you.

    • @RahulNath
      @RahulNath  3 роки тому

      Glad it was helpful and you like this channel!

  • @rajeshs7768
    @rajeshs7768 3 роки тому +1

    Excellent Video Rahul, Thank you!

  • @davidweber525
    @davidweber525 3 роки тому

    Wow! This has really helped me understand Azure pipelines! Great video.

    • @RahulNath
      @RahulNath  3 роки тому

      Great to hear David! Do checkout out the full DevOps series which covers a lot more scenarios ua-cam.com/play/PL59L9XrzUa-m7AFDgjWuwm6exyCklc03U.html
      This one is more specific to ARM template in case you are looking ua-cam.com/video/3IRwtbGlshk/v-deo.html
      Thank you again!

  • @TellaTrix
    @TellaTrix 3 роки тому +1

    Hi Rahul, I am a big fan of your video and it is really helping me to upgrade my skills. One more thing I would like to learn about ARM templates is Linked Template and nested templates. I mean we are also using the same approach that you showed us. but i am not sure which one is the best one. Also how would we handle the conditional operator in ARM template like If else and else if as well. Sometime it's too tricky to handle the scenarios from devops perspective. I hope you would have future plan on this topics. Keep tuned us every day.

    • @RahulNath
      @RahulNath  3 роки тому +1

      Thank you and sorry for the delayed reply. If you are reusing the same template a lot I would move out to be a linked template. Mainly comes down to how often it gets changed and what is the effort involved.

  • @ddp4775
    @ddp4775 2 роки тому +1

    I love this video. A question: how to delete/change an existing container?

    • @RahulNath
      @RahulNath  2 роки тому +1

      Thank you - Does this help to delete? stackoverflow.com/questions/57539722/how-to-clear-a-cosmos-db-database-or-delete-all-items-using-azure-portal

  • @mohammadmoaviyah1600
    @mohammadmoaviyah1600 Рік тому

    you are amazing Rahul Keep up the good work

    • @RahulNath
      @RahulNath  Рік тому

      Thank you and happy it was helpful!

  • @emmanuelolisaemeka1370
    @emmanuelolisaemeka1370 2 роки тому

    Thanks a lot buddy. Keep up the good work.

    • @RahulNath
      @RahulNath  2 роки тому

      Thanks, will do, Emmanuel !

  • @MarinaMarina-fr8ex
    @MarinaMarina-fr8ex 10 місяців тому

    Great tutorial, thank you!

    • @RahulNath
      @RahulNath  10 місяців тому +1

      You're very welcome Marina!

  • @jonathandejesus9494
    @jonathandejesus9494 3 роки тому

    Learned so much, SUBSCRIBED !

    • @RahulNath
      @RahulNath  3 роки тому +1

      Awesome, Thank you 😀

  • @simonlock9718
    @simonlock9718 3 роки тому

    Thanks, Raul, for An excellent video.

    • @RahulNath
      @RahulNath  3 роки тому +1

      Glad you enjoyed it Simon!

  • @triyuga
    @triyuga 3 роки тому +1

    It's amazing!

  • @MrZyvox
    @MrZyvox 3 роки тому

    Subscribed! Good content. Thank you!

  • @JunaidKhan-ts9eh
    @JunaidKhan-ts9eh 2 роки тому

    How can we write this arm template using linked templates

  • @rajeshsimiyon749
    @rajeshsimiyon749 2 роки тому +1

    How to deploy Azure cosmosDB stored procedure using Devops pipeline? I don't see a option to created arm template for it.
    It will be great if anyone can help here

    • @RahulNath
      @RahulNath  2 роки тому

      Haven’t done this before, but does this help ? www.lunavi.com/blog/deploying-azure-cosmos-db-stored-procedures-with-powershell

  • @somku1
    @somku1 3 роки тому

    Hello Rahul, do you have any video for creating Azure Function App using ARM template and using DevOps

    • @RahulNath
      @RahulNath  3 роки тому

      Not at the moment. Are you facing any difficulties with it?

  • @nimsayunab
    @nimsayunab 2 роки тому

    Hi, How to insert a document in existing container using azure CLI task in azure devops ?? Kindly help me

    • @RahulNath
      @RahulNath  2 роки тому

      You might need to write a script to do this for you. Something like this stackoverflow.com/questions/51875624/insert-document-in-cosmos-db-using-powershell-sql-api

  • @triyuga
    @triyuga 3 роки тому

    Mind = blown

    • @RahulNath
      @RahulNath  3 роки тому

      within the first minute 😂

  • @krishna172225
    @krishna172225 3 роки тому

    Hi Rahul..hope you're doing well. I have question. If someone deleted the data in cosmos db containers . Is it possible to verify who deleted the data.

    • @RahulNath
      @RahulNath  3 роки тому

      I am good thank you Krishna. Is this what you are looking for? docs.microsoft.com/en-us/azure/cosmos-db/audit-control-plane-logs#identify-the-identity-associated-to-a-specific-operation

    • @krishna172225
      @krishna172225 3 роки тому

      My question is 1 month back in cosmosdb fileshare container we have few files with size 1Gb arround 1 month back. Now the data was 200 mb. We are assuming someone deleted the data. So we want to know who initiated that operation.

    • @RahulNath
      @RahulNath  3 роки тому

      @@krishna172225 Doesn't the Activity Log show you the details as shared in the link above?