Add a new environment definition to the envs[] property in your overrides file.
Note that the property is an array; therefore, you can add more than one environment definition
to it.
Give the new environment the same name as the one you created in the UI.
For example, the following configuration defines two environments: test
and prod:
For more information about virtual host configuration, including how to configure
multiple basepath routing rules, see Configure virtual hosts.
For a complete list of environment configuration elements, see envs in the
Configuration
property reference.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis document outlines the two-step process for creating new environments in Apigee hybrid, involving environment creation in the management plane and configuration addition in the cluster's overrides file.\u003c/p\u003e\n"],["\u003cp\u003eNew environments can be created either via the Apigee UI or through the Create environments API, after which the environment definition must be added to the \u003ccode\u003eenvs[]\u003c/code\u003e property in the overrides file.\u003c/p\u003e\n"],["\u003cp\u003eThe overrides file's \u003ccode\u003evirtualhosts\u003c/code\u003e property should be updated to map its routing rules to the newly created environment(s).\u003c/p\u003e\n"],["\u003cp\u003eChanges made to the \u003ccode\u003eenvs[]\u003c/code\u003e and \u003ccode\u003evirtualhosts[]\u003c/code\u003e properties require a specific \u003ccode\u003eapigeectl\u003c/code\u003e command to apply them to the cluster, and another command if only \u003ccode\u003evirtualhosts\u003c/code\u003e is updated.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation pertains to Apigee hybrid version 1.2, which is end-of-life, and users are advised to upgrade to a newer version.\u003c/p\u003e\n"]]],[],null,[]]