development
system to staging
or live
, simply by changing the tags that are applied to an API definition.
With Tyk Community Edition and Tyk Pro, these clusters must all share the same Redis DB.
If you are an Enterprise user, then you can go a step further and use the Tyk Multi Data Center Bridge to have full multi-DC, multi-zone cluster segmentation, and manage APIs in different segments across different database back-ends.
"tags":[]
section: a Policy Definition, and a Session object for a token.
Policy tags completely replace key tags, these tags are then fed into the analytics system and can be filtered in the dashboard.
use_db_app_options.node_is_segmented
to true
for multiple gateway nodes, you should ensure that management_node
is set to false
. This is to ensure visibility for the management node across all APIs.management_node
is available from v2.3.4 and onwards.
See Tyk Gateway Configuration Options for more details on node tags.
tyk.conf
and tyk_analytics.conf
files in your new environment and set the policies. allow_explicit_policy_id
setting to true
(the setting is just allow_explicit_policy_id
at the root level of the Dashboard configuration). In order to retain your api_id
when moving between environments then set enable_duplicate_slugs
to true
in your target tyk_analytics.conf
.
_id
field and put the value of the _id
field into the id
field, so policy.json
should look like this:
policies.json
file and then let’s POST it back to the new environment:
Mongo ObjectId
, which is the _id
field, but the id
is the important part.
For example:
Policies in source environment
id
, you can see it’s been mapped properly in the target environment.
id
. That is the value that will be referred to inside Key Creation, etc.
qa
or uat
.
private-gw
or edge
.
edge_endpoints
configuration.