openshift 구축사례로 이해하는 paas container in production · open source enterprise grade...

28
Container in Production : Openshift 구축사례로 이해하는 PaaS Jongjin Lim Specialist Solution Architect, AppDev [email protected]

Upload: others

Post on 14-Sep-2019

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Container in Production : Openshift 구축사례로 이해하는 PaaS

Jongjin LimSpecialist Solution Architect, [email protected]

Page 2: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

● Why Containers?

● Solution : Red Hat Openshift Container Platform

● Enterprise Reference

Agenda

Page 3: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

The ProblemApplications require complicated collaboration during installation and integration every time they are deployed.Image: Manually Loading Ships 1921

Page 4: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

What About Virtualization?

Cargo holds help, but you still have to load the ship manually

Page 5: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

What about Configuration Management

Alone, it’s just, better boxes, bags, barrels, crates and forklifts

Page 6: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

The solutionContainerize

Adopting a container strategy will allow applications to be easily shared and deployed.

Page 7: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

● Sandboxed application processes on a shared Linux OS kernel

● Simpler, lighter, and denser than virtual machines

● Portable across different environments

● Package my application and all of its dependencies

● Deploy to any environment in seconds and enable CI/CD

● Easily access and share containerized components

Sys-Admins / Ops Developers

It Depends on Who You Ask

What Are Containers?

Page 8: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

● Enable efficiency and automation for microservices, but also support traditional applications

● Enable faster and more consistent deployments from Development to Production

● Enable application portability across 4 infrastructure footprints: Physical, Virtual, Private & Public Cloud

Containers - An Evolution in Application Deployment

Page 9: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

What are Linux Containers?

Page 10: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Self-Service

Multi-language

Automation

Collaboration

Seamless

Standards-based

Web-scale

Open Source

Enterprise Grade

Secure

Critical features for both Dev and Ops

Page 11: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Trusted Container OS

Trusted by Fortune Global 500 companies

Container Runtime & Packaging(Docker)

Enterprise Container Host

Red Hat Enterprise LinuxAtomic Host

Page 12: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Container Runtime & Packaging(Docker)

Enterprise Container Host

Red Hat Enterprise LinuxAtomic Host

Enterprise Kubernetes

CloudformsRed Hat StorageInfrastructure Automation & Mg

Networking Storage Registry Logs & Metrics

Security

Container Orchestration & Cluster Management(kubernetes)

Page 13: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Container Runtime & Packaging(Docker)

Enterprise Container Host

Red Hat Enterprise LinuxAtomic Host

Enterprise Container Platform

Source-2-ImageApplication Pipelines

Dev ToolsOpenShift Application Lifecycle Management(CI/CD)

Build Automation Deployment Automation

Service Catalog(Language Runtimes, Middleware, Databases)

Self-Service

Infrastructure Automation & Cockpit

Networking Storage Registry Logs & Metrics

Security

Container Orchestration & Cluster Management(kubernetes)

Page 14: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

JBOSS EAPJBOSS DATA GRID

JBOSS DATA VIRTUALIZATION

JBOSS AM-QJBOSS BRMSJBOSS BPMJBOSS FUSE

RED HAT MOBILE3 Scale

Container

BusinessAutomation

Container

Integration

Container

Data &Storage

Container

Web &Mobile

Traditional, Stateful, and Microservices-based Apps

OpenShift Application Lifecycle Management(CI/CD)

Build Automation Deployment Automation

Service Catalog(Language Runtimes, Middleware, Databases)

Self-Service

Infrastructure Automation & Cockpit

Networking Storage Registry Logs & Metrics

Security

Container Orchestration & Cluster Management(kubernetes)

Container Runtime & Packaging(Docker)

Enterprise Container Host

Red Hat Enterprise LinuxAtomic Host

Page 15: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Application Architecture● Shift from monolithic applications to

microservices

● Independently deployable and updatable, limited dependencies

● Optimized for agility & accelerated time to market

Monolith

N-Tier

Microservices

Page 16: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Platform Infrastructure

● Shift from virtualization to scale-out cloud infrastructure

● Rapid growth in public cloud usage for enterprises

● Hybrid cloud deployments span private & multiple public clouds

Datacenter

Hosted

Hybrid

Page 17: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Development Process

● Shift to more agile development and deployment processes

● Increased collaboration between Development & Operations

● Move from Continuous Integration to Continuous Deployment

Waterfall

Agile

DevOps

Page 18: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Transform to Next-Gen

● Implement full-stack Cloud(using Red hat Cloud Suite)

● Establish standard migration process Monolithic to MSA

● Prepare 4th Industrial Revolution Platforms

DevOps

Microservices

Hybrid

PaaS(Red Hat Openshift Container Platform)

Management(Red Hat CloudForms)

OS(Red Hat Enterprise Linux)

IaaS(Red Hat OpenStack Platform)

Storage(Red Hat Ceph Storage)

Red Hat Cloud Suite

Page 19: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Customer Wins - Purpose

Java

RHEL

RHEV

python

Cent

Openstack

Java

Windows

Hyper-V

PHP

RHEL

Physical

.NET

Windows

SC

Red Hat OpenStack Platform

Red Hat Openshift Container Platform

JavaJava .NETpython PHP

Page 20: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Customer Wins - Overview

10 People 6 months

Page 21: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Customer Wins - Architecture

Red Hat CloudForms

Front Portal

Red Hat OpenStack Platform Red Hat Ceph Storage NFS

API Gateway

Red Hat Openshift Container PlatformA Zone B Zone C Zone

DEV DEV

DEV

PROD PROD PROD

PROD

Page 22: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Customer Wins – Next Architecture

Front Portal

Red Hat Gluster Storage

IDC #1A Zone

B Zone C Zone

DEV

DEV

DEV

PROD PROD

PROD

PROD

IDC #2A Zone

B Zone

DEV

DEV

PROD

PROD

Page 23: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Customer Wins – DevOps

Code

Build

Deploy

Container Image

Registry

Page 24: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Customer Wins – Micro Service Architecture

PortalPortalmicroservi

ce

REST API

PortalPortalmicroservi

ce

REST API

PortalPortalmicroservi

ce

REST API

PortalPortalmicroservi

ce

REST API

PortalPortalmicroservi

ce

REST API

publisher

publisher

subscriber

subscriber

subscriber

Message Queue

Client API Gateway AuthorizationServer User StoreAccess Token

Access Token

JWT

JWT

JWT

JWT

CacheMessage Queue

Orchestrations Management Data Virtualization

Page 25: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Customer Wins – Cost Reduction

Infra Application

19%OVER

630MAVG

Page 26: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

Customer Wins – Agility

Real Auto-Scaling

https://www.youtube.com/watch?time_continue=308&v=HjYNNiW-f7A

Page 27: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

SUMMARY

Container

Red Hat Openshift Container Platform

MSA + DevOps

Page 28: Openshift 구축사례로 이해하는 PaaS Container in Production · Open Source Enterprise Grade Secure Critical features for both Dev and Ops. Trusted Container OS Trusted by

THANK YOU

Jongjin LimSpecialist Solution Architect, [email protected]