Container System Overview

Similar documents
VNS3 3.5 Container System Add-Ons

Logging Container. VNS3 Plugins Guide 2018

Overlay Engine. VNS3 Plugins Guide 2018

DataDog Container. VNS3 Plugins Guide 2018

VNS3 Plugin Guide. VSN3:turret NIDS Container

VNS3 Plugins. VSN3:turret WAF Container Guide

VNS3 IPsec Configuration. Connecting VNS3 Side by Side via IPsec

VNS3 Configuration. ElasticHosts

VNS3:turret WAF Guide Sept 2015

VNS3 Configuration. IaaS Private Cloud Deployments

AWS VPC Cloud Environment Setup

Cloud Security Best Practices

Microsoft Azure Configuration. Azure Setup for VNS3

VNS3 Configuration. Quick Launch for first time VNS3 users in Azure

dprobe TM for Docker Configuration Guide

VNS3 IPsec Configuration. VNS3 to Cisco ASA ASDM 9.2

VNS3 IPsec Configuration. VNS3 to Cisco ASA ASDM 5.2

CenturyLink Cloud Configuration. CenturyLink Setup for VNS3

VNS3 version 4. Free and Lite Edition Reset Overlay Subnet

VNS3 to Windows RRAS Instructions. Windows 2012 R2 RRAS Configuration Guide

VNS3 Configuration. Google Compute Engine

VNS3 3.5 Upgrade Instructions

Virtual Private Cloud. User Guide. Issue 03 Date

Deployment Patterns using Docker and Chef

Installing and Configuring vcloud Connector

vcloud Director User's Guide

Deployments and Network Topologies

InControl 2 Software Appliance Setup Guide

CSC 5930/9010 Cloud S & P: Virtualization

vcenter Operations Management Pack for NSX-vSphere

vcloud Air - Virtual Private Cloud OnDemand Networking Guide

Load Balancing Microsoft IIS. Deployment Guide v Copyright Loadbalancer.org

VNS Administration Guide

NSX-T Data Center Migration Coordinator Guide. 5 APR 2019 VMware NSX-T Data Center 2.4

HySecure Quick Start Guide. HySecure 5.0

CloudEdge SG6000-VM Installation Guide

F5 BIG-IQ Centralized Management and Amazon Web Services: Setup. Version 5.4

Virtual Private Networks.

How to Install Forcepoint NGFW in Amazon AWS TECHNICAL DOCUMENT

vcloud Director User's Guide

Installing and Configuring vcloud Connector

PVS Deployment in the Cloud. Last Updated: June 17, 2016

Amazon Virtual Private Cloud. Getting Started Guide

AWS Reference Architecture - CloudGen Firewall Auto Scaling Cluster

IBM Bluemix compute capabilities IBM Corporation

Oracle Cloud Infrastructure Virtual Cloud Network Overview and Deployment Guide ORACLE WHITEPAPER JANUARY 2018 VERSION 1.0

CloudEdge Deployment Guide

Loadbalancer.org Virtual Appliance quick start guide v6.3

AT&T Cloud Web Security Service

Star Jedi font downloaded from

Grandstream Networks, Inc. GWN7000 Multi-WAN Gigabit VPN Router VPN Configuration Guide

Azure Compute. Azure Virtual Machines

BIG-IP Virtual Edition and Linux KVM: Setup. Version 12.1

Deploy the Firepower Management Center Virtual On the AWS Cloud

The Balabit s Privileged Session Management 5 F5 Azure Reference Guide

*Performance and capacities are measured under ideal testing conditions using PAN-OS 8.0. Additionally, for VM

CA Agile Central Installation Guide On-Premises release

CA Agile Central Administrator Guide. CA Agile Central On-Premises

IBM Cloud for VMware Solutions NSX Edge Services Gateway Solution Architecture

Introduction to Docker. Antonis Kalipetis Docker Athens Meetup

Container Adoption for NFV Challenges & Opportunities. Sriram Natarajan, T-Labs Silicon Valley Innovation Center

vcloud Director Tenant Portal Guide vcloud Director 8.20

