GithubHelp home page GithubHelp logo

isabella232 / terraform-equinix-fabric-multicloud-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from equinix/terraform-equinix-fabric-multicloud-sample

0.0 0.0 0.0 100 KB

License: MIT License

Shell 6.96% HCL 93.04%

terraform-equinix-fabric-multicloud-sample's Introduction

terraform-equinix-fabric-multicloud-sample

This lab aims to demonstrate how using the terraform Equinix provider, in conjunction with the AWS provider and Google provider, you can fully automate the entire process of establishing a secure, direct connection between multiple clouds.

After completing the lab you will be able to communicate from an virtual machine in AWS (EC2 instance) to a virtual machine in Google Cloud using private addressing.

Multi-cloud automation Equinix Fabric diagram


Requirements

  • Equinix Fabric Account:
    • Permission to create Connection and Network Edge devices
  • GCP Account:
    • Permission to create a project or select one already created
    • Enable billing.
    • Enable APIs: Compute Engine API, and Cloud Deployment Manager API.
  • AWS Account:
    • Permission to access IAM Resources and create an access key
    • IAM user with EC2 full access
  • Curently, this demo only works on Linux. If you do not have access to a Linux environment, we recommend using the GCP cloud shell since it already includes other dependencies listed below.

Setup

Required steps to setup your environment for the lab:

Usage

  1. Clone this project

    mkdir -p $HOME/Workspace/equinix; cd $HOME/Workspace/equinix
    git clone https://github.com/equinix/terraform-equinix-fabric-multicloud-sample.git
  2. Enter provider directory and use your text editor to set the required parameters. Only the ones with no default value are necessary, the others can be left as is.

    cd terraform-equinix-fabric-multicloud-sample
    vim terraform.tfvars
    
  3. From the provider directory execute terraform

    terraform init
    terraform plan
    terraform apply -auto-approve
    
  4. SSH login in one of the instances and run iperf to test the connection

    ssh -i ~/.ssh/vm-ssh-key [VM_EXTERNAL_IP]
    bash /tmp/run_iperf_to_int.sh
    

TODO - Pending tasks

  • TBD include other CSP options

terraform-equinix-fabric-multicloud-sample's People

Contributors

ocobleseqx avatar

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.