{"id":61789,"date":"2021-06-02T06:33:53","date_gmt":"2021-06-02T14:33:53","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/devops\/?p=61789"},"modified":"2021-07-07T06:12:56","modified_gmt":"2021-07-07T14:12:56","slug":"azurefunbytes-intro-to-bicep","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/azurefunbytes-intro-to-bicep\/","title":{"rendered":"AzureFunBytes &#8211; Getting started with Bicep"},"content":{"rendered":"<p>AzureFunBytes is a weekly opportunity to learn more about the fundamentals and foundations that make up Azure. It&#8217;s a chance for me to understand more about what people across the Azure organization do and how they do it. Every week we get together at 11 AM Pacific on <a href=\"https:\/\/cda.ms\/226\">Microsoft LearnTV<\/a> and learn more about Azure.<\/p>\n<p>We&#8217;ve just finished Microsoft Build! There were so many sessions to take part in! I wanted to spend some time using one of the amazing things that have come out of this huge event. I have been playing with with Azure Bicep, a new Microsoft approach to deploying Azure resources using Infrastructure as Code. Today I&#8217;d like to show you how to create a basic template and deploy it to Azure. Then I will look at how quickstart templates are converted in the Bicep Playground. We&#8217;ll look at the Bicep CLI install, the VS Code plug-in, and of course Azure CLI.<\/p>\n<p><iframe title=\"AzureFunBytes - Introduction to Bicep\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/a6FqsQwiAGM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>Bicep is a Domain Specific Language (DSL) for creating your Azure resources. While there are various methods for writing infrastructure as code (IaC), such as Ruby, etc. Bicep aims to reduce complexity by introducing a cleaner syntax for you to reuse your code more often. Bicep is a <strong>transparent abstraction<\/strong> of ARM templates, which differs from using another general-purpose programming language. Just like ARM templates, Bicep relies on the JSON syntax to compile and deploy your desired infrastructure.<\/p>\n<p><a href=\"https:\/\/cda.ms\/28H\">What is Bicep (Preview)?<\/a><br \/>\n<a href=\"https:\/\/github.com\/Azure\/bicep\">Install Bicep (Preview) Bicep on GitHub<\/a><br \/>\n<a href=\"https:\/\/cda.ms\/28J\">Quickstart: Create Bicep files with Visual Studio Code<\/a><br \/>\n<a href=\"https:\/\/bicepdemo.z22.web.core.windows.net\/\">Bicep Playground<\/a><br \/>\n<a href=\"https:\/\/cda.ms\/28G\">ARM template documentation<\/a><br \/>\n<a href=\"https:\/\/cda.ms\/28F\">Tutorial: Create and deploy first Azure Resource Manager Bicep file<\/a><br \/>\n<a href=\"https:\/\/twitter.com\/BicepLang\">Bicep on Twitter<\/a><\/p>\n<hr \/>\n<p>Learn about Azure fundamentals with me!<\/p>\n<p>Live stream is available on Twitch, YouTube, and LearnTV at 11 AM PT \/ 2 PM ET Thursday. You can also find the recordings here as well:<\/p>\n<p><a href=\"https:\/\/twitch.tv\/azurefunbytes\">AzureFunBytes on Twitch<\/a><br \/>\n<a href=\"https:\/\/aka.ms\/jaygordononyoutube\">AzureFunBytes on YouTube<\/a><br \/>\n<a href=\"https:\/\/www.youtube.com\/channel\/UC-ikyViYMM69joIAv7dlMsA\">Azure DevOps YouTube Channel<\/a><br \/>\n<a href=\"https:\/\/twitter.com\/azurefunbytes\">Follow AzureFunBytes on Twitter<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bicep is a Domain Specific Language (DSL) for creating your Azure resources. While there are various methods for writing infrastructure as code (IaC), such as Ruby, etc. Bicep aims to reduce complexity by introducing a cleaner syntax for you to reuse your code more often. <\/p>\n","protected":false},"author":39313,"featured_media":61790,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[224,1],"tags":[],"class_list":["post-61789","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-devops"],"acf":[],"blog_post_summary":"<p>Bicep is a Domain Specific Language (DSL) for creating your Azure resources. While there are various methods for writing infrastructure as code (IaC), such as Ruby, etc. Bicep aims to reduce complexity by introducing a cleaner syntax for you to reuse your code more often. <\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/61789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/39313"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=61789"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/61789\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/61790"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=61789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=61789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=61789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}