Provisioning Overlay Networks

Configure IBM Security Identity Manager Virtual Appliance in Cloud

Building Your First SQL Server Container Lab in Docker

Cloud Computing /AWS Course Content

BIG-IP Virtual Edition and Microsoft Hyper- V: Setup. Version 13.1

NGF0502 AWS Student Slides

vrealize Operations Management Pack for NSX for Multi-Hypervisor

vcloud Director User's Guide

An introduction to Docker

NetExtender for SSL-VPN

vcloud Director User's Guide 04 OCT 2018 vcloud Director 9.5

Citrix CloudPlatform (powered by Apache CloudStack) Version 4.5 Getting Started Guide

BIG-IP Virtual Edition and Xen Project: Setup. Version 13.1

vrealize Operations Management Pack for NSX for vsphere 2.0

CHAPTER 7 ADVANCED ADMINISTRATION PC

Load Balancing Nginx Web Servers with OWASP Top 10 WAF in AWS

*Performance and capacities are measured under ideal testing conditions using PAN-OS.0. Additionally, for VM

BIG-IP Virtual Edition and Citrix XenServer: Setup. Version 13.1

BIG-IP Virtual Edition and Citrix XenServer: Setup. Version 12.1

Paperspace. Architecture Overview. 20 Jay St. Suite 312 Brooklyn, NY Technical Whitepaper

EdgeConnect for Amazon Web Services (AWS)

Load Balancing Bloxx Web Filter. Deployment Guide v Copyright Loadbalancer.org

Horizon DaaS Platform 6.1 Service Provider Installation - vcloud

VMware Cloud on AWS Networking and Security. 5 September 2018 VMware Cloud on AWS

Barracuda Link Balancer

25 Best Practice Tips for architecting Amazon VPC

Introduction to Neutron. Network as a Service

Disclaimer CONFIDENTIAL 2

How to configure IPSec VPN between a CradlePoint router and a Fortinet router

Faculté Polytechnique

VXLAN Overview: Cisco Nexus 9000 Series Switches

Evaluation of virtualization and traffic filtering methods for container networks

How to Configure an IPsec VPN to an AWS VPN Gateway with BGP

Pexip Infinity and Amazon Web Services Deployment Guide

SonicOS Enhanced Release Notes

Virtual Private Cloud. User Guide

Load Balancing Nginx Web Servers with OWASP Top 10 WAF in Azure

User Manual. SSV Remote Access Gateway. Web ConfigTool

Transcription:

Container System Overview 2018

Table of Contents Introduction 3 Container Network 7 Uploading an Image or Dockerfile 9 Allocating a Container 13 Saving a Running Container 15 Access Considerations 18 2

Introduction 3

Container System Overview The VNS3 Container System makes use of Linux Containers and the Docker open source project that automates the deployment of applications in Linux Containers (LXC). It is a lightweight virtualization engine that allows users to encapsulate any Linux-based application or set of applications as a lightweight, portable, self-sufficient virtual container. These containers can be manipulated using standard operations and run anywhere Docker is installed. Docker offers a different granularity of virtualization that allows for greater isolation between applications. App Stack App Stack App Stack App Stack App Stack App Stack App Stack VM VNS3 bins/ libs bins/ libs bins/ libs Container bins/ libs bins/ libs Guest OS Guest OS Guest OS LXC / Docker VNS3 Cloud Provider OS/Hypervisor Server Hardware Cloud Provider OS/Hypervisor Server Hardware 4

Docker and VNS3 We have received numerous requests from customers for the ability to add their own layer 4-7 network service applications to the VNS3 layer 3 transport device. To provide that level of customization without compromising VNS3 core functionality, we added an Application Container System to VNS3 powered by Docker. Now you can embed layer 4-7 network service features and functions provided by other vendors - or developed in house, safely and securely into your Cloud Network. Take a look at the following blog posts for further explanation and an example of how you can use VNS3 the VNS3 Container System: An Introduction to Docker in VNS3 Using Docker.io for SSL termination and load balancing waf content caching nids proxy load balancing custom VNS3 Core Components router switch firewall vpn concentrator protocol extensible nfv redistributor 5

