---
title: How to build Ubuntu images
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical-com-2934.demos.haus/maas/docs/how-to-build-ubuntu-images?format=md
---

*Submit*

# How to build Ubuntu images

You can build and deploy your own customized Ubuntu images using [Packer](https://developer.hashicorp.com/packer).

Canonical maintains a central repository of templates and instructions that cover Ubuntu and many other operating systems:

[Packer MAAS templates on GitHub](https://github.com/canonical/packer-maas)

The README in that repository explains:

* How to install Packer and dependencies
* Hardware requirements
* How to build images for Ubuntu and non-Ubuntu systems
* How to upload and test images in MAAS
* Debugging tips and project structure for contributing

If you only need Ubuntu images, start in the `ubuntu/` directory of the repository.
That folder provides a ready-made template and `Makefile` for building Ubuntu images.

For more background, see:

* [Packer documentation](https://developer.hashicorp.com/packer/docs)

---

[Previous

Manage images](https://canonical-com-2934.demos.haus/maas/docs/how-to-manage-images)
[Next

Build custom images](https://canonical-com-2934.demos.haus/maas/docs/how-to-build-custom-images)

Last updated 1 year, 4 days ago. [Help improve this document in the forum](https://discourse.maas.io/t/how-to-build-ubuntu-images/7873).
