KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal...

34

Transcript of KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal...

Page 1: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load
Page 2: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

KPN CloudNL VMware

vRA en NSX in een Nederlandse

multi-tenant Cloud oplossing

Albert W. Alberts, 16 maart 2017

Page 3: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Even voorstellen …

• KPN sinds jan. 1999:

– HetNet, VoIP, Comet, Bewaarplicht, Cloud, CloudNL

VMware

• Architect (met een software achtergrond)

• KPN patenten

• devNetNoord organisatie

Albert W. Alberts

Privé

Raspberry Pi / Home automation

MeetUp bezoeker

Zwemmen. waterpolo, reizen

Contact

LinkedIn: https://www.linkedin.com/in/albertalberts/

Twitter: @a_w_alberts

Email: [email protected]

Page 4: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

KPN CloudNL VMware

• 1 Commercieel Product Owner

• 1 Technisch Product Owner

• 3 OPS

• 2 DEV

• 1 Test

• 1 Architect

• ½ Proces

The Team: who and how?

Page 5: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load
Page 6: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

CloudNL kenmerken:

• Diensten worden geleverd vanuit KPN eigen

datacenters in Nederland;

• Beheer vanuit Nederland

onder Nederlandse wet- en

regelgeving;

• Assurance via het Cloud

Compliance Framework (CCF).

Page 7: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Cloud kenmerken:

• Self-service management

• Eigen infra creëren

• Eigen infra beheren

• Schaalbaarheid

• Betalen voor gebruik

Page 8: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

CloudNL Microsoft, gebaseerd op Microsoft technologie

Page 9: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

CloudNL VMware, gebaseerd op VMware technologie

• vRealize Automation;

• vRealize Orchestration;

• NSX;

• vCenter & vSphere.

Page 10: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Virtual Machines Networking Backup

CloudNL VMwareFocus op Infrastructuur (IaaS)

Page 11: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Virtual Machines Networking Backup

CloudNL VMwarevRealize suite

vRealize AutomationvRealize Orchestration

Page 12: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

vRealize

Automation

vRealize

Orchestration

Compute

resources

Networking

resources

Storage

resources

CloudNL VMware

Port

al

ReST

API

What does the customer get?Interfaces

Page 13: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

vRealize

Automation

vRealize

Orchestration

Compute

resources

Networking

resources

Storage

resources

CloudNL VMware

Portal ReST API

What does the customer get?Interfaces

GoRuby

Python

C#

Page 14: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

vRealize

Automation

vRealize

Orchestration

Virtual Machines Networking Backup

Compute

resources

Networking

resources

Storage

resources

CloudNL VMware

Portal API

What does the customer get?Interfaces

Page 15: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Tenant ATenant Aprivate IP private IP

NSX Edge pair

public IPpublic IP

TenantESG

TenantESG

Perimeter ESG

Perimeter ESG

default GW

Perimeter ESG

Perimeter ESG

Distributed Logical Router

Tenant AESG

Tenant AESG

Distributed Logical Router

VM VM VM VM

VM VMVM VM

transport network

default GW

defaultGW

defaultGW

transport networkpublic network, without NAT(ting)

private network, with sNAT(ting)

Internet

Aalsmeer (CCA) Apeldoorn (APD)

What does the customer get?Default network setup:

front-end & back-end

Page 16: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Tenant ATenant Aprivate IP private IP

NSX Edge pair

public IPpublic IP

TenantESG

TenantESG

default GW

Distributed Logical Router

Tenant AESG

Tenant AESG

Distributed Logical Router

VM VM VM VM

VM VMVM VM

transport network

default GW

defaultGW

defaultGW

transport networkpublic network, without NAT(ting)

private network, with sNAT(ting)

Aalsmeer (CCA) Apeldoorn (APD)

KPN Cloud Connect

What does the customer get?Custom network setup: no internet,

on-premise connected via

KPN Cloud Connect

Page 17: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

TenantESG

Distributed Logical Router

Tenant BESG

transport network

Tenant A

TenantESG

Distributed Logical Router

Tenant BESG

transport network

Tenant A

private IP

public IP

Perimeter ESG

default GW

Perimeter ESG

VM VM

VM VM

defaultGW

transport network

Internet

TenantESG

Tenant AESG

Distributed Logical Router

Aalsmeer (CCA) Apeldoorn (APD)

private IP

public IP

Perimeter ESG

default GW

Perimeter ESG

VM VM

VM VM

defaultGW

transport network

TenantESG

Tenant AESG

Distributed Logical Router

Wat does the customer get?Multitenancy,

separation at the pESG

Page 18: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

vRealize

Automation

vRealize

Orchestration

Compute

resources

Networking

resources

Storage

resources

CloudNL VMware

Port

al

ReST

API

How does the customer get it?

Page 19: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

vRealize

Automation

vRealize

Orchestration

Compute

resources

Networking

resources

Storage

resources

CloudNL VMware

Portal

How does the customer get it?Order / Request

Page 20: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

vRealize

Automation

vRealize

Orchestration

Compute

resources

Networking

resources

Storage

resources

How does the customer get it?Order / Request flow

Portal

€Billing

