36
Migrate, Scale, and Secure Your OpenShift Kubernetes Deployments with F5 and Red Hat Martin Petersen Solutions Engineer, F5 Ralf Brünig Solutions Engineer, F5

Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

Migrate, Scale, and Secure Your OpenShift Kubernetes Deployments with F5 and Red Hat

Martin Petersen

Solutions Engineer, F5

Ralf Brünig

Solutions Engineer, F5

Page 2: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F52

Ansible – Automated Application ServicesCODE TO CUSTOMER VISION

CUSTOMERCODEApp/web

server

Load

balancer

API

gateway

App

security

DNS CDNIngress

controller

DDoS

Containers ● Public cloud ● Virtual machines ● Colocation ● Commodity hardware ● Purpose-built hardware

NGINX ControllersNGINX control plane

BIG-IQBIG-IP control plane

APPS Source to Image

Page 3: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F53

Microservices ADC

with NGINX Plus

MANAGING AND SECURING APPLICATIONS

AUTOMATED APP SERVICES FOR INBOUND TRAFFIC

AUTO SERVICE DISCOVERY

Advanced Application

Services with BIG-IP

Containerised application

….

Worker N

F5 Container

Ingress Service

BIG-IP and NGINX Plus in OpenShiftE

ND

TO

EN

D A

PP

LIC

AT

ION

VIS

IBIL

ITY

Ingress control

Worker 1

BIG-IP

Page 4: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F54

Advanced Application Services with BIG-IP

Page 5: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2018 F5 NETWORKS5

Adapting access and authentication

Users

Certificates

Password

Token

Federation (SAML)

Adaptive Auth

Certificates

Dynamic Forms

Kerberos Delegation

Simple Assertion

SAML Pass-through

Apps

Private/Public

Cloud

SSO Selection

Endpoint Validation

Step-Up Auth

Fraud Protection

Transform one type of authentication into another so an application may understand and use it without installing additional agents

Allow flexible selection of SSO technique appropriate to the application

Page 6: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2018 F5 NETWORKS6

ZERO TRUST OPERATIONAL MODEL

BIG-IP APM Identity Aware Proxy architecture

SSO

Users

IDaaS Provider

Single Sign-OnSAML / OIDC

Reverse Proxy

SAML / OIDC

On-premisesContinuous Posture

Assessment

Mac / Windows / Mobile

AWS

Azure

Google

Posture Check

Access Approved

Access Denied

Posture Check

Posture Check

Third-party Risk Engines

Azure Active Directory

Page 7: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

Competitors Phishers and IP thieves

Inventory Scalpers

Vulnerability Scanners

Content Scrapers

Page 8: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

Use Case: DoS Attacks

Communication

(signaling)

Core

On-Premises

Problem

DoS attacks are growing, but your resources are not.

Mitigation time is slow due to manual initiation and difficult policy tuning.

Solution

Mitigation with layered defense strategy and cloud services.

F5 SOC monitoring with portal.

Protection against all attacks with granular control.

Benefits

On-premises hardware acts immediately and automatically.

Silverline cloud-based services minimizes risk of larger attacks.

DDoS Hybrid

Defender

Layer 3

DDoS Protection

Layer 7

DoS Protection

Advanced

WAF

DoS

Managed Services

SilverlineAlways On

Under Attack

Page 9: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

Machine

LearningLearns normal traffic baselines.

1 Stress

MonitoringDetects abnormal server stress.

2 Dynamic

SignaturesIdentifies bad traffic and bad actors.

3 Attack

MitigationShuns bad traffic automatically.

4

Page 10: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

TLS+

User = user

Password = 12345

088373be1 = lsdkwe9

0x8xb28 = pei57

App-level Encryption

v

Users

Application Layer Encryption

Obfuscation and Evasion Detection

Comprehensive Brute Force Mitigation

USERNAMEDataSafe

Encryption

AJAX JSON Support

Field Name Obfuscation

Field Value Encryption

Attackers

Bots

Stolen credentials

are encrypted and

cannot be re-used

No app

updates

required

Goes beyond TLS/SSL

Page 11: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F511

NGINX App Protect

Page 12: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F512

From Monolithic to MicroservicesNGINX AND RED HAT ARE THERE FOR YOUR JOURNEY

Page 13: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

0

2000

4000

6000

8000

10000

12000

14000

16000

2010 2011 2012 2013 2014 2015 2016 2017 2018 2019

YoY Increase in CVEs

Note: Excludes any rejections or disputes.

New vulnerabilities are discovered in all manner of software all the timeThey are exploited by both malicious bots and human attackers

Do you know how many affect your application stack(s)?

Can you keep up with the pace of published vulnerabilities?

Do you want to?

Page 14: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

1Security

10DevOpsDevelopers

100

REALITY: THE AGILE IMBALANCE

The Pipeline is Built for Speed, Not Security

“Waterfall” security policies

often don’t translate well to

Agile and cloud environments

Security control objectives

can’t be adequately applied

and enforced

Page 15: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

Active attacks

Vulnerabilities

Risk and address compliance

Page 16: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

Active attacks

Vulnerabilities

Risk and address compliance

Page 17: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway
Page 18: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

Active attacks

Vulnerabilities

Risk and address compliance

Page 19: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

Strong App Security

Built for Modern Apps

CI/CD Friendly

But why NGINX App Protect?

Page 20: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

0

0,5

1

1,5

2

2,5

Throughput (MB/sec)

