Common use cases for StackScripts

Automating common system administration tasks

Whenever you deploy a new Compute Instance, there are basic system administration tasks that you must perform, like installing system software updates, setting your Compute Instance's hostname, setting the timezone, and securing your server. You can create a StackScript to automate all these steps and use it each time you deploy a new Compute Instance. There are few limitations to what you can automate using a StackScript, because its underlying mechanism works just like any script you might execute on a Linux system. StackScripts ensure that each Compute Instance you deploy is configured exactly to your preferences each time.

Since you can make any StackScript public to the Akamai cloud computing Community, your entire team can use the StackScripts you create to easily deploy base identical systems.

Demonstrating your software

If you develop software, you can use StackScripts to deploy a demonstration instance of your software. The resulting system may not need to be particularly durable or be fully configured, since you can redeploy a new Compute Instance exactly as written in your StackScript. This is an easy and reproducible way to spin up quick demos of your software.

Distributing your software

Community StackScripts are publicly available to the entire Akamai cloud computing Community. This means if you have an open source project you'd like to make easily available to users, you can write a StackScript that installs and configures your project's software on a Compute Instance. Include user defined variables in your StackScript to make it customizable to users during each deployment of the StackScript.

📘

If you would also like to make your open source project available to the Akamai cloud computing Community as an App in the Linode Marketplace, see the App Marketplace page for details.

Deploy cluster instances

If your application makes use of a cluster of nodes, you may be able to automate the deployment of a new cluster-member by using StackScripts to configure the instance. StackScripts, in combination with the Linode API, can help you to elastically automate deployment and management of a cluster's node. Similarly, you can apply the same concept to creating a server appliance instance.