Customize Configuration
You can provide user-data
to your server to configure it after it has been created. This is useful
if you want to install additional software or make automated configuration changes.
Supported formats
Currently, we support the following formats:
- cloud-config on Linux
- cloud-config on Windows
- bash (Linux only)
- PowerShell (Windows only)
Please also take a look at the cloud-config examples.
Bash / PowerShell Note
If you decide to use bash or PowerShell to configure your server, please ensure that you
provide the correct shebang on the first line.
For bash this is #!/bin/bash
and for Powershell this is #ps1
or #ps1_sysnative
.
Example Linux cloud-config
This example runs an update and upgrade, changes the timezone on the server and installs git.
Example Windows cloud-config
This example changes the timezone on the server.