Building cloud-native applications with a container-
native SQL database in the public sector
September 2018
TODAY’S AGENDA
● Red Hat & NuoDB Intros
Red Hat
● Introduction to Cloud Native App Delivery
● Containers and Container Platforms
● OpenShift Overview
NuoDB
● NuoDB Overview
● Use Cases
● NuoDB & OpenShift
SOFTWARE DEVELOPMENT IS EVOLVING
Architecture
Infrastructur
e
Monolith
N-Tier
Microservices
Datacenter
Hosted
Hybrid
Process
Waterfal
l
Agile
DevOps
WHAT DO AGENCIES NEED?
DELIVER FASTER DEVELOP FASTERCHANGE FASTER
INNOVATE
FASTER
Increase the speed of
app delivery of existing
and new applications to
your customers
Increase the speed of
developing new
applications to address
new business
opportunities
Increase the speed of
change by modernizing
applications to adapt to
the markets and
customers
Increase the speed of
innovation across the
organization to the pace
that your business
demands
CLOUD-NATIVE APP DEVELOPMENT
Service-based Containers DevOpsAPI-driven
WHAT IS CLOUD-NATIVE APP DEV?
IT’S A MODERN APPROACH TO BUILDING AND RUNNING APPLICATIONS
Architecture Communication Infrastructure Process
A DIGITAL EVOLUTION
Server-centric Container-centric
Scale up vertically Scale out horizontally
Tightly coupled monolith Loosely coupled and service-based
Infrastructure-dependent Portable across infrastructure
Waterfall, semi-agile, and long delivery Agile and continuous delivery
Local IDEs & developer tools Cloud-based, intelligent tools
Siloed dev, ops, QA, and security teams DevSecOps, NoOps, and collaboration
TRADITIONAL CLOUD-NATIVE
A BIT MORE ON CONTAINERS
CONTAINER BENEFITS FOR MULTIPLE TEAMS
DEVELOPERS
IT OPERATIONS
BUSINESS
LEADERS
● CLOUD-NATIVE APPS
● SIMPLIFY PACKAGING
● SIMPLIFY TESTING
● CHOICE OF LANGUAGE/FRAMEWORK
● CONSISTENT APP DEPLOYS
● AUTOMATED APP DEPLOYS
● AUTOMATED ROLLBACK
● IMPROVED APP PERFORMANCE
● MULTI-CLOUD CONSISTENCY
● ENABLE DEVOPS CULTURE
● ENABLE HYBRID CLOUD
● REDUCE VM LICENSING COSTS
● ACCELERATE APP-DEV CYCLES
CONTAINERS
Package all app dependencies
Integrated in Linux OS
Fully Open Source
Secure Isolation of Applications
Eliminates need for VM Hypervisor
INFRASTRUCTURE
LINUX HOST (KERNEL)
Container
App
Container
App
Container
App
Container
App
I CONTAINERS
(most developers do)
BUT SCALE BRINGS COMPLEXITY
Scheduling
Decide where to deploy containers
KUBERNETES MAKES IT EASIER
Lifecycle and health
Keep containers running despite failures
Discovery
Find other containers on the network
Monitoring
Visibility into running containers
Security
Control who can do what
Scaling
Scale containers up and down
Persistence
Survive data beyond container lifecycle
Aggregation
Compose apps from multiple containers
KUBERNETES IS THE CONTAINER
ORCHESTRATION STANDARD
OTHERORCHESTRATORS
(Cloud Foundry Diego,
Nomad, Blox, etc.)
2 YEARS AGO
Fragmented landscape
TODAY
Kubernetes consolidation
OTHER
ORCHESTRATORS
Red Hat bet early on Kubernetes. It has now become the dominant orchestration ecosystem
BUT THERE’S MORE TO A FULL STACK
CONTAINER PLATFORM
Developer Productivity
Build Automation, Image
Streams, CI/CD
Kubernetes
Red Hat Enterprise Linux or Red Hat CoreOS
Automated
Operations
Lifecycle Mgmt
App
Monitoring
Infra
Monitoring
Service Cat/Operators
etcd, Prometheus, Red
Hat Middleware, ISVs
Cluster Services
Metering/Chargeback,
Registry, Logging, Metrics
CaaS PaaSBest Operator Experience Best Developer Experience
Ops & Dev Consoles
Install / Upgrade
Security / Auth
Network / CNI
Storage / CSI
200+ validated integrations
100s of defect and performance fixes
9 year enterprise lifecycle management
Security fixes
Middleware integration
(container images, storage, networking, cloud services, etc)
Certified Kubernetes
OPENSHIFT IS KUBERNETES
FOR THE ENTERPRISE
Kubernetes
Release
OpenShift
Release
1-3 months
hardening
LEARN.OPENSHIFT.COM
Interactive Learning Scenarios provide you with a pre-configured OpenShift instance,
accessible from your browser without any downloads or configuration.
THIS IS SO GREAT FOR APPS AND
SERVICES!!!
BUT... WHAT ABOUT DATABASES ???
Building cloud-native applications with a container-
native SQL database in the public sector
The Database’s
New Role
AppAppApp
Storage
Query Processing
Durability
SQL Parser
SQL Optimizer
Transaction
Handling
TransactionEngine (TE)
Storage Manager (SM)
TE TE
SM SM
AppApp
Query
Processing
Storage
Traditional RDBMS Distributed RDBMS with NuoDB
Copyright © 2018 NuoDB
DISTRIBUTED RDBMS FOR A CLOUD PLATFORM
18
DISTRIBUTED RDBMS
DistributedRDBMS: The benefits of
Traditional Databases & The Cloud
SQL
Logic
ACID:
data
consistency
Zero
Downtime
Elastic
scale-out
SQL
database
abstraction
Virtualization,
Commodity
& Cloud
Traditional RDBMS
NoSQL
SQL
Logic
ACID:
data
consistency
SQL
database
abstraction
Zero
Downtime
Elastic
scale-out
Virtualization,
Commodity
& Cloud
Copyright © 2018 NuoDB
TETE TE
SM SM
NUODB ARCHITECTURE IN PRACTICE
App App App
+ Fully redundant
+ Elastically scalable
+ Continuously available
+ Active/active benefits
across single or multiple
data centers
Available processes for
scale out
SM
Storage Manager(SM)
Transaction Engine (TE)TE
Scale-out adds
Copyright © 2018 NuoDB
Dynamic Scale-out Memory-centric
HA – Multi-Fault Resilience
DIFFERENTIATING CAPABILITIES
20
Multi-Master Across Data Centers
USING NUODB
Copyright © 2018 NuoDB
Transformation initiatives driving:
+ Migration to the cloud
▪ From Oracle
+ Strong internal demand to:
▪ Reduce cost
▪ Increase speed to market
Current configuration:
+ NuoDB is the database
▪ AWS
▪ HA
▪ Lower TCO
EXAMPLE APPLICATION
22
OPENSHIFT WITH NUODB
Copyright © 2018 NuoDB
Traditional RDBMS
runs outside OCP
OCP-native NuoDB
runs as a set of containers forming a
single logical database
RDBMS
OCP OCP
24
TRADITIONAL vs. OCP-NATIVE RDBMS
Copyright © 2018 NuoDB
Developer agility
+ Self-service deployment, usage and operation (CD/CI)
+ Database independence to allow decoupled schema
changes
Improved performance
+ Full read/write scale out to address performance
bottlenecks
+ Integrated in-memory cache for low latency access
Lower operational costs
+ Automated operations
+ Server agnostic to be able to utilize any server in the cluster
+ Built-in HA/DR for a simpler solution
25
CONTAINER-NATIVE DATABASE ADVANTAGES
Copyright © 2018 NuoDB
TE TE TE TE TE
SMSM
TE TE TE TE TE
SMSMSM SM
TE TE TE TE TE
SMSM
26
Web/Mobile Application
+ Read dominated
+ Scale-out compute tier
PERFORMANCE SCALE OUT
WITH NUODB CONTAINERS
OLTP Application
+ Mixed read/write
+ Scale-out compute & storage tiers
Logging Application
+ Insert dominated
+ Scale-out storage tier
HTAP Application
+ Mixed read/write
+ Dedicated analytical nodes
TE TE
SMSMSM SM
Copyright © 2018 NuoDB
ALWAYS-ON WITH NUODB CONTAINERS
27
Process/host faults Storage faults Network faults
SM
A
TE
A
TE
A
TE
SM SM
Application ServicesA Transaction Engine (TE)TEStorage Manager (SM)SM
A
SM
TE
A
TE
A
TE
A
SM
TE
A
TE
A
TE
SMSM SM SM
Copyright © 2018 NuoDB
LEARN MORE @NuoDB.com
28
Building Cloud-Native Applications with a Container-Native SQL Database in the Public Sector