Page 21: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

vRealize

Orchestration

Compute

resources

Networking

resources

Storage

resources

How does the customer get it?Order / Request flow

€Billing

vRealize

Automation

Portal

Page 22: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

vRealize Orchestrator workflowCreate NSX Load Balancer

Page 23: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Tenant

AWAlberts

Tenant

AWAlbertsprivate IP private IP

NSX Edge pair

public IPpublic IP

TenantESG

TenantESG

Perimeter ESG

Perimeter ESG

default GW

Perimeter ESG

Perimeter ESG

Distributed Logical Router

Tenant ESGAWAlberts

Tenant ESGAWAlberts

Distributed Logical Router

transport network

default GW

defaultGW

defaultGW

transport network

Internet

Aalsmeer (CCA) Apeldoorn (APD)

Demo: Create Virtual MachineCreate a Virtual Machine

in the back-end network

Page 24: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Tenant

AWAlbertsprivate IP

public IP

TenantESG

Perimeter ESG

default GW

Perimeter ESG

Distributed Logical Router

Tenant ESGAWAlberts

VM

defaultGW

transport network

Internet

Aalsmeer (CCA)

Create Virtual Machine:

CentOS Linux v7.1

CTOS7CCA01CTOS7CCA01

Portal

vRA, vRO

Demo: Create Virtual MachineCreate a Virtual Machine

in the back-end network

Page 25: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Tenant

AWAlbertsprivate IP

public IP

TenantESG

Perimeter ESG

default GW

Perimeter ESG

Distributed Logical Router

Tenant ESGAWAlberts

VM

defaultGW

transport network

Internet

Aalsmeer (CCA)

CTOS7CCA01

Portal

vRA, vRO

CentOS Linux 7 (Core)

Kernel 3.10.0-327.36.3.e17.x86 on

an x86_64

C7ACTOS7CCA01 login: root

Password:

Last login: Fri Mar 10 10:44:55 on

ttty1

root@C7ACTOS7CCA01 ~]#

Demo: Create Virtual MachineCreate a Virtual Machine

in the back-end network

Page 26: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Demo

Create a Virtual Machine

in the back-end network

Page 27: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Tenant

AWAlberts

Tenant

AWAlbertsprivate IP private IP

NSX Edge pair

public IPpublic IP

TenantESG

TenantESG

Perimeter ESG

Perimeter ESG

default GW

Perimeter ESG

Perimeter ESG

Distributed Logical Router

Tenant ESGAWAlberts

Tenant ESGAWAlberts

Distributed Logical Router

VM VM

transport network

default GW

defaultGW

defaultGW

transport network

Internet

Aalsmeer (CCA) Apeldoorn (APD)

CTOS7CCA01 CTOS7CCA02

Demo: Create an Internet-Facing Load BalancerCreate an Internet-Facing

Load Balancer with

two VMs in the back-end

Page 28: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Tenant

AWAlbertsprivate IP

public IP

TenantESG

Perimeter ESG

default GW

Perimeter ESG

Distributed Logical Router

Tenant ESGAWAlberts

VM VM

defaultGW

transport network

Internet

Aalsmeer (CCA)

CTOS7CCA01 CTOS7CCA02

Load Balancer

Create NSX Load Balancer,

with nodes:

CTOS7CCA01

CTOS7CCA02

public IP

Portal

vRA, vRO

Demo: Create an Internet-Facing Load BalancerCreate an Internet-Facing

Load Balancer with

two VMs in the back-end

Page 29: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Tenant

AWAlbertsprivate IP

public IP

TenantESG

Perimeter ESG

default GW

Perimeter ESG

Distributed Logical Router

Tenant ESGAWAlberts

VM VM

defaultGW

transport network

Internet

Aalsmeer (CCA)

CTOS7CCA01 CTOS7CCA02

Load Balancer

public IP

while true; do

curl

145.128.67.82:3000

sleep 1

done

Portal

vRA, vRO

Demo: Create an Internet-Facing Load BalancerCreate an Internet-Facing

Load Balancer with

two VMs in the back-end

Page 30: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Demo

Create an Internet Facing Load

Balancer

with two VMs in the back-end

Page 31: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Vragen

nu of straks bij de KPN stand

Page 32: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

Bedankt voor jullie

aandacht !en er zijn vacatures …

Page 33: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

var http = require('http');

http.createServer(function (req, res) {

res.writeHead(200, {'Content-Type': 'text/plain'});

res.end(‘Hello, my name is CTOS7CCA01. I\’m

numero UNO!\n’);

}).listen(3000, “[node IP-address]”);

console.log('Server running at http://[node IP-

address]:3000/‘);

Webserver with node.js, load balancer nodeindex.js

Page 34: KPN CloudNL VMware...Create NSX Load Balancer, with nodes: CTOS7CCA01 CTOS7CCA02 public IP Portal vRA, vRO Demo: Create an Internet-Facing Load Balancer Create an Internet-Facing Load

#!/bin/bash

# This script runs until you stop it with Ctrl-

C

while true; do

curl [load balancer IP-address]:3000

sleep 1

done

Bash script calling the load balancer IP-addressload-balancer-test.sh