---
title: How Can I Apply a Startup Script to a Vultr Instance?
url: https://docs.vultr.com/support/products/orchestration/startup-scripts/how-can-i-apply-a-startup-script-to-a-vultr-instance
description: Add a startup script under Orchestration, then select it at deploy or in an existing Vultr instance's settings.
publish_date: 2025-11-20T17:54:45.836910Z
last_updated: 2026-10-26T23:29:56.879730Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

Vultr allows you to automate instance initialization by applying [Startup Scripts](https://docs.vultr.com/products/orchestration/startup-scripts) during deployment or to existing instances. Startup scripts can install software, configure services, or perform any custom setup tasks automatically.

## Applying a Startup Script

1. In the Vultr Console, navigate to **Orchestration**, select **Startup Scripts**, and add a new startup script. Provide a descriptive name, select the script type (e.g., Boot or PXE), and enter the commands or configuration content.  
1. **Assign the Startup Script to an Instance:**  
   * When provisioning a new instance, select the desired script under **Startup Script** in the **Server Settings** section.  
   * For existing instances, you can apply a startup script through the instance management page under **Startup Script** in Settings. The script will run on the next reboot or first boot, depending on the OS and script type.

Using startup scripts ensures consistent, repeatable deployments and simplifies post-provisioning configuration. For detailed instructions, refer to [How to Manage Startup Scripts for Vultr instances](https://docs.vultr.com/products/orchestration/startup-scripts/provisioning) and [How to Change the Startup Script on a Vultr Cloud Compute Instance](https://docs.vultr.com/products/compute/instances/cloud-compute/management/startup-script).