Building Cloud-Native Applications with a Container-Native SQL Database in the Public Sector

  • 1.
    Building cloud-native applicationswith a container- native SQL database in the public sector September 2018
  • 2.
    TODAY’S AGENDA ● RedHat & NuoDB Intros Red Hat ● Introduction to Cloud Native App Delivery ● Containers and Container Platforms ● OpenShift Overview NuoDB ● NuoDB Overview ● Use Cases ● NuoDB & OpenShift
  • 3.
    SOFTWARE DEVELOPMENT ISEVOLVING Architecture Infrastructur e Monolith N-Tier Microservices Datacenter Hosted Hybrid Process Waterfal l Agile DevOps
  • 4.
    WHAT DO AGENCIESNEED? DELIVER FASTER DEVELOP FASTERCHANGE FASTER INNOVATE FASTER Increase the speed of app delivery of existing and new applications to your customers Increase the speed of developing new applications to address new business opportunities Increase the speed of change by modernizing applications to adapt to the markets and customers Increase the speed of innovation across the organization to the pace that your business demands CLOUD-NATIVE APP DEVELOPMENT
  • 5.
    Service-based Containers DevOpsAPI-driven WHATIS CLOUD-NATIVE APP DEV? IT’S A MODERN APPROACH TO BUILDING AND RUNNING APPLICATIONS Architecture Communication Infrastructure Process
  • 6.
    A DIGITAL EVOLUTION Server-centricContainer-centric Scale up vertically Scale out horizontally Tightly coupled monolith Loosely coupled and service-based Infrastructure-dependent Portable across infrastructure Waterfall, semi-agile, and long delivery Agile and continuous delivery Local IDEs & developer tools Cloud-based, intelligent tools Siloed dev, ops, QA, and security teams DevSecOps, NoOps, and collaboration TRADITIONAL CLOUD-NATIVE
  • 7.
    A BIT MOREON CONTAINERS CONTAINER BENEFITS FOR MULTIPLE TEAMS DEVELOPERS IT OPERATIONS BUSINESS LEADERS ● CLOUD-NATIVE APPS ● SIMPLIFY PACKAGING ● SIMPLIFY TESTING ● CHOICE OF LANGUAGE/FRAMEWORK ● CONSISTENT APP DEPLOYS ● AUTOMATED APP DEPLOYS ● AUTOMATED ROLLBACK ● IMPROVED APP PERFORMANCE ● MULTI-CLOUD CONSISTENCY ● ENABLE DEVOPS CULTURE ● ENABLE HYBRID CLOUD ● REDUCE VM LICENSING COSTS ● ACCELERATE APP-DEV CYCLES CONTAINERS Package all app dependencies Integrated in Linux OS Fully Open Source Secure Isolation of Applications Eliminates need for VM Hypervisor INFRASTRUCTURE LINUX HOST (KERNEL) Container App Container App Container App Container App
  • 8.
    I CONTAINERS (most developersdo) BUT SCALE BRINGS COMPLEXITY
  • 9.
    Scheduling Decide where todeploy containers KUBERNETES MAKES IT EASIER Lifecycle and health Keep containers running despite failures Discovery Find other containers on the network Monitoring Visibility into running containers Security Control who can do what Scaling Scale containers up and down Persistence Survive data beyond container lifecycle Aggregation Compose apps from multiple containers
  • 10.
    KUBERNETES IS THECONTAINER ORCHESTRATION STANDARD OTHERORCHESTRATORS (Cloud Foundry Diego, Nomad, Blox, etc.) 2 YEARS AGO Fragmented landscape TODAY Kubernetes consolidation OTHER ORCHESTRATORS Red Hat bet early on Kubernetes. It has now become the dominant orchestration ecosystem
  • 11.
    BUT THERE’S MORETO A FULL STACK CONTAINER PLATFORM Developer Productivity Build Automation, Image Streams, CI/CD Kubernetes Red Hat Enterprise Linux or Red Hat CoreOS Automated Operations Lifecycle Mgmt App Monitoring Infra Monitoring Service Cat/Operators etcd, Prometheus, Red Hat Middleware, ISVs Cluster Services Metering/Chargeback, Registry, Logging, Metrics CaaS PaaSBest Operator Experience Best Developer Experience Ops & Dev Consoles Install / Upgrade Security / Auth Network / CNI Storage / CSI
  • 12.
    200+ validated integrations 100sof defect and performance fixes 9 year enterprise lifecycle management Security fixes Middleware integration (container images, storage, networking, cloud services, etc) Certified Kubernetes OPENSHIFT IS KUBERNETES FOR THE ENTERPRISE Kubernetes Release OpenShift Release 1-3 months hardening
  • 13.
    LEARN.OPENSHIFT.COM Interactive Learning Scenariosprovide you with a pre-configured OpenShift instance, accessible from your browser without any downloads or configuration.
  • 14.
    THIS IS SOGREAT FOR APPS AND SERVICES!!! BUT... WHAT ABOUT DATABASES ???
  • 15.
    Building cloud-native applicationswith a container- native SQL database in the public sector
  • 16.
  • 17.
    AppAppApp Storage Query Processing Durability SQL Parser SQLOptimizer Transaction Handling TransactionEngine (TE) Storage Manager (SM) TE TE SM SM AppApp Query Processing Storage Traditional RDBMS Distributed RDBMS with NuoDB
  • 18.
    Copyright © 2018NuoDB DISTRIBUTED RDBMS FOR A CLOUD PLATFORM 18 DISTRIBUTED RDBMS DistributedRDBMS: The benefits of Traditional Databases & The Cloud SQL Logic ACID: data consistency Zero Downtime Elastic scale-out SQL database abstraction Virtualization, Commodity & Cloud Traditional RDBMS NoSQL SQL Logic ACID: data consistency SQL database abstraction Zero Downtime Elastic scale-out Virtualization, Commodity & Cloud
  • 19.
    Copyright © 2018NuoDB TETE TE SM SM NUODB ARCHITECTURE IN PRACTICE App App App + Fully redundant + Elastically scalable + Continuously available + Active/active benefits across single or multiple data centers Available processes for scale out SM Storage Manager(SM) Transaction Engine (TE)TE Scale-out adds
  • 20.
    Copyright © 2018NuoDB Dynamic Scale-out Memory-centric HA – Multi-Fault Resilience DIFFERENTIATING CAPABILITIES 20 Multi-Master Across Data Centers
  • 21.
  • 22.
    Copyright © 2018NuoDB Transformation initiatives driving: + Migration to the cloud ▪ From Oracle + Strong internal demand to: ▪ Reduce cost ▪ Increase speed to market Current configuration: + NuoDB is the database ▪ AWS ▪ HA ▪ Lower TCO EXAMPLE APPLICATION 22
  • 23.
  • 24.
    Copyright © 2018NuoDB Traditional RDBMS runs outside OCP OCP-native NuoDB runs as a set of containers forming a single logical database RDBMS OCP OCP 24 TRADITIONAL vs. OCP-NATIVE RDBMS
  • 25.
    Copyright © 2018NuoDB Developer agility + Self-service deployment, usage and operation (CD/CI) + Database independence to allow decoupled schema changes Improved performance + Full read/write scale out to address performance bottlenecks + Integrated in-memory cache for low latency access Lower operational costs + Automated operations + Server agnostic to be able to utilize any server in the cluster + Built-in HA/DR for a simpler solution 25 CONTAINER-NATIVE DATABASE ADVANTAGES
  • 26.
    Copyright © 2018NuoDB TE TE TE TE TE SMSM TE TE TE TE TE SMSMSM SM TE TE TE TE TE SMSM 26 Web/Mobile Application + Read dominated + Scale-out compute tier PERFORMANCE SCALE OUT WITH NUODB CONTAINERS OLTP Application + Mixed read/write + Scale-out compute & storage tiers Logging Application + Insert dominated + Scale-out storage tier HTAP Application + Mixed read/write + Dedicated analytical nodes TE TE SMSMSM SM
  • 27.
    Copyright © 2018NuoDB ALWAYS-ON WITH NUODB CONTAINERS 27 Process/host faults Storage faults Network faults SM A TE A TE A TE SM SM Application ServicesA Transaction Engine (TE)TEStorage Manager (SM)SM A SM TE A TE A TE A SM TE A TE A TE SMSM SM SM
  • 28.
    Copyright © 2018NuoDB LEARN MORE @NuoDB.com 28