Deploying Ubuntu Instances with MAAS
MAAS (Metal as a Service) gives you the ability to provision physical and virtual servers via an easy to use web console. You can use MAAS to deploy Ubuntu with ease, and it even supports PXE boot in order to provide you with a full deployment solution. In this video, you’ll get an overview of MAAS and how to set it up.
Thanks to Linode for sponsoring this tutorial. Check them out and claim $100 in free credit toward your new account ➜ https://learnlinux.link/akamai
🐧 Visit the official LearnLinuxTV forums and hang out with fellow Penguins ➜ https://community.learnlinux.tv
Check out Jay’s latest book. Covers Ubuntu 22.04!
– Mastering Ubuntu Server, 4th Edition ➜ https://ubuntuserverbook.com
SUPPORT LEARN LINUX TV
Note: Commission may be earned for any and all links presented here.
– Support me on Patreon and get early access to new content! ➜ https://learnlinux.link/patron
– Check out jay’s latest book, Mastering Ubuntu Server 3rd Edition ➜ http://ubuntuserverbook.com
– Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
– Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot
## Documentation:
Blog post for this video (includes the commands that were used
➜ https://www.learnlinux.tv/deploying-ubuntu-instances-with-maas/
*Time Codes*
00:00 – Intro
02:07 – General information/getting started
08:39 – Configuring a VLAN for MAAS in pfSense
13:34 – Adding the VLAN to a UniFi switch
15:04 – Installing Ubuntu Server
22:40 – Installing MAAS
27:36 – Logging in to MAAS & initial configuration
30:44 – Initial PXE boot
32:37 – Deploying Ubuntu via MAAS
Check out Tom’s channel here:
➜ https://www.youtube.com/c/TomLawrenceLawrenceSystems
*Full Courses from Learn Linux TV*
• Linux Crash Course series ➜ https://linux.video/cc
• Learn how to use tmux ➜ https://linux.video/tmux
• Learn how to use vim ➜ https://linux.video/vim
• Bash Scripting Series ➜ https://linux.video/bash
• Proxmox VE Cluster Full Course ➜ https://linux.video/pve
• Learn Ansible ➜ https://linux.video/ansible
*Boost your Linux skills with these stand-alone tutorials*
• Essential tweaks for ALL Linux Servers ➜ https://linux.video/all-servers
• Use Ventoy to create a multi-distro flash drive ➜ https://linux.video/ventoy
• Browse the web from within your Linux terminal ➜ https://linux.video/term-web
• From Zero to Proxmox ➜ https://linux.video/zero-to-pve
• Check out Neovim ➜ https://linux.video/neovim
• Systemd Deep Dive ➜ https://linux.video/systemd
• Systemd Timers ➜ https://youtu.be/n6BuUgkZ5T0
• Installing an operating system for Raspberry Pi ➜ https://linux.video/pi-imager
• Connecting to a Linux server via ssh ➜ https://linux.video/ssh
• Linux permissions ➜ https://linux.video/perms
• OpenSSH Guide ➜ https://linux.video/ssh-guide
• 10 Linux Terminal Tips and Tricks ➜ https://linux.video/cli-tricks-1
• Over 15 Terminal Tricks ➜ https://linux.video/cli-tricks-2
*Linux-related Podcasts*
• Enterprise Linux Security ➜ https://enterpriselinuxsecurity.show
• The Homelab Show ➜ https://thehomelab.show
*Learn Linux TV on the Web*
• Main site ➜ https://www.learnlinux.tv
• Community ➜ https://community.learnlinux.tv
• Enterprise Linux Security Podcast ➜ https://enterpriselinuxsecurity.show
• The Homelab Show Podcast ➜ https://thehomelab.show
• Content Ethics ➜ https://www.learnlinux.tv/content-ethics
• Request Assistance ➜ https://www.learnlinux.tv/request-assistance
*Disclaimer*
Learn Linux TV produces technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content.
#Ubuntu #MAAS #Linux
by Learn Linux TV
linux dhcp server
What's the advantage of using MAAS over hypervisor like proxmox?
This SSH Key is kicking my butt, I tried putty, SSH on Ubuntu, and Windows CMD/Powershell. I am able to get it working but after a reboot I get Permission denied (publickey). I have been doing this over and over for like 3 weeks using 4 computers and it's killing me! I am trying my best to not say Maas is a Peace of S++t. Please help me get this working and thanks!!!
hi, can you please put video about automation installation using ks file of ubuntu 20.04.5 through ubuntu 20.04.5 PXE server(Both Focal Fossa)
Thank for the Ubuntu tip on the end, I could not ssh into it without. But somehow i can't activate the GUI, with sudo systemctl set-default graphical.target. Command is acceoted but no GUI, is there something wrong with that Maas image ?
Further down the line right next to pfsense I would add whonix to make all traffic from the network go out in the tor network and at the exit endpoint some VPN for surfing convenience, with an option to go outside the tor after "push". Keeping in mind, however, that malware once it gets into the tor network is harmless, it doesn't know what to do when it hasn't found a way out, so it's worth catching early for analysis. This is how I would see it in outline for further construction
network🖖
What if you don't want the randomly assigned hostname?
very informative video for newbie. could you a windows install or point me in the direction to read on it. thanks!
very cool. But only ubuntu images? it would be very cool if it could install raspian on raspberry pi or other OS from MAAS. That would be nice to PXE windows or others OS
Your artwork is askew
Thanks so much for this. I appreciate that you carefully explain each step so that I don't get lost.
You created the 'network' vlan, but you didn't show assigning it to any specific ports. It's hard to follow this because it seems like some critical stuff is left out. Like how are you connecting (i'm assuming) from your desktop workstation to the maas server device which you have put on a different vlan?
How do you SSH to your MAAS Server device from your workstation so you can set it up when it is on a different VLAN?
This was a great video Jay. Any chance that you could do another video on MAAS but with LXC containers integrated?
Help me . is it possible to install vs code during pxe boot ubuntu os installation. just so avoiding large number of systems to install the vscode in each systems manually.
Hey Jay, thank you so much for sharing and as always in great detail.
Will give a try to figure out what else MAAS has to offer other than an existing regular PXE config using Pfsense dhcp with an external TFTP sever that is my current working PXE solution btw and works just fine booting netboot images. Lmk if you already gone through that comparison and appreciate if you can share. Thanks a lot!
Great idea. But I need just plain PXE boot to "install" Live CD/.iso images to my client machine (s) . Can you do a video on that?
Hey! Great content. Is there a way to deploy operating systems with a custom image which has wi-fi passwords, software and certain pre-defined settings like user accounts and roles & permissions? Thanks.
very cool! thank you for another great video!
Ja dann koordiniert das. Wir haben alle die Schnauze voll von dem Drama.
Now trying to add Juju to MAAS to automate deployment of more complicated setups such as Kubernetes or Openstack.
For someone adding an extra VLAN to their pfsense for the first time, didn't you miss that the link between the switch and the LAN port on pfsense needs to be a trunk?
Thanks, this gave me a bit of confidence for my first foray into MAAS which I'm considering to deploy CEPH on top of Ubuntu.