Learning controls
Skip to learning
CloudSeam Tech / SONIC-Academy
BICEP: FROM YOUR FIRST LINE TO ENTERPRISE SERVER PLANS / LESSON 1 OF 20

Bicep: From Your First Line to Enterprise Server Plans

What Bicep Does

A blueprint describes the result you want. Azure Resource Manager (ARM) reads the compiled JSON and requests that result. Bicep does not type PowerShell commands into a VM.

Azure Bicep / ARM · Windows workstation and PowerShell · browser compiler practice · live Azure steps optional · 0/20 lessons self-verified
Step 1 of 3 · Focused view

Visual checklist

0/3 steps checked
STEP 1 OF 3

Read the picture and the words

Work in: This lesson → numbered code illustration, then the practice editor below

Understand the plan before requesting Azure changes.

Select the picture to enlarge it
  1. 1. param: Declares an input: a value the file accepts.
  2. 2. output: Names information ARM can return after a deployment.
  3. 3. string: The value is text; keep quotes around a text literal.

Illustration · not a live capture · Bicep / ARM instructional illustration

Documentation used for this illustration
What Bicep Does
  1. 1. param: Declares an input: a value the file accepts.
  2. 2. output: Names information ARM can return after a deployment.
  3. 3. string: The value is text; keep quotes around a text literal.

Authored teaching diagram, not a captured VS Code or Azure screen. Numbers explain the code concepts; use the editor for full code and real compiler output.

Match every numbered callout with its explanation, then edit the complete source below.

Steps

Do this

0 of 2 checked

Check your result

You can explain the three numbered concepts before editing.

Need help?
Help opening this workspace

Start here: Work in This lesson → numbered code illustration, then the practice editor below. Use the named practice machine and app; the instructions below tell you what to select or type there.

What the commands and settings mean
param
Declares an input: a value the file accepts.
output
Names information ARM can return after a deployment.
string
The value is text; keep quotes around a text literal.
Links & purpose for this step

Work in
This lesson → numbered code illustration, then the practice editor below

Why this task
Understand the plan before requesting Azure changes. Small edits and explicit checks make mistakes easier to diagnose.

STEP 2 OF 3

Make one change and compile

Work in: This lesson → Bicep practice editor (main.bicep); local-file instructions name VS Code explicitly

Understand the plan before requesting Azure changes.

Select the picture to enlarge it
  1. 1. param: Declares an input: a value the file accepts.
  2. 2. output: Names information ARM can return after a deployment.
  3. 3. string: The value is text; keep quotes around a text literal.

Illustration · not a live capture · Bicep / ARM instructional illustration

Documentation used for this illustration
What Bicep Does
  1. 1. param: Declares an input: a value the file accepts.
  2. 2. output: Names information ARM can return after a deployment.
  3. 3. string: The value is text; keep quotes around a text literal.

Authored teaching diagram, not a captured VS Code or Azure screen. Numbers explain the code concepts; use the editor for full code and real compiler output.

Match every numbered callout with its explanation, then edit the complete source below.

Steps

Do this

0 of 4 checked

Download this lesson’s example Bicep file

Check your result

The JSON contains parameters.greeting.defaultValue = Hello, learner, and outputs.message refers to greeting. No resource exists.

Need help?
Help opening this workspace

Start here: Work in This lesson → Bicep practice editor (main.bicep); local-file instructions name VS Code explicitly. Use the named practice machine and app; the instructions below tell you what to select or type there.

What the commands and settings mean
param
Declares an input: a value the file accepts.
output
Names information ARM can return after a deployment.
string
The value is text; keep quotes around a text literal.
Links & purpose for this step

Work in
This lesson → Bicep practice editor (main.bicep); local-file instructions name VS Code explicitly

Why this task
Understand the plan before requesting Azure changes. Small edits and explicit checks make mistakes easier to diagnose.

STEP 3 OF 3

Prove what you learned

Work in: Practice result, your private notebook and the module test at the module’s end

