GithubHelp home page GithubHelp logo

isabella232 / sdc-nat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tritondatacenter/sdc-nat

0.0 0.0 0.0 47 KB

SmartDataCenter per-user NAT zone

License: Mozilla Public License 2.0

Makefile 30.02% Shell 69.98%

sdc-nat's Introduction

sdc-nat

This repository is part of the Joyent SmartDataCenter project (SDC). For contribution guidelines, issues, and general documentation, visit the main SDC project page.

A per-user NAT zone to support egress from otherwise internal zones. While not necessarily Docker-specific, the only starting user of this will be sdc-docker.

Current State

This is still very much alpha. Use at your own risk!

Overview

The basic idea is that a Docker container that exposes no ports should still be able to reach out to the internet (e.g. a docker build that does a apt-get install ...). We'll have a (lazily provisioned) "nat" zone for each user that will be the default gateway on that user's VLAN (see VXLAN). This nat zone should be an implementation detail from the user's point of view.

VMs that have a public interface won't require this gateway, so the code path that does the lazy provision can skip these cases.

A plan for when to remove these zones is TBD. It should have some hysteresis so that a repeated cycle of 1 VM, 0 VMs, 1 VM for a given customer doesn't result in deletion and re-creation of their 'nat' zone.

sdc-nat's People

Contributors

cburroughs avatar jclulow avatar rjloura avatar trentm 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.