Instance Sizing Considerations VNS3 instance sizes have always been a factor in determining to network performance of the Overlay (customer s edge connectivity, customer s router config and geo/network distance being the other factors). Throughput is dependent on the instance's access to underlying hardware (more specifically the NIC). The fewer virtual workloads competing for those hardware resources, the better the performance. As you increase the size of the VNS3 instances you increase the total throughput. Now that Docker is running as part of VNS3 the Controller s instance size will also determine how many Docker application containers can run in your Controller. The type and process loads of the containers will be the determining factor. We recommend using c5.large instance size for VNS3 Controllers. 6

Container Network 7

Container Network Setup To start using the Container System you must first setup an internal subnet where your containers will run. The default VNS3 container subnet is 198.51.100.0/28. VNS3 allows you to choose a custom address block. Make sure it will not overlap with the Overlay Subnet or any subnets you plan on connecting to VNS3. The container subnet can be thought of as a VLAN segment bridged to the VNS3 Controller s public network interface. The Container Networking Page shows the available container IP addresses for the chosen Container Network. IP addresses listed as reserved are either used by Docker (for routing, bridging, and broadcast) or are being used by a currently running container. To change the Container Network first enter a new network subnet in CIDR notation. Click Validate to ensure the subnet accommodates the Container Network requirements. Click Set once validation is passed. You will prompted with a popup warning that a Container Network change will require a restart of any running container. Click OK. NOTE: The subnet 198.51.100.250/30 is RESERVED for internal use by VNS3 controllers and cannot be used. 8

Uploading an Image file or Dockerfile 9

Container Images VNS3 supports uploading a compressed archive of a Container Image, Dockerfile or Docker Context Directory. In the future we will support pulling Containers from the public Docker Index and private repositories. Container Container Images are used to launch Containers. You can think of this relationship as similar to an AMI and Instance in AWS. Once an Image is uploaded you can launch one or multiple Containers from the Image. Dockerfile Dockerfiles are a representation of a Container image, basically a map of how to build an image - start from a source image and run a number of commands on that image before finalizing the Container Image. See the Dockerfile Reference Document for more information. Dockerfile Context Directories VNS3 also supports the upload of what Docker calls a context or collection of files in a directory that are used along with a Dockerfile to build an Image. The Dockerfile needs to be in the root of the directory and the rest of the files need to be relative so the Dockerfile can access the appropriate assets during the build process. NOTE: This means you DO NOT put your files in a directory and then zip up the directory. You must zip up the files inside the directory so they are at the root level as they are extracted. Cohesive Networks provides a number of Containers and Dockerfiles to help get you started on our Product Resources page. 10

Container Images: Upload a Container To Upload a Container Image click on the Images left column menu item listed under the Container heading. Click Upload Image. On the resulting Upload Container Image window enter the following: Input name Description Select the Container Url radio button - provide the publicly accessible URL of the archived Container Image file (supported file formats tar, tgz, tar.gz, tar.bz2, and zip) Click Upload. Once the Container Image has finished the import process, you will be able to use the action button to edit and delete the Image or allocate (launch) a Container. 11

Container Images: Upload from a Dockerfile or Docker Context To Upload a Dockerfile click on the Images left column menu item listed under the Container heading. Click Upload Image. On the resulting Upload Container Image Window enter the following; Input name Description Select the Dockerfile Url radio button - provide the publicly accessible URL of the Dockerfile (note the filename is required to be Dockerfile) or URL of an archived Dockerfile Context Directory (supported file formats tar, tgz, tar.gz, tar.bz2, and zip) Click Upload. Once the Dockerfile has been uploaded and the image has has finished the build process, you will be able to use the action button to edit and delete the Image or allocate (launch) a Container. 12

Allocating a Container 13

Container Images: Allocate a Container To launch a Container click the Actions drop down button next to the Container Image you want to use and click Allocate. On the resulting pop up window enter the following: Name of the Container Command used on initiation of the Container Description Click Allocate. You will be taken to the Containers page where you newly created Container will list its status. 14

