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 !!
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.
Glad it was helpful and you like this channel!
Excellent Video Rahul, Thank you!
Most welcome Rajesh!
Wow! This has really helped me understand Azure pipelines! Great video.
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!
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.
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.
I love this video. A question: how to delete/change an existing container?
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
you are amazing Rahul Keep up the good work
Thank you and happy it was helpful!
Thanks a lot buddy. Keep up the good work.
Thanks, will do, Emmanuel !
Great tutorial, thank you!
You're very welcome Marina!
Learned so much, SUBSCRIBED !
Awesome, Thank you 😀
Thanks, Raul, for An excellent video.
Glad you enjoyed it Simon!
It's amazing!
Thank you 😀
Subscribed! Good content. Thank you!
Awesome, thank you!
How can we write this arm template using linked templates
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
Haven’t done this before, but does this help ? www.lunavi.com/blog/deploying-azure-cosmos-db-stored-procedures-with-powershell
Hello Rahul, do you have any video for creating Azure Function App using ARM template and using DevOps
Not at the moment. Are you facing any difficulties with it?
Hi, How to insert a document in existing container using azure CLI task in azure devops ?? Kindly help me
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
Mind = blown
within the first minute 😂
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.
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
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.
@@krishna172225 Doesn't the Activity Log show you the details as shared in the link above?