Code Monkey home page Code Monkey logo

terraform-equinix-fabric-connection-aws's Introduction

Equinix Fabric L2 Connection To AWS Direct Connect Terraform module

Experimental terraform

terraform-equinix-fabric-connection-aws is a Terraform module that utilizes Terraform provider for Equinix and Terraform provider for AWS to set up an Equinix Fabric L2 connection to AWS Direct Connect.

As part of Platform Equinix, your infrastructure can connect with other parties, such as public cloud providers, network service providers, or your own colocation cages in Equinix by defining an Equinix Fabric - software-defined interconnection.

This module creates the l2 connection in Equinix Fabric, approves the request in your account on the AWS platform, and optionally creates a AWS Direct Connect private virtual interface (VIF) and a virtual private gateway (VGW). BGP in Equinix side can be optionally configured if Network Edge device is used.

     Origin                                              Destination
    (A-side)                                              (Z-side)

┌────────────────┐
│ Equinix Fabric │         Equinix Fabric          ┌────────────────────┐       ┌──────────────────────┐
│ Port / Network ├─────    l2 connection   ───────►│        AWS         │──────►│  Private VIF ─► VGW  │
│ Edge Device /  │      (50 Mbps - 10 Gbps)        │   Direct Connect   │       │     (AWS Region)     │
│ Service Token  │                                 └────────────────────┘       └──────────────────────┘
└────────────────┘                                                                   │
         │                                                                           │
         └ - - - - - - - - - - Network Edge Device - - - - - - - - - - - - - - - - - ┘
                                   BGP peering

Usage

This project is experimental and supported by the user community. Equinix does not provide support for this project.

Install Terraform using the official guides at https://learn.hashicorp.com/tutorials/terraform/install-cli.

This project may be forked, cloned, or downloaded and modified as needed as the base in your integrations and deployments.

This project may also be used as a Terraform module.

To use this module in a new project, create a file such as:

# main.tf
provider "equinix" {}

provider "aws" { region = "eu-central-1" }

data "aws_region" "this" {}

module "equinix-fabric-connection-aws" {
  source  = "equinix-labs/fabric-connection-aws/equinix"

  # required variables
  fabric_notification_users = ["[email protected]"]
  aws_account_id            = var.aws_account_id

  # optional variables
  fabric_destination_metro_code = "FR"
  network_edge_device_id        = "DeviceID"
}

Run terraform init -upgrade and terraform apply.

Variables

See https://registry.terraform.io/modules/equinix-labs/fabric-connection-aws/equinix/latest?tab=inputs for a description of all variables.

Outputs

See https://registry.terraform.io/modules/equinix-labs/fabric-connection-aws/equinix/latest?tab=outputs for a description of all outputs.

Resources

Name Type
random_string.this resource
equinix-fabric-connection module
equinix_network_bgp.this resource
aws_dx_connection_confirmation.this resource
aws_dx_private_virtual_interface.this resource
aws_vpn_gateway.this resource
aws_vpc.this data source
aws_region.this data source

Examples

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.