Creating Startup Scripts for VMs with Cloud-init

By Matthew Ulasien

Configure cloud-init boot up scripts for Azure Linux VMs.

1 hour
  • 8 Lessons
  • 1 Hands-On Lab

About the course

Welcome to this course, Creating Startup Scripts for VMs with Cloud-init using Azure VMs.

Cloud-init is a popular open source approach to customizing a Linux VM on its very first boot. It can perform a wide range of actions such as installing applications, creating users, performing security actions, and much more across multiple versions of Linux. It is also natively supported on Azure Linux virtual machines and does not require extensions or additional agents to use it.

With that said, there is a bit of a learning curve when formatting cloud-init configuration files as it uses a format called MODULES, which is different from the bash scripts that you may be used to. The objective of this course is to demystify how to create cloud-init configurations and use them to automatically configure new VMs.

This is going to be a short and informative course, after which you should be more confident creating your own automated configuration steps for Linux virtual machines and become just a little bit more of an AUTOMATION guru!

  • Chapter 1 8 Lessons Creating Startup Scripts for VMs with Cloud-init 1:26:01

    Course Introduction

    1:45

    Challenge: Automating VM Configuration

    5:02

    Cloud-init Concepts

    4:44

    Cloud-init Formatting

    7:49

    Demo: Create a Custom VM with Cloud-init

    9:04

    Demo: Configure Scale Set with Cloud-init

    9:39

    Automatically Configure Azure Linux VM with Cloud-init

    45:00 Hands-On Lab

    Wrapping Up

    2:58

What are Hands-on Labs

What's the difference between theoretical knowledge and real skills? Practical real-world experience. That's where Hands-on Labs come in! Hands-on Labs are guided, interactive experiences that help you learn and practice real-world scenarios in real cloud environments. Hands-on Labs are seamlessly integrated in courses, so you can learn by doing.

Get Started
Who’s going to be learning?
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!