Understand the plan before requesting Azure changes.

Select the picture to enlarge it
  1. 1. param: Declares an input: a value the file accepts.
  2. 2. output: Names information ARM can return after a deployment.
  3. 3. string: The value is text; keep quotes around a text literal.

Illustration · not a live capture · Bicep / ARM instructional illustration

Documentation used for this illustration
What Bicep Does
  1. 1. param: Declares an input: a value the file accepts.
  2. 2. output: Names information ARM can return after a deployment.
  3. 3. string: The value is text; keep quotes around a text literal.

Authored teaching diagram, not a captured VS Code or Azure screen. Numbers explain the code concepts; use the editor for full code and real compiler output.

Match every numbered callout with its explanation, then edit the complete source below.

Steps

Do this

0 of 4 checked

Check your result

The JSON contains parameters.greeting.defaultValue = Hello, learner, and outputs.message refers to greeting. No resource exists.

Need help?
Help opening this workspace

Start here: Use your lab notes on your own computer. This is a planning step; nothing is installed or changed yet.

What the commands and settings mean
param
Declares an input: a value the file accepts.
output
Names information ARM can return after a deployment.
string
The value is text; keep quotes around a text literal.
Links & purpose for this step

Work in
Practice result, your private notebook and the module test at the module’s end

Why this task
Understand the plan before requesting Azure changes. Small edits and explicit checks make mistakes easier to diagnose.

Best practices and more troubleshooting

Best practices

  • Change one thing, compile, then compare the generated JSON.
  • Use dummy values in practice. Keep secrets and private keys out of source, outputs and notebooks.

Avoid these mistakes

  • Treating compilation as proof of Azure deployment.
  • Pasting a displayed terminal prompt into a source file.

If your screen is different

My file does not compile.

Read the first diagnostic line and message. Check quotes, braces, types and companion filenames. Compare one small section with Show example; try again after saving local files.

Compilation passes but Azure validation fails.

Check the selected subscription/group, provider registration, RBAC, policy, naming constraints, region, image availability and quota. Preserve the error; do not work around organization controls.

YOUR TURN / PRACTICAL EXERCISE

Show what you can do

Change Hello, CloudSeam to Hello, learner. Keep both single quotes. Compile and find the changed string in parameters.greeting.defaultValue.

Pass check

The JSON contains parameters.greeting.defaultValue = Hello, learner, and outputs.message refers to greeting. No resource exists.

Knowledge check

Try these before continuing. You can look back and try again.

1. Does compiling a Bicep file create an Azure resource?

Pick an answer for each question. It’s fine to look back at the lesson.

Finished? Verify this lesson

Check every step, finish the exercise, and pass the knowledge check. Progress is self-reported. Signed-in learners can save it to their connected academy account.

Before you start · setup and lab values
Lab goal · 3 steps
Before you start · prerequisites and lab values

Example names — what they mean

Names such as rhel9-lab-01, rexuser and practice-lab are fictional example values. Use your own recorded VM name and user when they differ. A Linux terminal runs on the Linux machine, not automatically on your Windows host.

Need help with names, commands, or saving VM space? Open the beginner lab guide →

What you’ll need

  • A modern browser. The compiler downloads on demand and runs locally; it does not send your source to Azure.
  • For local-file work: VS Code with Microsoft Bicep extension and Azure CLI from the official links.
  • Only for optional live validation/deployment: an approved Azure subscription, permissions, training resource group and budget. No Azure credentials belong in this website.

Your first move: A blueprint describes the result you want. Azure Resource Manager (ARM) reads the compiled JSON and requests that result. Bicep does not type PowerShell commands into a VM.

My Lab PassportAdd your VM · hostname, IP and folder

Record your own lab values. Saved on this device under your guest profile. Sync across devices is not available yet. No passwords or keys.

Your lab values

Values are reference notes. They do not replace commands or prove a connection to your VM. Manage in my profile →

Loading private notebook…