Understanding and Using Project BICEP - The NEW Azure Deployment Technology
Вставка
- Опубліковано 5 лип 2024
- Walkthrough of the new Project Bicep. Why we have it and how to use it with full demo as a fantastic way to deploy to Azure.
Bicep main page - github.com/Azure/bicep
Bicep examples - github.com/Azure/bicep/tree/m...
00:00 Introduction
01:05 Background and ARM background
03:23 ARM templates and use
08:55 What's wrong with ARM templates
10:30 Enter Project Bicep
14:30 NO state file
16:15 Tooling for Bicep
19:50 Use the Bicep tutorial
20:40 Creating our first Bicep file
21:26 Parameters
24:28 Creating resources and intellisense our friend
27:50 Adding a child resource
29:11 String interpolation and using variables
30:38 Outputs
31:25 Building JSON from Bicep
32:20 Deploying Bicep files with PowerShell
35:30 Deploying with AZ CLI
37:23 Using Bicep in pipelines
38:23 Advanced features and modules
39:55 Using Bicep, examples and future
42:38 Close - Наука та технологія
John has become my favorite Azure teacher during my certification process - and I am still learning so much more every time I come back. Keep it up John!
You're my GO TO when I need to learn and refresh my knowledge of anything related to Azure! Thanks for this one!
All of these videos are such a great help, and explains things so well at the right level of complexity, thank you for making them.
You're very welcome!
Great stuff as always John - thorough, candid and pragmatic - thank you very much!
I'm so happy to discover this channel. Huge thanks for lessons, updates about Azure
Thanks for watching.
Excellent breakdown of Bicep, John. I have never been a fan of JSON, so this is a welcome alternative that I’ll definitely be using in the future.
Great cover. Thanks John for doing this. Really appreciate your efforts to simplify.
No problemo:)
Bicep, Terraform and IaC in general is uncharted territory for me. I was worried that this would be another cloud related topic I'd have to struggle to figure out. This video has really broken down how simple Bicep is. I feel confident that I'll be able to integrate it into my next projects. Thank you for this tutorial, John!
explained brilliantly sir, as always. I am already feeling like a bicept expert after going through this lecture 😉thank you for the lecture
Thanks for the awesome video! I was just putting together a presentation to review with a client since they are sufficiently scared off by ARM syntax. You covered a few things I hadn't discovered yet. Thank you!
Glad to help and good luck with the presentation.
Awesome breakdown John, excited to start working with these! Stoked I haven't invested too much time in ARM Templates :)
Great to hear!
Thank you John for sharing all your Azure knowledge!
Great video. Will dig into Bicep very soon.
Thanks for the excellent tutorial, John!
Very welcome
Best bicep intro I've seen, thanks!
Glad you like it!
Fantastic dive into BICEP. Thanks John!
My pleasure!
Great stuff John! Thank you for the clear explanation, Bicep seems the way if you are deploying stuff to Azure!
You bet!
Another fantastic video. This video came out at the right time :) I am learning Terraform for my job and at the same time bicep, just because i love the simplicity of the code.
Glad I could help!
I’m so excited to learn this! Thanks Mr S. for the starter
Very welcome
Hearing about this first from you , exicted to explore more... Thanks asusual 🔥😎 Your videos helps me keep upto date with Azure
Thanks!
Great video, really shows the power available in an easy to watch video. I have seen a few videos on terraform and this fill me with joy on how maintainable it is, Also appreciate the intro flex.
Awesome, thank you! 💪
Thank you John, that was a great video, well explained.
You quoted Picard. You are now officially my hero. Seriously though, this is excellent stuff, Mr. Savill. Subscribed.
hehe, thanks. But he's the one that got away :-D
Woah, the export template feature is so useful, awesome video!
Glad it was helpful!
Always very instructive for non native english !!
Thanks again John! Great video! Bicep looks fantastic ( Both of them! lol! ) Yep we are using Terraform for Azure and one of the pain points is not all features in ARM Templates are available!
Fantastic Intro ;-) You really could maintain a straight face like a legend till the end of the Intro haha.
Hehe thanks 😃
That was an amazing intro to Bicep.
Do you think Mircrosoft came up with the name because these are an advancement over 'Arm' templates? 🤔
lol, that would make sense :-D
@@NTFAQGuy I really hope the next iteration fast forward a couple of years is not shoulder. I would lose it :D
InstaBlaster...
Wonderful Sir, you got a great way of introducing stuff.....awesome !!!!!!!!
Glad you liked it!
Thanks alot for ur efforts and spending time to make others life easier.
It's my pleasure
Terrific dive into 💪 Thanks!
Glad it was helpful!
Hi John!!
This is Satish from a small town in southern India.
I just gone through couple of your youtube videos...so amazing...you have always taught in a simpler and easily understandable way...the concepts are mind blowing.....kudos John!! 👍👍
All the very best!! 🎉🎉
Hi! Thank you very much 🤙
Great as always, John. The GIT hub tutorial does not seem to exist any longer, it is on another URL. Presumably we side-step and use MS Learn instead which looks pretty good.
💪🏻💪🏻 great video . Thanks John
My pleasure thanks for watching
Thanks for this video, fantastic intro to Bicep!
Glad you liked it!
Great intro to Bicep, thanks John. You could see that Microsoft had to do something about the verbose ARM templates. It's going to improve the maintainability too,
Definitely!
COSMIC! From UNIVERSE to MULTIVERSE!
Keep the great knowledge train choo-chooing John!
Thank you! 👍👌😊
Hehe thanks
I've subscribed, enough said! Thanks.
Love the joke at the begging! Also, the entire video and explanation! Brilliant!
You are absolutely brilliant!
Very kind, thank you
Nice video John, I want to test it ASAP!!!.
Get to it :)
Fantastic, thanks :)
Great video, great explanation. Thanks for sharing 👍
Welcome!
Awesome review!
Thanks
Glad it was helpful!
thanks John, as always - great video. Curious whether or not you have any plans to compile a new Bicep related Pluralsight course or anything like that ?
Thanks. I never discuss future content plans
Definitely a few things I'd like to test with Bicep. Templated a lot with ARM and I can see how I could use it as an accelerator f'sure!
Something I want to check is when "compiling" the storage account and container template it creates those resources as top level resources. Not children.
With Virtual Networks and Subnets that'll likely cause issues. As the subnets are not defined as a child of the vnet, ARM tries to remove those subnets. If they're populated subnets, ARM throws an error and the template fails to deploy.
Similar story for NSGs and their security rules.
But I'll have to give it a go, I guess.
Oh and good video! Love the transitions
+1.This has always been an issue with ARM, but I am only guessing although you use BICEP for simplicity, it still uses the functionality and capability of ARM behind the scenes so we may still see the problem. Need to try it out!
Is there any roadmap or idea on BICEP REST and SDK integration? It would be fun to programmatically create (or substitute vars in) a BICEP configuration and execute it (for example creating a bunch of VMs) instead of invoking a bunch of APIs now, and not having the preflight capability (brainstorming a bit).
Nice video !
Thanks!
Bicep more user friendly like you are more use friendly than my teacher.....
I fall in sleep and get huge pain head, even if is my first language, but this video, same if it not relate to the same kind of ressource azure creation, is much better understanding. Got through the whole video without slept one time by knockout.
You maybe save my rear from a bad note on my study for it.....
Lol
Even when I do not make any changes in subsequent runs, the WhatIf is ALWAYS showing "1 to modify". What am I doing wrong? I was expecting "0 to modify". Any help is appreciated. Your videos are extremely helpful - Thanks much
Amazing tutorial John 👌. Does Bicep support DSC deployment like ARM? Current I am deploying domain controller using ARM
Same extension calls should work
They mention at Microsoft ignite that you should be able to reference a existing arm template with bicep. I found this video interesting.
Thanks
merci John. What a Bicep, I mean the language!
lol
I spent several hours this week just playing with Bicep.. I'm pretty pleased with the progress. But I wish that bicep create would actually call the deployment API vs just converting to JSON and depending on the CLI/PowerShell.
you don't need to use bicep build anymore. Thats what I show in the video. The ARM intermediary is hidden and in memory only.
Great tutorial John! How can I execute a bicep file from azure DevOps pipeline?
Can just call it via regular PS command or CLI etc.
Nice Video - Thanks.
When you reverse engineer (decompile) a json file to bicep file, it make a "best effort" to create a corresponding bicep file. This is not good enough. We do not want to spend lot of time editing the bicep file to make it a working bicep file. In short what I am trying to ask is, do you think there will be a bicep file available for all the popular ARM templates on GitHub in near future. If NOT, then generating a ""true" bicep file from an existing ARM template will be an uphill task.....
There is already a big bicep repo and many docs now have bicep examples.
1st Gen: ARM
2nd Gen: Bicep
3rd Gen: Tricep? (Terraform + Bicep)
Great video John.
lol
Hey, That's my joke! :) Thanks for another great video!
No worries!
John is this advancement significant enough that a big org should plan to move from ARM to Bicep?
Its on parity and production supported. Note, ARM is not going anywhere so there is no rush. Simply easier to work with.
It's great this gave him such a perfect excuse to show off the guns 😂
I've seen the video on your daily routine, it inspires me to consider who I could become if I keep putting my best effort into programming and the gym 😄
I had to bribe them :)
Has anyone come across documentation on Deployment Stacks yet and specifically the ability to destroy infra via code that we deploy with bicep? I know Stacks were mentioned and I've seen the video about the preview feature being worked on, but is it available yet or is lack of documentation proof in the pudding that it's not out there yet?
its not out yet
@@NTFAQGuy Thumbs up, thanks for the info and response. Thumbs down in my head cause I was really hoping they had something out for that =/. I shall continue my wait.
Loving the shirt John, they're from TeeTurtle right? I bought like 9 of them! xD
Some of them are, others random places :)
We're always deploying cookie cutter AZ environments for our SMB clients, this would def cut down on the clicking in the portal.
John Savill is one of the greatest beings to walk the Earth. That's all I have to say! :)
😊
Fiiiiirst!
lol, would be mean of me to delete it right and post first? ;-)
@@NTFAQGuy I'll always know I had a first comment on a John Savill video and no one can delete that. Except dementia, dementia has an override button. lol.
@@jose_trujillo lol ;-) I could never take this from you :-D
Seeeecccconnnnddddd !! LOL
talk about BASS bro
that is cosmic too
Um, I wish I was cool enough to understand this comment :-D lol
@@NTFAQGuy put on some primus bro, you will understand
@@baronvonbasscat Will have to research :-)
@@NTFAQGuy I would start with _Toys go winding down_ or _Winona's big brown beaver_
ur welcome in advance
LoL