No Protection NGINX App Protect ModSec

0

2000

4000

6000

8000

10000

12000

14000

Requests/sec

No Protection NGINX App Protect ModSec

0

100

200

300

400

500

600

700

800

Latency (ms)

No Protection NGINX App Protect ModSec

Comprehensive security policy has no impact on latency, and offers better throughput and

requests/second when compared to ModSec

• ModSec Configuration: OWASP Top 10 (enable all CRS 3v rules)

• NGINX App Protect Configuration: OWASP Top 10 (Enable signatures), Evasion technique, Data Guard, Disallowed file types, HTTP protocol compliance

Page 21: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

Integration into application security right from the start

Automates security gates to keep the DevOps workflow from slowing down

Enables DevOps to consume SecOps managed policies

DEV SEC OPS

Page 22: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

INFRASTRUCTURE AND SECURITY AS CODE

Source Code Repository CI/CD Pipeline Tool IT Automation

Application code/config for App X

security policy/config for App XPipeline for build/test/deploy of App X

Ansible playbook for deployment

of App X with its app services

Owned by SecOps Operated by DevOps

{"entityChanges": {"type": "explicit"

},"entity": {"name": "bak"

},"entityKind":

"tm:asm:policies:filetypes:filetypestate","action": "delete","description": "Delete Disallowed File Type"

}

Page 23: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F523

F5 and OpenShift

Page 24: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F524

Certified Operators for both BIG-IP and NGINX Plus

Page 25: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F525

Microservices ADC

with NGINX Plus

MANAGING AND SECURING APPLICATIONS

AUTOMATED APP SERVICES FOR INBOUND TRAFFIC

AUTO SERVICE DISCOVERY

Advanced Application

Services with BIG-IP

Containerised application

….

Worker N

F5 Container

Ingress Service

BIG-IP and NGINX Plus in OpenShiftE

ND

TO

EN

D A

PP

LIC

AT

ION

VIS

IBIL

ITY

Ingress control

Worker 1

Page 26: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F526

F5 Container Integrations: Use Cases

Dynamic App Services

for container environments

• Integrate natively with

Containers and PaaS for

ingress control app

performance and security

• Enable self-service for DevOps

– deploy app services in

seconds within orchestration

• Automated discovery and

services insertion –

dynamically create, modify,

and remove app services

Frictionless App Services Insertion

Auto-Scale and Secure Cloud

Container Apps

• Spin up/down app delivery

services automatically across

multi-cloud

• Advanced security protections

and mitigate expensive cloud

attack traffic

• Flexibility in consuming app

services with hourly and

subscription Virtual Editions

Align DevOps Velocity with Automated App Services

Advanced Container

App Protection

• Manage app protection with

advanced security services

• Automatically create and scale

protection by subscribing to

container events

• Integrate with vulnerability

assessment for patching and

gain attack insights from F5

and 3rd party solutions

Simplify and CentraliseSecurity Services

Streamlined App Migration

• Leverage A/B testing and

Blue/Green traffic

management

• Engage many load balancing

methods and customise

traffic streams

• Protect applications in

development and production

from malicious attacks and

DDoS threats

Scale Multiple App Versions Simultaneously

Page 27: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F527

Key Use Cases

Page 28: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F528

Blue-Green vs. Canary Release Methodology

Page 29: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F529

Resiliency Architecture for Multi-Cluster, Multi-Site Apps

Cloud Services or BIG-IP DNS

GSLB

Page 30: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F530

Script

Multi-Cloud App/Cluster Migration ResiliencyF5 DNS LOAD BALANCING CLOUD SERVICES

Legacy Application Transformed Application Platform Migration Lift and Shift to Cloud

BIG-IP Intelligent Blue-Green Deployment (DNS)

Page 31: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F531

Cloud Services

GSLB

Client

APP1

V1apps

APP1

V2apps

Cluster Blue Cluster Green

Blue-Green EfficienciesF5 DNS LOAD BALANCER CLOUD SERVICES

app1.thebizdevops.com

ELB/LTM ELB/LTM

APP1

V1

APP1

V2

Page 32: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F532

F5 Container Ingress

Services

DVWA02

Internet

• Command Injection• SQL Injection• Cross Site Scripting• Server Side Request

Forgery

Standard security policyOWASP Top 10 & Generic attack

NGINX

App Protect

DVWA01

NGINX

App Protect

Application specific security policyBase Policy + File Types Control

.jpg(X) / .pdf(O)

Application specific security policyBase Policy + File Types Control

.jpg(O) / .pdf(X)

Telemetry

Site Resiliency Engineering Use CaseLAYERED APPLICATION SECURITY

Page 33: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F533

Summary and Key Takeaways

Page 34: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F534

Key Takeaways

Scale and Secure Your Container Deployments

with F5 and Red Hat

Provide Site Resiliency Aligned with Agile

Development Best Practices

Enable Best-in-Class ADC with Leading Container Platform

Page 35: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2020 F535

Resources• SRE Demo GitHub

https://github.com/f5devcentral/f5-bd-sre-demo

• GSLB Tool

https://github.com/f5devcentral/f5-bd-gslb-tool

• About F5 & Red Hat

https://www.f5.com/redhat

Page 36: Migrate, Scale, and Secure Your OpenShift Kubernetes ...€¦ · Ansible –Automated Application Services CODE TO CUSTOMER VISION CODE App/web CUSTOMER server Load balancer API gateway

| ©2018 F5 NETWORKS36

DEMO