Create a Linode account to try this guide with a $ credit.
This credit will be applied to any valid services used during your first  days.

Consider Using Akamai's New Metadata Service
Akamai’s Metadata service is now available in select data centers and should be considered for new projects as an alternative to StackScripts. Use Metadata to automate system configuration by adding directives or scripts when deploying Compute Instances. This user data can then be consumed by cloud-init, an industry standard system initialization tool, or accessed directly using the Metadata API. For instructions on using the Metadata service and for a list of supported regions and distributions, reference our documentation.

StackScripts provide Linode users with the ability to automate the deployment of custom systems. They work by running a custom script when deploying a new Compute Instance. These custom scripts store tasks that you may need to repeat often on new Compute Instances, such as:

  • Automating common system administration tasks, such as installing and configuring software, configuring system settings, adding limited user accounts, and more.
  • Running externally hosted deployment scripts.
  • Quickly creating Compute Instances for yourself or clients with the exact starter configuration you need.

All StackScripts are stored in the Linode Cloud Manager and can be accessed whenever you deploy a Compute Instance. A StackScript authored by you is an Account StackScript. A Community StackScript is a StackScript created by a Linode community member that has made their StackScript publicly available.


Quick and Easy Customization

Select a StackScript, fill out any required fields, and click to deploy. StackScripts run the first time a Compute Instance boots, allowing you to automatically customize the default Linux distribution.

A Library of StackScripts

Customize your Compute Instance with one of the many StackScripts in our library or discover a community-sourced script. They include everything from installing a Linode-optimized LAMP stack to configuring an IPsec VPN server.

Create Your Own

Writing new StackScripts is simple. If you can’t find the right StackScript for your needs, author your own.

Pricing and Availability

StackScripts are available at no charge across all regions.

Technical Specifications

  • Deployable on new Compute Instances
  • Use any Linode-provided Linux distribution (see Choosing a Linux Distribution)
  • Supports the bash scripting language and any other scripting language supported by your chosen Linux distribution(s) (such as Python)
  • Supports custom user-defined fields (UDFs)
  • StackScripts can be made public to share with the community
  • Manage StackScripts through an intuitive web-based control panel (Cloud Manager), the Linode CLI, or programmatically through the Linode API

This page was originally published on

Your Feedback Is Important

Let us know if this guide was helpful to you.