Saving a Running Container 15

Saving a Running Container: Save as an Image This operation saves the state of the current running container in image form for re-use or export for download. What is saved is an gzipped raw file image, from which a new container can be allocated. NOTE: VNS3 does not currently support the Docker commit command which will push your changes back to a source DockerHub. Nor does it support Docker export command which delivers a full delta history of the container as opposed to just a raw image. 16

Saving a Running Container: Export This operation allows you to package a running container for download from the VNS3 Controller. After executing this operation the image will show in uncompressed form on the page available via the Exported Images link below the Images table on the Images page. NOTE: VNS3 does not currently support the Docker commit command which will push your changes back to a source DockerHub. Nor does it support Docker export command which delivers a full delta history of the container as opposed to a single LXC image. 17

Access Considerations 18

Container Images: Accessing the Container Once the Container has launched, an IP address included in the specified Container Network CIDR will be listed. Accessing the Container depends on the source network. The following pages cover connection considerations when trying to access a VNS3 Container from the public Internet, Overlay Network, and Remote IPsec Subnet. 19

Access Consideration: Public Internet Accessing a Container from the Public Internet will require additions to the inbound hypervisor firewall rules with the VNS3 Controller as well as VNS3 Firewall. The following example shows how to access a plugin running as a Container listening on port 22. Since VNS3 uses uses port 22 and has it blocked by default you will need to re-direct from another port, in this example port 44. VNS3 Firewall Enter rules to port forward incoming traffic to the Container Network and Masquerade outgoing traffic off the VNS3 Manger s public network interface. #Let the Docker Subnet Access the Internet Via the Controllers Public IP MACRO_CUST -o eth0 -s <Controller Private IP> -j MASQUERADE #Port forward 44 to the container PREROUTING_CUST -i eth0 -p tcp -s 0.0.0.0/0 --dport 44 -j DNAT -- to <Container Network IP>:22 20

Access Consideration: Overlay Network Accessing a Container from the Overlay Network does not require any Network Firewall/ Security Group or VNS3 Firewall rule additions. 21

Access Consideration: IPsec Remote Subnets Accessing a Container from a remote subnet advertised behind an IPsec tunnel will either require an existing tunnel to the VNS3 Overlay Network PLUS some VNS3 forwarding firewall rules OR a tunnel negotiated between the remote subnet and the Container Network. Option 1 - Existing Tunnel and VNS3 Firewall If you have an existing tunnel to the VNS3 Overlay Network, you can add a few VNS3 firewall forwarding rules to access any Containers you have launched. Enter rules to port forward incoming traffic to the Container Network and Masquerade outgoing traffic off the VNS3 Manger s public network interface. #Let the Docker Subnet Access the Internet Via the Controllers Public IP -o eth0 -s <Controller Private IP> -j MASQUERADE #Port forward 22 to the container PREROUTING_CUST -i eth0 -p tcp -s <Remote Subnet CIDR> --dport 44 -j DNAT --to <Container Network IP>:22 Option 2 - Remote Subnet<->Container Network IPsec tunnel Access between a remote subnet and any subset of the Container Network can be established using IPsec tunnels. Simply specify the Container Network CIDR (default of 198.51.100.0/28) as one end of the IPsec subnet configuration on both the VNS3 (Container Network is the local subnet) and the remote IPsec device (Container Network is the remote subnet). 22

VNS3 Configuration Document Links VNS3 Product Resources - Documentation Add-ons VNS3 Configuration Instructions Instructions and screenshots for configuring a VNS3 Controller in a single or multiple Controller topology. Specific steps include, initializing a new Controller, generating clientpack keys, setting up peering, building IPsec tunnels, and connecting client servers to the Overlay Network. VNS3 Administration Document Covers the administration and operation of a configured VNS3 Controller. Additional detail is provided around the VNS3 Firewall, all administration menu items, upgrade licenses, other routes and SNMP traps. VNS3 Troubleshooting Troubleshooting document that provides explanation issues that are more commonly experienced with VNS3. 23