Giter Site home page Giter Site logo

lrakai / aws-advanced-networking Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 3.0 109 KB

Demonstration of VPC Peering and VPN connections in AWS

License: MIT License

JavaScript 82.10% Shell 4.47% CSS 5.12% HTML 8.31%
aws-vpn-gateways aws-vpc aws-cloudformation site-to-site vpc-peering route53 bgp flowlogs

aws-advanced-networking's Introduction

aws-advanced-networking

Demonstration of VPC Peering and site-to-site VPN connections using dynamic routing in AWS. The architecture below is created by CloudFormation templates.

Architecture

Features

  • Highly available architecture
  • VPC peering between web and API tiers
  • Site-to-site IPSec VPN tunnels between Corporate (containing the database) and API tier
  • VyOS routers for routing corporate network traffic
  • Dynamic routing using BGP
  • Dual-homed router instances to separate internal (within corporate network) and external (outside corporate network) traffic and their security groups
  • Route53 private hosted zone for custom private domains
  • VPC flow logs to inspect accepted and rejected network traffic at the network interface level
  • 3-tier MEAN stack application spanning 3 VPCs and tolerant of multiple network failures in src/

The Templates

There are three templates in infrastructure/:

  1. cloudformation.json: The full template with all of the resources illustrated (and more). CloudFormation explicitly denies using Elastic IPs for Customer Gateway IP addresses, so this part should be performed manually (or using a custom resource)
  2. cloudformation-corporate-side.json: The corporate network and a single instance to represent both the web and API tiers. This is to focus on VPN connections and dual-homed routers.
  3. cloudformation-cloud-side.json: The web and API tiers with a single instance to represent the corporate network. This is to focus on VPC Peering, VPC flow logs, and Route53 private hosted zones.

The corporate network is simulated using a VPC and corporate IP addresses are simulated using Elastic IPs.

Working With the Templates

Each template creates a user named student that has the required IAM permissions to work with the created resources.

aws-advanced-networking's People

Contributors

lrakai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aws-advanced-networking's Issues

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.