You can tag a variety of your infrastructural components, such as applications (stacks), servers, or firewall rules, in order to differentiate them from one another. Some tag names are reserved by Cloud 66 because they provide additional functionality to your infrastructure.
Cloud 66 currently reserves the following tags:
|c66.delete.protection||server, formation||Prevents a component (e.g. server) from being deleted - including via the Toolbelt and API.|
|c66.migrations.run||server (Rails only)||Sets the given server as the migrator - migrations will run on that server only, and the rest of the servers will wait until the migrations are performed before continuing with the deployment.|
|c66.compilation.run||server (Rails only)||Nominates a Rails server to handle asset pre-compilation workloads.|
|c66.build-commands.run||server (Rack only - does not apply to Rails)||Nominates a server to handle the workload of the declared custom build command (as specified in your manifest or during the initial build process). Only applies during the initial build of the application.|
|c66.deploy-commands.run||server (Rack only - does not apply to Rails)||Nominates a server to handle the workload of the declared custom deploy command (as specified in your manifest or during the initial build process). Applies during subsequent deployments of the application.|
Adding tags to a server
To add a tag to a server:
- Log into your Cloud 66 dashboard and click on your application
- Click on the Servers tab in the main panel
- Click on the name of the server you'd like to protect
- Click on the tag icon (🏷) at the top right of the Server info panel and then click on Add Tags
- Type in
c66.and you will be prompted to autocomplete the tag you need - then click Save.
- You should now be able to see the tag in red just below your server's name.