---
updatedAt: 2026-06-17T13:21:03.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/cloud-computing/llms.txt
---

# Automate cloud resource deployment

# Why you should automate server builds

Manually configuring systems is a good way to learn, but it's also a time consuming process which is prone to human error. There are multiple ways to automate deploying new systems and various degrees to which that automation can be applied.

For example, if your needs are relatively straightforward and concise, a shell script or [StackScript](https://techdocs.akamai.com/cloud-computing/docs/stackscripts) could be all that is necessary. For more complex solutions, configuration orchestration and management exists to deploy and manage fleets of systems and services across multiple regions, networks, and service providers.

# Working with a golden image

Using a *golden image* as a configuration base is a frequent starting point in cloud environment automation. This helps quickly deploy multiple systems which are exactly identical. Across the industry, golden images are also referred to as *master*, *base*, or *clone* images, among other terms. Irrespective of name, the idea behind a golden disk is simple: create the desired image and preserve it for cloning/deploying to other servers, thereby simplifying the deployment process and eliminating configuration gap.

![A diagram showing disk image cloning: one cube multiplied to six cubes.](https://techdocs.akamai.com/linode/platform/img/1303-image_cloning_2.jpg)

## Create a golden image

1. Create a new Linode.

2. Configure all packages, applications, and system settings as desired.

3. Remove any system users you don't want to appear on your duplicated systems.

4. Shut down the Linode and either:
   * [Clone the disk](https://techdocs.akamai.com/cloud-computing/docs/clone-a-compute-instance#clone-to-an-existing-compute-instance).
   * Alternatively, [take a snapshot](https://techdocs.akamai.com/cloud-computing/docs/take-a-manual-snapshot) of the disk with Backups.

5. Store your golden image. This can be done in a variety of ways. A few examples are:

* As a snapshot using [Images](https://techdocs.akamai.com/cloud-computing/docs/capture-an-image) or [Backups](https://techdocs.akamai.com/cloud-computing/docs/take-a-manual-snapshot).
* In a [version control](https://linode.com/docs/guides/introduction-to-version-control/) system running on a remote or local server.
* On [local](https://techdocs.akamai.com/cloud-computing/docs/copy-a-disk-over-ssh) storage.

## Restore a golden image

1. Copy the duplicate disk to your other Linodes, either using [the Linode API](https://techdocs.akamai.com/linode-api/reference/post-clone-linode-disk) or [manually](https://techdocs.akamai.com/cloud-computing/docs/copy-a-disk-to-a-different-account#copy-the-disk). If you're using a Backups snapshot, you would [restore it](https://techdocs.akamai.com/cloud-computing/docs/restore-a-backup-to-an-existing-compute-instance) to the desired Linodes.

2. Create [configuration profiles](https://techdocs.akamai.com/cloud-computing/docs/manage-configuration-profiles-on-a-compute-instance) on those additional Linodes to boot using the duplicated disk.

3. Any user credentials from the golden image will also be on the duplicated disks so you should change the new system's root password.

4. Update the new Linode's [hostname](https://techdocs.akamai.com/cloud-computing/docs/set-up-and-secure-a-compute-instance#configure-a-custom-hostname).

5. If your golden system was configured to use a static IP address, you'll also need to [reconfigure the IP address](https://techdocs.akamai.com/cloud-computing/docs/manual-network-configuration-on-a-compute-instance) on your duplicated disks.

# Third-party tools

Golden disks are capable of handling automated server builds for most individuals and small businesses, but if you work for a large business that manages dozens of Linodes, you may need to turn to third-party configuration management and orchestration tools, such as:

* **Puppet:** An open source configuration management tool that manages systems declaratively. It can automates IT tasks like application configuration, patch management, and even infrastructure audit and compliance. See the following Puppet guides:

  * [Getting Started with Puppet - Basic Installation and Setup](https://linode.com/docs/guides/getting-started-with-puppet-6-1-basic-installation-and-setup/)
  * [Manage and Automate Systems Configuration with Puppet](https://linode.com/docs/guides/manage-and-automate-systems-configuration-with-puppet/)
  * [Use Puppet Modules to Create a LAMP Stack](https://linode.com/docs/guides/use-puppet-modules-to-create-a-lamp-stack/)
  * [Install and Manage MySQL Databases with Puppet Hiera on Ubuntu 16.04](https://linode.com/docs/guides/install-and-manage-mysql-databases-with-puppet-hiera-on-ubuntu-16-04/)

* **Chef:** An open source configuration management tool used to turn your infrastructure into code. See the [Chef website](https://www.chef.io/) for more information.

  * [A Beginner's Guide to Chef](https://linode.com/docs/guides/beginners-guide-chef/)
  * [Creating Your First Chef Cookbook](https://linode.com/docs/guides/creating-your-first-chef-cookbook/)
  * [Install a Chef Server Workstation on Ubuntu 18.04](https://linode.com/docs/guides/install-a-chef-server-workstation-on-ubuntu-18-04/)

* **Ansible:** An open source platform for configuring and managing systems. It works by connecting to your systems via SSH — it doesn't install anything on the remote systems. See the [Ansible website](http://www.ansible.com/) for more information. Read more about the [Linode Ansible Collection](https://github.com/linode/ansible_linode) in the official documentation. To start using Ansible, check out the following guides:

  * [Use the Linode Ansible Collection to Deploy a Linode](https://linode.com/docs/guides/deploy-linodes-using-linode-ansible-collection/)
  * [Getting Started With Ansible - Basic Installation and Setup](https://linode.com/docs/guides/getting-started-with-ansible/)
  * [Automate Server Configuration with Ansible Playbooks](https://linode.com/docs/guides/running-ansible-playbooks/)

* **Salt:** Salt (also referred to as SaltStack) is a Python-based configuration management and orchestration system. Salt uses a master/client model in which a dedicated Salt master server manages one or more Salt minion servers. To learn more about Salt, see the following guides:

  * [A Beginner's Guide to Salt](https://linode.com/docs/guides/beginners-guide-to-salt/)
  * [Getting Started with Salt - Basic Installation and Setup](https://linode.com/docs/guides/getting-started-with-salt-basic-installation-and-setup/)
  * [SaltStack Command Line Reference](https://linode.com/docs/guides/salt-command-line-reference/)
  * [Introduction to Jinja Templates for Salt](https://linode.com/docs/guides/introduction-to-jinja-templates-for-salt/)
  * [Test Salt States Locally with KitchenSalt](https://linode.com/docs/guides/test-salt-locally-with-kitchen-salt/)
  * [Secrets Management with Salt](https://linode.com/docs/guides/secrets-management-with-salt/)
  * [Use and Modify Official SaltStack Formulas](https://linode.com/docs/guides/use-and-modify-official-saltstack-formulas/)
  * [Use Salt States to Configure a LAMP Stack on a Minion](https://linode.com/docs/guides/use-salt-states-to-configure-a-lamp-stack-on-a-minion/)
  * [Monitoring Salt Minions with Beacons](https://linode.com/docs/guides/monitoring-salt-minions-with-beacons/)
  * [Create a Salt Execution Module](https://linode.com/docs/guides/create-a-salt-execution-module/)
  * [Automate Static Site Deployments with Salt, Git, and Webhooks](https://linode.com/docs/guides/automate-a-static-site-deployment-with-salt/)
  * [Use Salt States to Create LAMP Stack and Fail2ban Across Salt minions](https://linode.com/docs/guides/use-salt-states-to-create-lamp-stack-and-fail2ban-across-salt-minions/)
  * [Configure and Use Salt Cloud and Cloud Maps to Provision Systems](https://linode.com/docs/guides/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems/)

* **Terraform:** Terraform by HashiCorp is an orchestration tool that lets you represent your Linodes and other resources with declarative code inside configuration files, instead of manually creating those resources via Cloud Manager or API. This practice is referred to as Infrastructure as Code, and Terraform is a popular example of this methodology.

  * [A Beginner's Guide to Terraform](https://linode.com/docs/guides/beginners-guide-to-terraform/)
  * [Introduction to HashiCorp Configuration Language (HCL)](https://linode.com/docs/guides/introduction-to-hcl/)
  * [Use Terraform to Provision Linode Environments](https://linode.com/docs/guides/how-to-build-your-infrastructure-using-terraform-and-linode/)
  * [Import Existing Infrastructure to Terraform](https://linode.com/docs/guides/import-existing-infrastructure-to-terraform/)
  * [Secrets Management with Terraform](https://linode.com/docs/guides/secrets-management-with-terraform/)
  * [Create a NodeBalancer with Terraform](https://linode.com/docs/guides/create-a-nodebalancer-with-terraform/)
  * [Deploy a WordPress Site Using Terraform and Linode StackScripts](https://linode.com/docs/guides/deploy-a-wordpress-site-using-terraform-and-linode-stackscripts/)
  * [Create a Terraform Module](https://linode.com/docs/guides/create-terraform-module/)

There are plenty of other third-party configuration management tools to be used should the above options not suit your needs.

# Sibling pages

* [Choose a data center](https://techdocs.akamai.com/cloud-computing/docs/how-to-choose-a-data-center.md)
* [Network transfer usage and costs](https://techdocs.akamai.com/cloud-computing/docs/network-transfer-usage-and-costs.md)
* [Help & support](https://techdocs.akamai.com/cloud-computing/docs/help-and-support.md)
* [Send email on Akamai Cloud](https://techdocs.akamai.com/cloud-computing/docs/send-email.md)
* [Subscribe to status updates](https://techdocs.akamai.com/cloud-computing/docs/subscribe-to-status-updates.md)
* [Grant a developer access to your services](https://techdocs.akamai.com/cloud-computing/docs/grant-a-developer-access.md)
* [Resell services](https://techdocs.akamai.com/cloud-computing/docs/resell-services.md)
* [Distributed compute regions (limited availability)](https://techdocs.akamai.com/cloud-computing/docs/distributed-compute-regions.md)
* [New data centers 2026](https://techdocs.akamai.com/cloud-computing/docs/new-data-centers-beta-2026.md)
* [NVIDIA RTX PRO 6000 Blackwell GPU Onboarding (limited availability)](https://techdocs.akamai.com/cloud-computing/docs/nvidia-rtx-pro-6000-blackwell-gpu-onboarding.md)