capabilities.work

Provision an Environment

A 4-step recipe with Apigee. We can help you get access.

Recipe · 4 steps

Provision an Environment

with Apigee

Create an environment, wait until active, and seed it with a target server and KVM.

  1. Create the runtime environment, which returns a long-running operation while the environment is provisioned.
  2. Poll the environment until its state reports ACTIVE so configuration can be applied safely.
  3. Create a backend target server so proxies in this environment can route to the backend by reference instead of a hard-coded URL.
  4. Create an encrypted key value map in the environment for storing runtime data accessed by policies.
What you'll need to have ready
  • organizationId: The Apigee organization to create the environment in.
  • environmentId: Name for the new environment.
  • targetServerName: Name for the target server to add to the environment.
  • targetHost: Backend hostname for the target server.
  • targetPort: Backend port for the target server.
  • kvmName: Name for the key value map to create.
For your developer

Arazzo workflow apigee:provision-environment, 4 operations: createEnvironment → getEnvironment → createTargetServer → createKeyValueMap. Specs on APIs.io.