
Learn bicep from scratch and build infrastructure as code with proof of concept assignments, deploying a storage account and a web app in Azure.
Here we introduce the things we will learn
What is infrastructure as code
Why would you use code ?
What ARM stands for
What can it do for you ?
Watch a hands-on demo of ARM templates, inspecting an exported storage account template, its json structure, and the role of parameter files for Azure deployment.
The problem with ARM
Bicep templates explained
Here we introduce the things we will learn
What are parameters in Bicep
Examples
Explore how decorators add descriptions and length constraints to Bicep parameters, and see how deployment prompts reveal min and max length validation.
What are data types and why are they important
A few data types are also mentioned
It is possible to assign default values to our parameters
Learn to add defaults in the lab by specifying a default for the storage account name and a default for the storage account skew.
What is a function
What does the uniqueString() function do
Details on how it works
What is String Interpolation and why
What are variables
When to use variables
What is an if/else statement and how can we use this in Bicep
Learn to use if-else in a bicep template by defining an environment parameter and conditionally setting the storage account sku for prod or dev, with outputs.
We will discuss what an array is
The list of allowed values can be handy, with specifying which parameters we need
This demo uses the allowed array for the environmentType parameter to restrict values to prod or dev with a values array and placeholder.
What outputs are and why we use them
A bit more about objects
What are parameter files.
Why do we use them ?
What format is it in ?
What is a loop
Why we can use one
Remembering the array data type
No file here, since there will be a lot of small labs
We will look at arrays and objects
Also how these work together
Getting back to where we were !
Explore the end of module challenge solution in Bicep by building storage accounts with a for loop, arrays, and parameters, then generate and test a deployment-ready parameter file.
Here we introduce the things we will learn
Explaining what a Web App is.
Also explaining we will deploy a Web App
Explanation what modules are
Why would we use modules ?
learn to create a bicep module by organizing a modules folder, copying app.bicep, and parameterizing inputs with no defaults, while the main bicep file acts as the module director.
Learn the how and why of Infrastructure as code with Bicep, the very easy language by Microsoft to deploy to Azure!
Bicep is a language which is up and coming and learning this language will help you stay ahead in the world of Infrastructure as code and will be of great benefit to anyone wanting to learn how to leverage the power of Infrastructure as code
This course will teach you how to create Bicep files from scratch and work your way up. You will learn important concepts like parameters, variables, data types, objects, using if, arrays, for loops, modules in Bicep and much more and how to apply them in Bicep templates.
You will learn things like :
What is Infrastructure as code ?
What are ARM Templates ?
What JSON Files are (Pronounced Jason but not Jason...) ?
What is Bicep ?
What are Parameters ?
What are data types ?
What are Built-in functions ?
What are Variables ?
How we make decisions with if ?
What are Objects ?
What are Arrays ?
What are Modules ?
We will do a lot of Hands-on in this course. There will be many little exercises and labs. We will also do some end of Module challenges, which will reinforce the concepts.
After this course you will be able to write Bicep templates and deploy them to Azure.