Login 24/7 Support Community tyk.io

Task 4 - Set Up Environment and Configure Deployments

Introduction

An Environment allows you to group deployments together. In this step we will create an Environment and configure our first Control Plane and Edge Gateway deployments.

What is an environment?

An environment is a grouping of ‘deployments’ that can have multiple Control Planes and Edge Gateways.

Steps to set up your environment

  • Step 1 - Name your Environment: Give your Environment a name. You may find it useful to reflect the names used within your organisation such as Development, Production etc.

  • Step 2 - Name your Control Plane: Give your Control Plane a name. Again, this is up to you and you may already have an infrastructure you want to re-create in Tyk Cloud.

  • Step 3 - Configure your first Edge Gateway: Select the region you want to locate your Edge Gateway in from the drop-down list. Your Edge Gateway is not confined to the same region as your Organisation and Control Plane but the amount of regions you have to choose from can be limited depending on your subscription plan. Give your Edge Gateway a name.

Note

You need to have at least one Edge Gateway with a Deployed status connected to your Control Plane.

  • Step 4 - Deployment:
  1. Click Deploy Control Plane and Create an Edge Gateway. You can watch your Control Plane being deployed and your Edge Gateway being created. You will then be taken to the Control Plane overview screen within the Tyk Cloud dashboard.
  2. From your Control Plane overview you will see the Edge Gateway is in a Not Deployed state. Click on your Edge Gateway to open its overview.
  3. In the top right of your Edge Gateway overview, click Not Deployed and choose Deploy from the drop-down.
  4. With your Edge Gateway successfully deployed, make a note of the tags assigned to your Edge Gateway. One tag is “edge” and the other is the location of your Edge Gateway. You’ll add a tag when creating your API.

Here’s a video on how to set up your Tyk Cloud Environment.

Next you’ll set up your first API from the Tyk Dashboard.