# Deploy a machine

Create a machine from a template already on your platform.

## The steps

1. Open **Deploy**, under **Actions**. If a padlock appears, the page says what your account is missing, condition by condition, and who can lift it.
2. Choose the source, then the template: only what the latest collection contains is offered.
3. Choose the size, the disks and the network.
4. Name the machine. Several machines are named `name-1`, `name-2`, and so on.
5. If the template allows it, customize with cloud-init: host name, account, public SSH keys, and address.
6. Click **Review**, reread the summary, then start the deployment.
7. Follow the operation on its page, then find it in **Action log**, **Deployments** filter.

## What to have in place first

- The **VM creation** capability, open on the company, on the source and for you.
- An action account, with the rights to create.
- An up-to-date collector.
- **A template on the platform.** Naoshift does not build templates: it uses what you already have.

## What the summary checks

It goes through the same checks as the deployment itself. Your plan's quota blocks, the impact on the cluster warns, and the exact cloud-init content is shown before leaving. As long as nothing has left, the operation can be cancelled.

## For an administrator

**Settings › Infrastructure actions › Deployment presets** sets two things: the sizes offered to your company, and the cloud-init snippets run at first boot, such as installing packages or configuring NTP. A published version of a snippet never changes: publishing again creates the next one.

> From **Inventory**, a right-click on a template opens the same assistant, already filled in.

### No template is offered

The latest collection of the source contains none. Create or convert a template on the platform, then run a collection again.

### The fixed address field does not appear

A fixed address is only set for a single machine, and if the platform can set it in the guest. Otherwise the machine boots on DHCP, and the screen says so.

### The Deploy entry shows a padlock

That is normal as long as a condition is missing. The page names which one, and who can lift it: Naoshift for the company, an administrator for the rest.
