cloud-init

The standard tool that sets up a cloud server on its first boot, creating users, installing SSH keys and packages, and writing configuration.

In more detail

Cloud images such as Ubuntu run cloud-init at first start, reading settings supplied by the cloud provider and the person launching the server. It can write configuration files, including an sshd drop-in named 50-cloud-init.conf that turns password logins on. Because it changes settings outside your hardening procedure, audits must check what the system actually enforces.

Example

fail passwordauthentication yes from sshd_config.d/50-cloud-init.conf

Related terms

Taught in

References

Certification courses