cloud-init is an awesome technology that can be used to customize Linux images for deployment, that lets you do all kinds of neat things such as automatically creating users, installing packages, resetting SSH keys, and more. However, it’s often shrouded in mystery. In this video, I’ll walk you through using it to create a user, set the hostname, and install some packages.

☁️ Support LearnLinuxTV and get your own cloud server with Linode:
➡️ https://linode.com/learnlinuxtv

cloud-init links

🐧 Official page:
➡️ https://cloud-init.io/

🐧 Modules documentation:
➡️ https://cloudinit.readthedocs.io/en/latest/topics/modules.html

🕖 Timezone list:
➡️ https//manpages.ubuntu.com/manpages/bionic/man3/DateTime::TimeZone::Catalog.3pm.html#available%20zones

Support LearnLinuxTV (commission earned)

🐧 Main site:
➡️ https://www.learnlinux.tv

🐧 LearnLinuxTV Community:
➡️ https://community.learnlinux.tv

🐧 LearnLinuxTV Wiki:
➡️ https://community.learnlinux.tv

Support LearnLinuxTV

📖 Check out my latest book, Mastering Ubuntu Server 3rd Edition. Covers Ubuntu 20.04!
➡️ http://ubuntuserverbook.com

🙌 Support me on Patreon and get early access to new content!
➡️ https://learnlinux.link/patron

🛒 Affiliate store for Linux compatible hardware/accessories:
➡️ https://learnlinux.link/amazon

💻 Check out the Tiny Pilot KVM for your Homelab:
➡️ https://learnlinux.link/tinypilot

💻 Check out Shells.com to spin up your very own Linux or Windows desktop in the cloud:
➡️ https://learnlinux.link/shells

About Me

🐦 Follow me on Twitter!
➡️ https://learnlinux.link/twitter

👨 More about me:
➡️ https://www.jaylacroix.com
➡️ https://www.learnlinux.tv

Recommended evergreen videos:

💽 How to create a bootable flash drive for installing Linux
➡️ https://linux.video/flash-usb

🐧 Understanding Linux permissions
➡️ https://linux.video/perms

🐧 OpenSSH Guide
➡️ https://linux.video/ssh

📖 LVM Deep-dive:
➡️ https://linux.video/lvm

🔐 How to better secure OpenSSH:
➡️ https://linux.video/secure-ssh

☁️ How to create a cloud Linux server with Linode:
➡️ https://learnlinux.link/create-linode

FAQ

🐧 Which distro do I use?
➡️ https://learnlinux.link/mydistro

💽 My recording gear (commissions earned):
➡️ https://learnlinux.link/recording-stuff

#linux

Getting Started with cloud-init
1.80 GEEK