Authoring and deploying Azure resources with Bicep | Azure Friday

Поділитися
Вставка
  • Опубліковано 9 лип 2024
  • Have you ever tried to deploy to Azure with ARM templates, but found them too difficult or overwhelming to learn? Alex Frankel joins Scott Hanselman to show how Bicep-an abstraction on top of ARM templates-gives you all the same power and flexibility, but in a modern, safe, declarative language.
    Chapters
    00:00 - Introduction
    03:30 - Demo - a Bicep file from scratch
    16:15 - Demo - transpiling with az bicep build
    19:40 - Demo - adding a parameter for a name prefix
    23:40 - Demo - unplanned debugging activity
    25:55 - Demo - back on track
    28:00 - Demo - a few more features
    35:22 - Wrap-up
    Recommended resources
    ■ What is Bicep? - aka.ms/azfr/734/01
    ■ Azure / bicep on GitHub - aka.ms/azfr/734/02
    ■ Comparing JSON and Bicep for templates - aka.ms/azfr/734/03
    ■ Frequently asked questions for Bicep - aka.ms/azfr/734/04
    ■ Create a Pay-as-You-Go account (Azure) - aka.ms/azfr/734/payg
    ■ Create a free account (Azure) - aka.ms/azfr/734/free
    Connect with us:
    ■ Scott Hanselman | @SHanselman - / shanselman
    ■ Alex Frankel | @ADotFrank - / adotfrank
    ■ Azure Friday | @AzureFriday - / azurefriday
    ■ Azure | @Azure - / azure
    #Microsoft #Azure #AzureFriday
  • Наука та технологія

КОМЕНТАРІ • 26

  • @paninger
    @paninger 7 місяців тому +4

    Scott is a real showmaster 👏 Very cool and authentic examples 👍 Entertaining and educational.

    • @MicrosoftAzure
      @MicrosoftAzure  7 місяців тому +1

      We're happy to hear that you enjoyed the video! 😀

  •  Рік тому +17

    Quote for today: With great power comes great complexity and a lot of JSON 💪

  • @MrPinceldigital
    @MrPinceldigital 3 місяці тому

    WOWWW Scott is the BESSSST in Microsoft - I see Azure Fridays just to see Scott questions and interaction! the Best EVER

  • @NM-tr1ii
    @NM-tr1ii Рік тому +1

    Excellent intro about Bicep and you guys are so real!

  • @tjpld
    @tjpld Рік тому +3

    Love Bicep. Only ran into a bit of a chicken and egg problem deploying a key vault with secrets. Ended up initializing them with dummy values which I then update via API calls later. They are not a lot so it works and I can make sure they aren't permanently visible in clear text anywhere, not even shell history or a script that injects them.

  • @mfsbo
    @mfsbo Рік тому +1

    Love how scott says with great power comes great amount of json

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

    Great introduction to bicep.

  • @lalitjisoria
    @lalitjisoria Рік тому +3

    This is the best azure Friday video so far. I just started learning Bicep and it is awesome. Can we convert Bicep file to terraform ? Just to make it cloud agnostic.

    • @afhb21
      @afhb21 Рік тому +1

      There is no ability to convert between Bicep and TF. While similar, there is not a guaranteed 1:1 translation between a bicep type and its TF equivalent.

  • @PrimephotoStudio
    @PrimephotoStudio 3 місяці тому

    Nice job on the video, very helpful.

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

    awesome video thank you

  • @ruoxuan666
    @ruoxuan666 Рік тому +1

    Wow, bicep is so powerful. Could you share the demo repo?

  • @nnemakhavhani-up1986
    @nnemakhavhani-up1986 Рік тому

    what a cool 'language' this is!

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

    Hi there, I am using gitactions to create the CICD and try to deploy the azure components, I have tried many ways by using yaml or json. Is there any way we can only use bicep from gitaction and not use other formats. Is so please let me know the documentation kindly

    • @MicrosoftAzure
      @MicrosoftAzure  Рік тому +1

      Hello there! The only way to describe GitHub actions workflows is via a YAML file that complies with their GitHub actions schema. It is not possible to use bicep in this case.

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

    For each and all resources end we are mentioning the version with the date name, instead, we can use it as the latest and backend Microsoft can map the updated to the 'Latest' keyword. the reason because I do need to change every time when the new version comes up.

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

      Thanks for the details! This seems like a better situation to post on the Azure Bicep GitHub discussions tab for some additional assistance. msft.it/6050efK7r

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

      There may be some breaking change with new version that might break your pipeline. I guess that's the reason its not there. Ex: addition of require parameter

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

    Finally, I have created a few resources using bicep. But I would like to give one parameter.json file and if i update the JSON parameter file with all parameter then it should deploy my resources. Can you guide me the process if possible

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

      Hi there! While we're unsure of how you are updating the parameters file, it is possible to wire up a CI/CD pipeline that will automatically redeploy the project if the bicep file or the parameters file is updated. Here’s some documentation on using bicep and GitHub Actions: msft.it/6058eQdQE

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

    Don’t you think Pulumi is more powerful

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

    Could someone please tell the host to BE QUIET. The part on using the 'existing' keyword is periously close to the end because he talks so much (bicep to arm is like typescript to javascript). I learned how to provide my storage account object to my application template thanks to the presenter. I can only imagine what I missed because of the host.