cloudinit
Cloud-Init


cloudinit | Cloud-Init | |
---|---|---|
31 | 3 | |
3,110 | 213 | |
2.0% | -0.5% | |
9.7 | 9.7 | |
3 days ago | 3 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cloudinit
-
Tell HN: Ubuntu 24.04 force enables password auth, need to disable differently
This comes from the `ssh_pwauth` setting in cloud-init. Docs: https://cloudinit.readthedocs.io/en/latest/reference/modules...
The PR https://github.com/canonical/cloud-init/pull/1618 implemented using a "sshd_config.d" file.
-
Setting Up The Home Lab: Setting up Kubernetes Using Ansible
In my previous article I went over how to set up VMs in Proxmox VE using Terraform to deploy the VMs and Cloud-Init to provision them. In this article I'll discuss using Ansible playbooks to do further provisioning of VMs.
-
Setting Up The Home Lab: Terraform and Cloud-Init
In my last article I talked about getting Terraform set up on Proxmox VE. In this article I want to talk about how I got Cloud-Init set up to use with my Terraform templates.
-
Multipass + Cloud-Init
Multipass is a mini-cloud on your workstation using native hypervisors of all the supported plaforms (Windows, macOS and Linux). Multipass can launch and run virtual machines and configure them with cloud-init like a public cloud.
-
Setting up the home lab: Terraform
And there you have it! In my next article I'll show you how to provision your VMs using Cloud-Init
-
Industry Standard for Cloud Instance Initialization: Cloud-Init
[1] Cloud-Init: https://github.com/canonical/Cloud-Init [2] AutoMQ: https://github.com/AutoMQ/automq [3] Introduction to Cloud-Init: https://cloudinit.readthedocs.io/en/latest/explanation/introduction.html#how-does-Cloud-Init-work
-
Custom RAM boot PXE Linux
Newer versions of OS use cloud init -> https://cloud-init.io/
-
The Reluctant Sysadmin's Guide to Securing a Linux Server
Overall, I think in an article that focuses on cloud computing (specifically AWS) there's too much time being spent in the local command line of a server.
It's an especially revealing sentence when the authors says that "Most attacks won’t be against what we’ve covered in this guide, but against the applications you install next. Properly done, containers can limit the impact."
If we are running containerized applications and we are already in the cloud, why are we futzing around on the command line of a Linux box? Why are we not using a cload orchestrator that abstracts the OS from the equation entirely?
If we do have a need to be on a bare Linux box, all of this OS configuration is better handled with cloud init [1], a configuration management tool like Ansible, and/or by building an image with Packer.
I know that seems like overkill for a small hobby reluctant sysadmin project type of deal but it's very little extra effort once you get used to the workflow. I would even recommend putting this infrastructure in Terraform even though, again, it seems like overkill at first.
Someone else in the comments mentioned that it's easier to just start with a hardened image from the AWS Marketplace, and I also agree with that idea. Find a free hardened image and make that the base for your system.
[1] https://cloud-init.io
- Is the linux community done circlejerking for Red Hat or are we just going to forget about recent news in a week?
-
nmtui changes don't survive reboot?
Found this related article: "cloud-init re-generates network config every reboot overwriting manual admin changes on CentOS." https://github.com/canonical/cloud-init/issues/2983
Cloud-Init
-
What scripts have you built to stand up a new server?
This is what cloud-init[1], Puppet[2] et al a for. I haven't done this with shell scripts in at least 15 years.
[1] https://github.com/canonical/cloud-init
[2] https://www.puppet.com/
-
cloud-init + ENI + static routes not working
When I look through this I see references to things that make it *seem* like eni supports routes, but I haven't been able to pull part the code enough to figure it out.
- How do you grow microOS file system?
What are some alternatives?
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
letsencrypt - Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.
Docker Compose - Define and run multi-container applications with Docker
honcho - Honcho: a python clone of Foreman. For managing Procfile-based applications.
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Install Salt from the Salt package repositories here:
netboot.xyz - Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
Fabric - Simple, Pythonic remote execution and deployment.
pexpect - A Python module for controlling interactive programs in a pseudo-terminal
Fabtools - Tools for writing awesome Fabric files

