ibm cloud forum 2020
TRANSCRIPT
Application Modernization - 4 types of approach with practical use cases
โHeesoo KimAssociate Partner
2IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
3IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
ํด๋ผ์ฐ๋๋กํฅํ๋๊ธธ์์ฌ๋ฌ๋ถ์๋ฆฌ๋๋ก์ด๋๊ฒ์ ๋๋ค.
์ธ๋ถ๊ณ ๊ฐ
๊ฒฝ์์
๋ด๋ถ๊ณ ๊ฐ
Cloud Native ์ญ๋ํ๋ณด
๋น์ฆ๋์ค๋ชฉ์ ์๋ถํฉํ๋์ ๊ธฐ์ ๋์ ๊ธฐ๋
Position for the future
โข Innovate
โข Speed to Market
โข Discover
โข Scale
Enable your agility and readiness
โข Efficiency
โข Risk and Security
โข Resiliency
โข Lower Costs
Market Challenge
Multiple cloud
์ฌ์ฉ
94%
1๊ฐ์ด์์
Public cloud ์ฌ์ฉ
67%
A Real World Look at Multicloud
Cloud๋ก
์ํฌ๋ก๋ ์ ํ
20%
Movement between clouds
Connectivity between clouds
Consistency of management
๋๋์ ์๋น์ค์ ๋ํ ๊ธฐ๋
4IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
๊ฐ์ํ๋ํด๋ผ์ฐ๋๋ณํ์์คํํ๋๋ฐ์ค์ํ์์
โHow can I thinkdifferently and acceleratethe speed of innovationat my company?โ
โMy business is not agile enough because I have apps my technical team says I canโtchange quickly.โ
โCloud management and security is complicated with multiple cloud applications, providers and other IT environments. How can I get better visibility and control to realize outcomes from my cloud strategy?โ
โAm I overpaying formy existing infrastructureinvestments and how canI improve returns?โ
Optimize IT to accelerate digital transformation.
Modernize applicationsto increase agility.
Build cloud-native applications toaccelerate innovation.
Manage IT to orchestrateand simplify.
Common challenges faced in the journey to cloud
Hybrid
Work across public,private and traditional environments.
Multicloud
Adopt virtually any and allclouds that are right foryour business
OpenBuild once, deploy anywherewith portability
Secured
Realize greaterreliability and continuous updates to match dynamic environments
ManagedGain consistent service-level support across cloud environments
5IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
Hybrid & Multi-Cloud Journey ์ง์ - Red Hat & IBM
OpenShift offers one uniform platform across public and private clouds for full portability, standardization and adoption ease
Why Red Hat OpenShift?
Hyb
rid
Clo
ud
Multicloud
Traditional workloads
IBM + Red Hat
AWS Outposts
/Azure Stack
/ Google Anthos
IBM Public Cloud OpenShift optimized
AWS/Azure/Google cloud OpenShift
IBM Private CloudOpenShift optimized
Limited feature support
Limited connectivity
in storage, data
movement, Connectivity
confined to products
โปExtensive multicloud
governance / mgmt.
Public
Cloud
Private
Cloud
Traditional On-
premises
AWS,Microsoft, Google
Cluster servicesmonitoring, showback,
registry, logging
Application servicesmiddleware, functions, ISV
Service mesh
Developer servicesdev tools, automated
builds, CI/CD, IDE
Automated operations
Enterprise Linux CoreOS
certifiedContainer
Managemen
t not
sufficient
before
Fully integrated
and automated
Architecture
ContainerLinux Kubernetes
Seamless Kubernetes
deployment on any
environment
Fully automated
installation, from
cloud
infrastructure to
OS to
application
services
One click platform and
application
updates
Auto-scaling of
cloud resources
6IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
IBM ์ด์ ๊ณตํ๋ 6์ฃผ๊ฐ์ enablement ํ๋ก๊ทธ๋จ: Co-creates, co-executes, and co-operates
โข Confirm Use Cases and scope for engagement
โข Confirm Apps, Integrations and Processes in-scope
Perform Containerization Viability Assessment
Cloud Pak / OpenShift viability and Enablement Plan
Provision necessary software / capacity
Define end state vision / architecture
Demonstrate / leverage assets to develop design
Execute two 2-week Sprints to develop functionality incrementally
Refine end state vision / architecture
Perform light Application Assessment
Ad
viso
ry +
A
rch
itec
ture
MV
P /
B
uild
Week 1Day 1 Week 2 - 6
Final ReviewConfirm POC Approach Sprint Playback Sprint playback1 2
Provision Red Hat Open Shift Sandbox
Identify Applications and Use Cases for
POCs
Assess Current State (for containerization /
modernization)
Perform Cloud Pak / OpenShift viability and define plan to deliver
POC
Execute two 2-week sprints to deliver POC using IBMโs assets and accelerators
Perform playbacks and define roadmap
for steps
Approach, Dependencies
and Assumptions
IBM Services & Red Hat OpenShift Benefits
Cost SavingsUp to 30% reduced operating expenses
Faster developmentUp to 50% faster time to market than traditional methods
Accelerated Hybrid Cloud Journeyacceleration of migrationand modernization
Culture promoting agility and continuous learning
7IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
Use-Case Driven Delivery Model โ 4 Types
Potential Scenarios Design and build on OpenShift / IBM Cloud Paks
Greenfield Apps
DevOps
Integration
Automation / Rules
Application Modernization
(containerization)Scale of modernization transformation
Modernization /containerization use case
Journey to public cloud using cloud native approach
DevOps enablement
integration / API enablement use case
Lift n Shift with minimal re-factoring of workloads
Modernized applications (1-2) running in containers on fully managed OpenShift (CICD /
Ops)
New microservices (1-2) run serverless in containers on fully managed OpenShift (CICD /
Ops), with Server Meshing
Modernized APIs (1-2) with underlying event based architecture, running in containers on
OpenShift (CICD / Ops)
Fully provisioned DevOps pipeline, along with DevOps enabled applications running in
containers on OpenShift
Deliverables Summaryโข Light Application Assessmentโข Working POCโข Cloud Value Modelโข Next steps to execute the end state
vision
Desired Outcomesโข Demonstrate benefits of Red Hat
OpenShift as the container platform for Hybrid Multi-cloud
โข Prove value of the IBM Services assets to accelerate, simplify and standardize cloud and application modernization
1
2
3
4
Application Modernization - POC Case: ์ฑ๋์ดํ๋ฆฌ์ผ์ด์ ์์ปจํ ์ด๋๊ธฐ๋ฐ์๋ง์ดํฌ๋ก์๋น์ค๋ก์ ํ๊ฐ๋ฐโ
8IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
9IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
์ฑ๋์ดํ๋ฆฌ์ผ์ด์ ์๋ง์ดํฌ๋ก์๋น์ค๋ก์ ํํ์ผ์ด์คPoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ
Application Background
โข PoC ์ํ๊ธฐ๊ฐ : 2020.04.20 ~ 2020.05.15
โข Why PoC : ์ํ ๊ณ ๊ฐ์ฌ์ ๋น๋๋ฉด ์ฑ๋ ์์คํ ์ Cloud Native ํ๊ฒฝ์ผ๋ก์ ์ ํ์ ์ ์ฉํ์ฌ ์ํ์ Cloud Transformation์ ๋ต์ ๋ฐฉํฅ์ฑ์ ๋ง์ถ๊ธฐ ์ํด ์งํ
โข ๊ตฌํ ๋ฒ์๋ 2์ฃผ๊ฐ ๊ตฌํ ๊ฐ๋ฅํ ๋ฒ์๋ก MSA ์๋ณํ์ฌ ๊ตฌํ
PoC (Proof of Concept) ๋ฒ์
โข ๋ง์ดํฌ๋ก์๋น์ค ๊ฐ๋ฐ โ ํด๋ผ์ฐ๋์ ์ต์ ํ๋ ๊ฐ๋ฐํ๋ ์์ํฌ ์ฌ์ฉ, ๋ก๊ทธ์ธ ์๋น์ค ๊ตฌํ, ๋ง์ดํฌ๋ก์๋น์ค ๊ตฌํ, ์๋ก์ด ๋์์ธ ์ ์ฉ
โข ์ปจํ ์ด๋ํ ์ ์ฉ โ ๋ง์ดํฌ๋ก ์๋น์ค ๊ธฐ๋ฐ์์ํคํ ์ฒ๊ตฌ์ฑ, ์๋น์ค ๋งค์ฌ ์ ์ฉ, Scale-Out ๊ตฌ์ฑ
โข CI/CD ์ ์ฉ โ ๊ณ ๊ฐ์ฌ DevOps CI/CD์ ์ฉ
PoC
โข PoC ์ํํ๋ณธํ๋ก์ ํธ์ํ์์ํํ์์์ฐ/์ผ์ ์ฐ์
โข ๋ณธํ๋ก์ ํธ์ํ์์
๋ก๊ทธ์ธ ํ์จ์กฐํ์๊ธ๊ณ์ข์กฐํ
์๊ธ์ํ์ ๋ณด์กฐํ
3 Use Case
PoC ๋์๊ธ์ํ์กฐํ, ์๊ธ๊ณ์ข์กฐํ, ํ์จ์กฐํ 3๊ฐ์ง์Use Case๋ฅผ๊ฐ๊ณ ๋ง์ดํฌ๋ก์๋น์ค๋ฅผ๊ตฌํํจ
โข PoC ์ํ์์ํด use case ๋ฐ์ธํ๋ผํ๊ฒฝ๊ตฌ์ถ์์ํ์ฌ์ ํ์
10IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
PoC ์ํ๋ฒ์ > As-is ์ํคํ ์ฒ & SW ๊ตฌ์กฐPoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ
โข ๋ณ๋์ ๋ถ๋ฆฌ๋ ์์คํ ๊ตฌ์ฑ์์ด ๊ตญ๋ด ๊ธฐ์ ๋ฑ ํน/๋ฑ ํน ์์คํ ๊ณผํตํฉํ์ฌ ์ฌ์ฉํ๊ณ ์์
DMZChannel Internal
PC ์ฌ์ฉ์
Mobile ์ฌ์ฉ์
๊ธฐ์ ๋ฑ ํนํ๋ฉดWAS
๊ธฐ์ ๋ฑ ํนWEB
๋ฑ ํนWEB
๋ฑ ํนํ๋ฉดWAS
F/W
์ ๋ฌดWAS
(CBW)
๊ธ๋ก๋ฒ
๊ธฐ์ ๋ฑ ํน DB
Global
MCI
(AnyLink)
A
ROC
B
ROC
C
ROC
D
ROC
๊ธ๋ก๋ฒ๊ธฐ์ ๋ฑ ํน
DB
Global
Local CenterF/W
As-is ์ํคํ ์ฒ
Unix
Java Virtual
Machine
Weblogic
Unix
Java Virtual
Machine
Weblogic
A
Instanc
e
A
Instanc
eB
Instanc
e
B
Instanc
e
Clustering
Clustering
Instance
A Tag
B/L JSP Front JSP
Java Bean
A Framework (Oracle JDK 1.5)
Method Call
APP Server APP Server
As-is SW ๊ตฌ์กฐ
11IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
PoC ์ํ๋ฒ์ > To-be ์ํคํ ์ฒ & SW ๊ตฌ์กฐPoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ
Linux
Docker Engine
Linux
Docker Engine
Container(POD)
OpenShift(Kubernetes)
Clustering
Container
Vue.js
Front HTML
OpenJDK 8
Container
B/L Spring MVC
OpenJDK 8
REST API
APP
Server
APP
Server
Controller
Service
Model
DMZChannel
SSL
๊ฐ์๊ธฐ
ํด์ธํ๋ฉดWEB
SERVER
Internal
๊ธ๋ก๋ฒ
MCI
GSS
ROC
Istio
GW
(In
gre
ss)
Data Flow
Control + Metric Flow
OCP Cluster
F/WF/W
PC ์ฌ์ฉ์
Envoy Proxy
์๊ธ์ํ์กฐํ
Frontend MSA
Envoy Proxy
์๊ธ์ํ์กฐํ
Backend MSA
Envoy Proxy
์๊ธ๊ณ์ข์กฐํ
Frontend MSA
Envoy Proxy
์๊ธ๊ณ์ข์กฐํ
Backend MSA
Envoy Proxy
ํ์จ์กฐํ
Frontend MSA
Envoy Proxy
ํ์จ์กฐํ
Backend MSA
ReplicaSet=3
Pilot Citadel Mixer
Istio Control Plane
API
๊ฒ์ดํธ์จ์ด
Istio
GW
(In
gre
ss)
GSS
์ฑ๋๊ณ
To-be ์ํคํ ์ฒ To-be SW ๊ตฌ์กฐ
โข IaaS ์PaaS๊ฐ ๊ฐ์ด ์ด์๋๋ Hybrid ๋ฐฉ์โข Functional ๊ธฐ๋ฅ ์ธ์๋ Non-Functional ๊ธฐ๋ฅ ์๊ฑด ๋ฉด๋ฐํ ๊ฒํ ๋ฐ
์ค๊ณ ํ์
โข ๊ฐ๋ฐ ํ๋ ์์ํฌ ๊ตฌ์กฐ๋ฅผ A Framework ์์ Vue.js + Spring Boot
๊ธฐ๋ฐ์ผ๋ก ๋ณ๊ฒฝํ์ฌ ๊ฐ๋ฐ์ ์ํํจ
12IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
PoC ์ํ๊ฒฐ๊ณผ > CI/CD Toolchain๋ฐ API ๋ฌธ์ํ๋ฐํ ์คํธ๋ฐฉ๋ฒ
PoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ
K8s Clu
ster
๊ฐ๋ฐ์
RepositoryBuild
Image
Test App
Build App
Build docker
image
Push docker
image
Deploy App
Docker
Registry
Docker
Image
Jar
Orchestratio
n
Integration
Code
Change
๋ณ๋์ ๋ถ๋ฆฌ๋ ์์คํ ๊ตฌ์ฑ์์ด ๊ตญ๋ด๊ธฐ์ ๋ฑ ํน/๋ฑ ํน ์์คํ ๊ณผ ํตํฉํ์ฌ ์ฌ์ฉํ๊ณ ์์
Jenkins ๊ธฐ๋ฐ์ Toolchain ๊ตฌ์ฑ
โข API ๋ฌธ์๋ฅผ ์ฝ๋๋ด์์์ฃผ์๊ธฐ๋ฅ์์ด์ฉํด์์ฑํ๊ณ , ์นํ์ด์ง๋กํ์ธํ๋ ๊ธฐ๋ฅ์์ ๊ณตํ๋ํ๋ ์์ํฌ
โข ์์ค์ฝ๋๋น๋์ API ๋ฌธ์ ์๋ ์์ฑ๋๊ธฐ ๋๋ฌธ์๋ณ๋์๋ฌธ์์์ ์์ด๊ฐ๋ฐ์์ง์คํ ์์์
โข API ํ ์คํธ๋ฅผ์ํด ๋ฐ์ดํฐ๋ฅผ์ ๋ ฅํ๊ณ ๋ฒํผ์ํด๋ฆญํ๋๊ฒ์ผ๋ก ์ค์ ํต์ ์๋ณด๋ด๊ณ ์๋ต์ ๋ฐ์ ์์๋ ๊ธฐ๋ฅ ์ ๊ณต
โข ๊ฐ๋ฐํด์ Plugin ๋ฐฉ์์ผ๋ก ์ง์ํ๊ธฐ๋๋ฌธ์์ฌ์ฉํ๊ธฐ๊ฐ์ฌ์
Swagger๋ฅผ ์ด์ฉํ์ฌ API ๋ฌธ์ํ ๋ฐํ ์คํธ๋ฅผ ์ํํจ
API ๋ฌธ์ํ ๋ฐํ ์คํธ ๋ฐฉ๋ฒ
๋๋ถ๋ฅ ์๋ถ๋ฅ ๊ตฌ์ฑํญ๋ชฉ
๊ฐ๋ฐํ๊ฒฝ
๊ฐ๋ฐํ๊ฒฝ์ ๋ต โข Open Source ๊ธฐ๋ฐ์ S/W ์ฌ์ฉ
๊ฐ๋ฐํ๋ ์์ํฌ โข Spring Boot 2.1.6 ์ฌ์ฉ
UI ๊ฐ๋ฐํ๋ ์์ํฌ โข Vue.js
๊ฐ๋ฐ๋๊ตฌโข STS(Springboot Tool Suite) 4.6 *์ดํด๋ฆฝ์ค
๊ธฐ๋ฐ
๊ฐ๋ฐ์์ค์ ์ฅ์ โข Git ๊ธฐ๋ฐ์ Bitbucket ์ฐ๋
๋น๋ํ๊ฒฝ โข Maven 4.6 ์ฌ์ฉ
ํ๋ก์ ํธ๊ตฌ์ฑ โข ์ด 6๊ฐ์๋ฉํฐํ๋ก์ ํธ๊ตฌ์ฑ
Library ๋ฐ Docker ์ด๋ฏธ์ง์ ์ฅ์
โข Nexus ๊ตฌ์ฑ
๋ก๊ทธ์ ์ฑ โข Log4J
๊ฐ๋ฐ๋ฐฉ์
์ค์ ํ์ผํ์ผ๊ด๋ฆฌ โข OCP Configmaps ํ์ฉ
์ค์ ํ์ผ๊ด๋ฆฌ์ ์ฑ โข IP ๋ฐ Port ์ฌ์ฉ๋ถ๊ฐ, ํ๋์ฝ๋ฉ๊ธ์ง
ํ๋ก์ ํธ๊ด๋ฆฌ๋๊ตฌ โข JIRA, Confluence ํ์ฉ
Service Mesh ๊ตฌํโข ์ดํ๋ฆฌ์ผ์ด์ Layer์์๊ตฌํ์์ด์ธํ๋ผ์๊ตฌ์ฑ๋
Istio ์ฌ์ฉ
MCI/EAI ์ฐ๋โข JSON ํํ์Mockup(echo file) ํ์ฉ *Global MCI
๊ฐ๋ฐ์งํ์ค
๊ฐ๋ฐ์ด์ํ๊ฒฝ
์ปจํ ์ด๋์ด๋ฏธ์ง โข Tomcat, Redis, MySQL
์ปจํ ์ด๋๋ณ์ฐจ๋ฑ์ต์ ์ฌ๋ถ
โข ์ปจํ ์ด๋๋ณ์ฐจ๋ณ์ต์ ๋ถ๊ฐ
ํ์๊ด๋ฆฌ๋ฐ๋ฐฐํฌ๊ด๋ฆฌ โข CI/CD Devops ์ฒด๊ณํ์ฉ
๋ฐฐํฌํ์ํ์ธ โข Jenkins ํ์ฉ
Istio ์ค์ โข Gateway, Circuit Breaker ๊ตฌ์ฑ
PoC ๊ฐ๋ฐํ๊ฒฝ
13IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
PoC ์ํ๊ฒฐ๊ณผ > Scenario ์์ฝPoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ
๋ง์ดํฌ๋ก์๋น์ค๋์๋ฐฉ์๋ฐ์ธ์ ๊ด๋ฆฌ
๋ง์ดํฌ๋ก์๋น์ค๊ฐ๋ฐํ๊ฒฝ๊ตฌ์กฐ๋ฐ๋ฐฐํฌ๋ฐฉ์
์ปจํ ์ด๋๊ธฐ๋ฐ์๋น์ค์Auto-Scaling
Istio ๊ธฐ๋ฐ์์๋น์ค๋ฉ์(Service Mesh)
Load Balancer(L4)
Redis
Openshift Platform
WAS #1 WAS #2
์ธ์ ์ธ์ Clustering
Load Balancer(L4)
MonoloithicService
Micro Service
Envoy Proxy
Service
Envoy Proxy
Service
Istio
HTTP, TCP
Redhat Openshift Environment
์๋น์ค์ ์๋น์ค ์ฌ์ด์ ๋ฐ์ํ๋ํ๋๋ค์ ๋ํด ๋คํธ์ํฌ ๊ตฌ๊ฐ์์Authentication, Tracing, Logging,
Monitoring ํ ์ ์๋ ๊ธฐ์
Istio?
14IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
๋ง์ดํฌ๋ก์๋น์ค๋์๋ฐฉ์์์ค๋ช ํ๊ณ ๋ง์ดํฌ๋ก์๋น์ค๋ฐฉ์์์์์ธ์ ๊ด๋ฆฌ๋ฐฉ์์๋ํด๊ฒ์ฆํจ
PoC ์ํ๊ฒฐ๊ณผ > ๋ง์ดํฌ๋ก์๋น์ค๋์๋ฐฉ์๋ฐ์ธ์ ๊ด๋ฆฌ Scenario
PoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ
๋ฐฑ๊ทธ๋ผ์ด๋ ์ค๋ช
WAS #1 WAS #2
์ธ์ ์ธ์ Clustering
1. ์ธ์ ์ด๊ณต์ ๋์ด์์ง์๋ค๋ฉด WAS #1์์ ์ํ์ฌ์ฉ์๊ฐ WAS #2์์ ์ํ ๊ฒฝ์ฐ๋ก๊ทธ์ธ์ด๋์ด์์ง์๋ค๊ณ ํ์๋จ
2. ์ด๋ฅผํด๊ฒฐํ๊ธฐ์ํด์ WAS ํ๊ฒฝ์ค์ ์ IP๊ธฐ๋ฐ์์ค์ ์ํตํด์๋ฒ๊ฐ Clustering์๊ตฌ์ฑ
Load Balancer(L4)
Load Balancer(L4)
Redis
1. ์ปจํ ์ด๋์๋น์ค์๊ฒฝ์ฐ IP๊ฐ์๋๋๋ฉ์ธ๊ธฐ๋ฐ์ผ๋ก๋์์ด๊ธฐ๋๋ฌธ์์ปจํ ์ด๋์์๋ณ๋์์ค์ ์ํ ์์์
2. ์ปจํ ์ด๋๊ฐ๋์ ์ผ๋ก Scale-Out๋๋๋ผ๋ ๋ณ๋์์ค์ ์์ด Redis์์ ์ฅ์์์๋์ธ์ ์ ๋ณด๋ฅผ๊ณต์ ๋ฐ์์์์
3. Redis๊ฐํด๋ฌ์คํฐ๋ง์ง์์ํตํด Redis ์์ฒด์๋ถํ๋ฅผ๋ถ์ฐ์ํฌ์์์
Openshift Platform
Monolithic Service Micro Service
15IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
PoC ์ํ๊ฒฐ๊ณผ > ๋ง์ดํฌ๋ก์๋น์ค๊ฐ๋ฐํ๊ฒฝ๊ตฌ์กฐ๋ฐ๋ฐฐํฌ๋ฐฉ์ Scenario
PoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ
POC์์์ํํ์ดํ๋ฆฌ์ผ์ด์ ๊ตฌ์กฐ์๋ฐฐํฌ๋ฐฉ์์์ค๋ช ํ๊ณ ๋ง์ดํฌ๋ก์๋น์ค์๋ณ๊ฒฝ์ด๋ฐ์ํด๋๋ค๋ฅธ๋ง์ดํฌ๋ก์๋น์ค์์ํฅ์๋ฏธ์น์ง์๋๋ค๋๊ฒ์๊ฒ์ฆํจ
1. ์ดํ๋ฆฌ์ผ์ด์ ๊ตฌ์กฐ ๋ฐ ๋ฐฐํฌ๋ฐฉ์ ์ค๋ช
2. ์ค์ ๊ฐ๋ฐํด์ ๋์ ํ์จ์กฐํ ํ๋ก์ ํธ์์๋ฉ์์ง๋ฅผ ๋ณ๊ฒฝ
3. ์์ ๋ ์ ๋ณด๋ฅผ Commitํ ํ Jenkins์์ํ์จ์กฐํ Pipeline ๋น๋
4. Openshift์์ํฌ๋๊ฐ Build๋๋๊ฒ์ํ์ธํ ํ ํ์จ์กฐํ ์๋น์ค ํด๋ฆญํ์ฌ๋ฉ์์ง๊ฐ ๋ณ๊ฒฝ๋์๋์ง ํ์ธ
5. Kiali๋ฅผ ํตํด ์๋น์ค ํธ์ถ ํ๋ฆ ์ค๋ช
6. Swagger ํ ์คํธ ๋๊ตฌ ์ค๋ช
๋ฐฑ๊ทธ๋ผ์ด๋ ์ค๋ช ์์ฐ ์๋๋ฆฌ์ค
16IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
PoC ์ํ๊ฒฐ๊ณผ > ์ปจํ ์ด๋๊ธฐ๋ฐ์๋น์ค์ Auto-Scaling Scenario
PoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ
1. POD๊ฐ 1๊ฐ์ผ๋์ ์ ๋ณด ํ์ธ ( Deploy Config โ
POD ํ์ธ, Istio-Grafana์์ CPU ํ์ธ)
2. Target CPU ์ฌ์ฉ๋ฅ ์ 30%๋ก์ค์
3. Jmeter๋ฅผํ์ฉํ์ฌ CPU๋ฅผ 80%๊น์ง์ฆ๊ฐ
4. POD๊ฐ 3๊ฐ์ผ๋์ ์ ๋ณด ํ์ธ ( Deploy Config โ
POD ํ์ธ, Istio-Grafana์์ CPU ํ์ธ)
๋น์ ์์ ์ธํธ๋ํฝ์ฆ๊ฐ์๋์ํ๊ธฐ์ํด๋ฆฌ์์ค์ฌ์ฉ๋ฅ , ์ฌ์ฉ์์ง์ ๋ฉํธ๋ฆญ๋ฑ์๊ธฐ๋ฐ์ผ๋ก์๋์ผ๋ก Pod์๋ณต์ ๋ณธ์ด์ฆ๊ฐํ๋ Auto Scaling ๊ธฐ๋ฅ์๊ฒ์ฆํจ
๋ฐฑ๊ทธ๋ผ์ด๋ ์ค๋ช ์์ฐ ์๋๋ฆฌ์ค
17IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
PoC ์ํ๊ฒฐ๊ณผ > Istio ๊ธฐ๋ฐ์์๋น์ค๋ฉ์(Service Mesh) Scenario
PoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ
1. Service ์์ฒญ์๋ํ Connection pool ์ ์
2. ์ต๋ํ์ฑ์ฐ๊ฒฐ๊ฐฏ์์์ต๋์์ฒญ๋๊ธฐ์์ง์
3. ํ์ฉ๋์ต๋์์ฒญ์๋ณด๋ค๋ง์์์ฒญ์ํ๊ฒ๋๋ฉด์ง์ ๋์๊ณ๊ฐ๋งํผ์๋๊ธฐ์์ฒญ์ํ
4. ์ด์๊ณ์ ์ด๋์ด๊ฐ๋์ถ๊ฐ์ ์ธ์์ฒญ์ Circuit Breaker ๋ฐ๋ํ๋์งํ์ธ
5. Istio ์์ฐ๊ณ๋ Grafana, Kiali ์๋น์ค์๊ฐ
Envoy Proxy
Service
Envoy Proxy
Service
Istio
HTTP, TCP
Redhat Openshift Environment
์๋น์ค์ ์๋น์ค ์ฌ์ด์ ๋ฐ์ํ๋ ํ๋๋ค์ ๋ํด ๋คํธ์ํฌ ๊ตฌ๊ฐ์์Authentication, Tracing, Logging, Monitoring ํ ์ ์๋ ๊ธฐ์ โข Retry, Timout, ์ํท๋ธ๋ ์ด์ปค(Circuit Breaker) ๋ฑ์ ๊ธฐ๋ฅ ์ ๊ณตโข ํธ๋ํฝ ํต์ , ์ปจํ ์ธ ๊ธฐ๋ฐ์ ํธํจํฝ ๋ถํ โข ํธ๋ํฝ ๋ชจ๋ํฐ๋ง ๋ฐ์๊ฐํ ์ง์โข ๋ณด์(Security) ๋ฐ ์ธ์ฆ(Authentication) ์ง์
๋ฐฑ๊ทธ๋ผ์ด๋ ์ค๋ช
์ฃผ์๊ธฐ๋ฅ
์ปจํ ์ด๋๊ธฐ๋ฐ์๋น์ค์์๋น์ ์๋์์ผ๋ก์ธํด์ค๋ฅ๊ฐ๋ฐ์ํ ๊ฒฝ์ฐ์ด๋ ํ๋ฐฉ์์ผ๋ก์ฅ์ ๊ฐ์ ํ๋์ง์๋๋กํ๋์งํ์ธํ๊ณ Istio์์์ ๊ณตํ๋๊ธฐ๋ฅ๋ค์ด์ด๋ ํ๊ฒ๋ค์ด์๋์ง์๊ฐ
์์ฐ ์๋๋ฆฌ์ค
18IBM Cloud Forum 2020 / ยฉ 2020 IBM Corporation
1 ์ธํ๋ผ์ํคํ ์ฒ โข ์๋น์ค๊ฐ IaaS ์์ PaaS๋ก์ ํ์๋ฐ๋ฅธ DR ๊ตฌ์ฑ๋ฑ์ธํ๋ผ์ํคํ ์ฒ๊ฒํ
2 ์๋ฃจ์ ํธํ์ฑ โข ์๋ฃจ์ ์ปจํ ์ด๋ํ๊ฐ๋ฅ์ฌ๋ถ๋ฐ๋ผ์ด์ผ์คํ์ธ
โข ์๋ฒ๋ณด์, ์ปจํ ์ด๋๋ณด์๊ฐ์ด๋โข ์ทจ์ฝ์ฑ์ ๊ฒ์ํ๋ฐฉ๋ฒ
3 ๋ณด์
โข ๋ก๊ทธ๋ณด์, ๋ก๊ทธ์ถ์ ๋ฐฉ์๊ฒํ 4 ๋ก๊ทธํตํฉ
โข ์๋ฐฉ์ ์ฅ์ ๋์์๋ํ๊ธฐ์ค๋ง๋ จโข ์ฅ์ ๋์๋ชจ๋ํฐ๋ง, ์๋๊ตฌ์ฑ๋ฐฉ์
5 ๋ชจ๋ํฐ๋ง
โข ๋ฐฐํฌ๋ฐ๋ฆด๋ฆฌ์ฆ์์ ์๋ํโข SR ์ฒ๋ฆฌํ๋ก์ธ์ค
6 DevOps ์ฒด๊ณ
To-be ๊ณ ๋ ค์ฌํญ (Containerization, Microservice ์ค๊ณ๋ฐ๊ตฌํ)PoC Case 1 : ์ํ๊ณ ๊ฐ์ฌ