Skip to main content

Deploy to Multiple Environments

By default, On-Premise Agents handle requests for all integration profiles. To configure agents to execute workloads for a specific profile, deploy separate agents to each of your environments or VPCs, and set the agent tags variable to a comma separated list of key-value pairs in the form profile:<PROFILE_NAME>. Some examples include:

# Execute APIs for the production profile
"profile:production"

# Execute APIs for both the development and staging profiles
"profile:development,profile:staging"

# Execute APIs for all profiles (default)
"profile:*"

To configure agent tags, set the following variable depending on your deployment method.

superblocks_agent_tags = "profile:<VALUE>"`