Release Notes
Getting started
DE-CIX Access
Overview and technical specifications
Create a new Access or LAG
Monitor your Access
Delete your Access
GlobePEER
Overview GlobePEER
Create your GlobePEER service
Manage your GlobePEER service
Delete your GlobePEER service
Blackholing Services
Route Service
Route Server Guides
DE-CIX ASEAN GlobePEER Route Server Guide
DE-CIX Barcelona GlobePEER Route Server Guide
DE-CIX Chicago GlobePEER Route Server Guide
DE-CIX Copenhagen GlobePEER Route Server Guide
DE-CIX Dallas GlobePEER Route Server Guide
DE-CIX Dusseldorf GlobePEER Route Server Guide
DE-CIX Esbjerg GlobePEER Route Server Guide
DE-CIX Frankfurt GlobePEER Route Server Guide
DE-CIX Hamburg GlobePEER Route Server Guide
DE-CIX Helsinki GlobePEER Route Server Guide
DE-CIX Houston GlobePEER Route Server Guide
DE-CIX Istanbul GlobePEER Route Server Guide
DE-CIX Jakarta GlobePEER Route Server Guide
DE-CIX Kristiansand GlobePEER Route Server Guide
DE-CIX Kuala Lumpur GlobePEER Route Server Guide
DE-CIX Leipzig GlobePEER Route Server Guide
DE-CIX Lisbon GlobePEER Route Server Guide
DE-CIX Madrid GlobePEER Route Server Guide
DE-CIX Malaysia GlobePEER Route Server Guide
DE-CIX Marseille GlobePEER Route Server Guide
DE-CIX Mexico GlobePEER Route Server Guide
DE-CIX Munich GlobePEER Route Server Guide
DE-CIX New York GlobePEER Route Server Guide
DE-CIX Oslo GlobePEER Route Server Guide
DE-CIX Palermo GlobePEER Route Server Guide
DE-CIX Phoenix GlobePEER Route Server Guide
DE-CIX Richmond GlobePEER Route Server Guide
DE-CIX Rio De Janeiro GlobePEER Route Server Guide
DE-CIX Sao Paulo GlobePEER Route Server Guide
ACIX GlobePEER Route Server Guide
AF-CIX GlobePEER Route Server Guide
AqabaIX GlobePEER Route Server Guide
Borneo-IX GlobePEER Route Server Guide
Doha IX Route Server Guide
IRAQ-IXP Route Server Guide
Penang IX Route Server Guide
PIE Karachi GlobePEER Route Server Guide
Ruhr-CIX GlobePEER Route Server Guide
SEECIX GlobePEER Route Server Guide
UAE-IX GlobePEER Route Server Guide
Action BGP Communities (Route Server Control)
DE-CIX GlobePEER Route Server Action BGP Communities
ACIX GlobePEER Route Server Action BGP Communities
AF-CIX GlobePEER Route Server Action BGP Communities
AqabaIX GlobePEER Route Server Action BGP Communities
Borneo-IX GlobePEER Route Server Action BGP Communities
IRAQ-IXP Route Server Action BGP Communities
PIE Karachi GlobePEER Route Server Action BGP Communities
Ruhr-CIX GlobePEER Route Server Action BGP Communities
SEECIX GlobePEER Route Server Action BGP Communities
UAE-IX GlobePEER Route Server Action BGP Communities
Doha IX Route Server Action BGP Communities
Informational BGP Communities (Route Details)
DE-CIX GlobePEER Route Server Informational BGP Communities
ACIX GlobePEER Route Server Informational BGP Communities
AF-CIX GlobePEER Route Server Informational BGP Communities
AqabaIX GlobePEEER Route Server Informational BGP Communities
Borneo-IX GlobePEER Route Server Informational BGP Communities
IRAQ-IXP Route Server Informational BGP Communities
PIE Karachi GlobePEER Route Server Informational BGP Communities
Ruhr-CIX GlobePEER Route Server Informational BGP Communities
SEECIX GlobePEER Route Server Informational BGP Communities
UAE-IX GlobePEER Route Server Informational BGP Communities
Doha IX Route Server Informational BGP Communities
Looking Glass Guides
DE-CIX GlobePEER Looking Glass Guide
ACIX GlobePEER Looking Glass Guide
AF-CIX GlobePEER Looking Glass Guide
AqabaIX GlobePEER Looking Glass Guide
Borneo-IX GlobePEER Looking Glass Guide
IRAQ-IXP Looking Glass Guide
PIE Karachi Looking Glass Guide
Ruhr-CIX GlobePEER Looking Glass Guide
SEECIX GlobePEER Looking Glass Guide
UAE-IX GlobePEER Looking Glass Guide
Doha IX Looking Glass Guide
Notes on additional Routes (incl. Google VPP) via GlobePEER Route Service
Closed User Groups
DirectCLOUD
Overview and Monitoring
Cloud Connections
DirectCLOUD for Microsoft Azure
Create DirectCLOUD Connection for Azure
How to order a DirectCLOUD connection for Azure
Create or upgrade Gateways for your Azure ExpressRoute
Manage your Azure Cloud Connection
Upgrade / downgrade a DirectCLOUD service for Azure
Change DirectCLOUD configurations for Azure
Delete DirectCLOUD configurations for Azure
Monitoring Azure ExpressRoute uptime
Monitor your connection
Updating the Cloud Key for Your Azure DirectCLOUD Service
Delete your Azure Cloud connection
FAQ DirectCLOUD for Microsoft Azure
DirectCLOUD for AWS
Create DirectCLOUD connection for AWS
Manage your DirectCLOUD connection for AWS
Upgrade / downgrade the connection
Change DirectCLOUD configurations for AWS
Delete DirectCLOUD configurations for AWS
Monitoring AWS DirectConnect uptime
Monitor your connection
Delete your AWS Cloud connection
DirectCLOUD for IBM
Create DirectCLOUD connection for IBM
Manage your DirectCLOUD connection for IBM
Upgrade / downgrade a DirectCLOUD service for IBM
Change DirectCLOUD configurations for IBM
Delete DirectCLOUD configurations for IBM
Monitor your connection
Delete your IBM Cloud connection
DirectCLOUD for GCloud
Cloud ROUTER
Overview Cloud ROUTER
Create / Manage your Cloud ROUTER
Create / Manage the configurations
Add a configuration
Upgrade / downgrade a configuration
Change your Cloud ROUTER configurations
Monitor your configurations
Delete a Cloud ROUTER configuration
Advanced Settings Cloud ROUTER
VirtualPNI
Overview VirtualPNI
Create your VirtualPNI
Order and configure your VirtualPNI between two Accesses
Order and configure your VirtualPNI between Access and Cloud ROUTER
Manage your VirtualPNI
Upgrade / Downgrade your VirtualPNI service
Change VirtualPNI configurations
Delete VirtualPNI configurations
Monitor your VirtualPNI
Delete your VirtualPNI service
Colocation
Out-of-band access to your DE-CIX colocated equipment
Shipping Information
Colocation equipment management for Digital Realty data centers
API
Overview IX-API
Cloud ROUTER API
Cloud ROUTER Postman Collection
Monitor and Visibility of Learned Routes and Advertised Routes by API
BGP Ingress and Egress Filters Usage by API
Quick API Reference
Terraform Provider
Terraform Provider Overview
Getting Started
Provider Configuration
Managing Services
State Management
End-to-End Example
Service Insights System
Service Insights System - Tutorial
Standard customer Service Insights Tutorial (for customers without reselling services or DaaS location)
Service Telemetry Insights Tutorial
GlobePEER Traffic Insights Tutorial
GlobePEER Threat Insights Tutorial
Cloud ROUTER Traffic Insights Tutorial
Reseller Service Insights Tutorial
Reseller GlobePEER Traffic Insights Tutorial
Reseller GlobePEER Threat Insights Tutorial
Reseller Service Telemetry Insights Tutorial
Partner (DaaS) Service Insights Tutorial
Partner GlobePEER Traffic Insights Tutorial
Partner Service Telemetry Insights Tutorial
Partner GlobePEER Threat Insights Tutorial
Service Insights Tutorial - General Informations
Service Insights System
Account administration
Add new users or subcustomers
Manage user roles and permissions
Multi-Factor-Authentification
Retrieving username and reset password
Delete a user
Customer service and ticket system
- All Categories
- Terraform Provider
- Managing Services
Managing Services
Updated
by DE-CIX PDM Team
Creating and Managing Services Using the IX-API Terraform Provider
Here is the complete page content, ready to paste in one go. Note that the code blocks should all be set to ini in HelpDocs, and the handover row in the Cloud VC table needs to be filled in by the developer before publishing.
This page shows how to create and manage DE-CIX Cloud ROUTER resources and related configurations.
Recommended order:
- Create the Cloud ROUTER (VRF)
- Attach network services (P2P VC or Cloud VC)
- Configure routing policies and prefix lists
- Add static routes if required
Cloud ROUTER (VRF)
resource "ixapi_de_cix_cloud_router" "main" {
managing_account = var.account_id
consuming_account = var.account_id
billing_account = var.account_id
product_offering = var.product_offering_id
asn = 65000
capacity = 1000
external_ref = "my-cloud-router"
}Argument | Description |
| ID of the Cloud ROUTER product offering. To find available IDs, use the |
| BGP Autonomous System Number for this VRF |
| Bandwidth in Mbit/s, within the offering's min/max range |
| Free-form reference field for your own tracking |
Account fields
managing_account, consuming_account, and billing_account appear on every resource. For most customers, all three will have the same value — your DE-CIX account ID.
They can differ in reseller or sub-account scenarios:
managing_account— the account that owns and manages this resourceconsuming_account— the account that uses the servicebilling_account— the account that is billed for the service
Computed attributes available after creation: id, state.
Network Service Configs (NSC)
A Network Service Config (NSC) attaches a Cloud ROUTER to a network service and defines one BGP session. The Cloud ROUTER must exist before any NSC is created.
There are two types:
- P2P VC (point-to-point virtual circuit)
- Cloud VC (cloud connectivity)
Network Service Config: Point-to-Point Virtual Circuit (P2P VC)
resource "ixapi_de_cix_cloud_router_network_service_config_p2p_vc" "session" {
managing_account = var.account_id
consuming_account = var.account_id
billing_account = var.account_id
cloud_router = ixapi_de_cix_cloud_router.main.id
network_service = var.p2p_vc_network_service_id
network_connection = var.network_connection_id
address = "10.0.1.1/30"
bgp_neighbor = "10.0.1.2"
bgp_neighbor_asn = 64512
bgp_password = var.bgp_password
admin_status = "enabled"
bfd_enabled = true
external_ref = "p2p-session-fra"
vlan_config {
vlan_type = "dot1q"
vlan_id = 100
}
}VLAN types
| Required attributes |
|
|
|
|
| — |
Computed attributes available after creation: id, state.
Network Service Config: Cloud Virtual Circuit (Cloud VC)
resource "ixapi_de_cix_cloud_router_network_service_config_cloud_vc" "cloud_session" {
managing_account = var.account_id
consuming_account = var.account_id
billing_account = var.account_id
cloud_router = ixapi_de_cix_cloud_router.main.id
network_service = var.cloud_vc_network_service_id
address = "10.0.2.1/30"
bgp_neighbor = "10.0.2.2"
bgp_neighbor_asn = 64513
bgp_password = var.bgp_password
admin_status = "enabled"
bfd_enabled = true
handover = 1
external_ref = "cloud-session-fra"
}Argument | Description |
| Cloud side diversity. For most cloud providers this is always |
| Free-form reference field for your own tracking |
Computed attributes available after creation: id, state.
Prefix Lists
A prefix list is a named set of IP prefixes used as match conditions in routing policies.
resource "ixapi_de_cix_cloud_router_prefix_list" "customer_nets" {
name = "customer-networks"
managing_account = var.account_id
consuming_account = var.account_id
match_list {
prefix = "10.0.0.0/8"
min_length = 16
max_length = 24
}
match_list {
prefix = "192.168.0.0/16"
max_length = 24
}
}Each match_list entry accepts:
Argument | Description |
| IP prefix in CIDR notation (required) |
| Minimum prefix length to match. Defaults to the prefix length. |
| Maximum prefix length to match |
Routing Policies
A routing policy is an ordered list of entries. Each entry optionally matches a prefix list and applies an action.
resource "ixapi_de_cix_cloud_router_policy" "inbound" {
name = "inbound-policy"
managing_account = var.account_id
consuming_account = var.account_id
entries {
sequence_number = 10
match_prefix_list = ixapi_de_cix_cloud_router_prefix_list.customer_nets.name
action {
filter = "accept"
local_preference = 200
}
}
entries {
sequence_number = 20
action {
filter = "reject"
}
}
}Policy action attributes:
Argument | Values | Description |
|
| Whether to accept or reject matched routes (required) |
| integer | Set BGP local preference (accept only) |
| integer | Number of times to prepend the local AS (accept only) |
An entry without match_prefix_list matches all routes. This is typically used as a final catch-all reject entry.
Static Routes
Static routes are added to a Cloud ROUTER VRF and can be scoped to specific NSCs.
resource "ixapi_de_cix_cloud_router_static_route" "aggregate" {
name = "default-aggregate"
prefix = "10.0.0.0/8"
next_hop = "aggregate"
network_service_configs = [ixapi_de_cix_cloud_router_network_service_config_p2p_vc.session.id]
}The next_hop field accepts:
"aggregate"— summarizes the prefix without forwarding to a specific next hop- An IP address — forwards traffic to a specific next hop address
Data Sources
Data sources let you query existing IX-API objects without managing them as resources.
Discover available product offerings
data "ixapi_de_cix_product_offerings_cloud_vrf" "available" {}Advertised routes
data "ixapi_de_cix_cloud_router_network_service_config_advertised_routes" "p2p" {
network_service_config_id = ixapi_de_cix_cloud_router_network_service_config_p2p_vc.session.id
}Received routes
data "ixapi_de_cix_cloud_router_network_service_config_received_routes" "p2p" {
network_service_config_id = ixapi_de_cix_cloud_router_network_service_config_p2p_vc.session.id
}VRF routing table
data "ixapi_de_cix_cloud_router_routes" "main" {
vrf = ixapi_de_cix_cloud_router.main.id
}BGP session state
data "ixapi_de_cix_cloud_router_bgp_state" "session" {
nsc_id = ixapi_de_cix_cloud_router_network_service_config_p2p_vc.session.id
}BFD session state
data "ixapi_de_cix_cloud_router_bfd_state" "session" {
nsc_id = ixapi_de_cix_cloud_router_network_service_config_p2p_vc.session.id
}VRF ARP table
data "ixapi_de_cix_cloud_router_vrf_arp_table" "main" {
vrf = ixapi_de_cix_cloud_router.main.id
}