Partner Webcast – Oracle Cloud PaaS supporting DevOps: Bringing two silos together
-
Upload
oracleimc-innovation-modernization-center -
Category
Technology
-
view
286 -
download
0
Transcript of Partner Webcast – Oracle Cloud PaaS supporting DevOps: Bringing two silos together
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle PaaS: Supporting DevOps Partner Webcast
Allen Kubai Wangu MW & Cloud Consultant OPN Innovation and Modernization centre, EMEA
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
3
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
4
1 What is DevOps?
2 DevOps Technology and Culture change
3 Mastering DevOps With Oracle Technology and PaaS
4 Summary & Q&A
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
5
1 What is DevOps?
2 DevOps Technology and Culture Change
3 Mastering DevOps with Oracle Technology and PaaS
4 Summary & Q&A
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Evolution…
6
Waterfall Development
Agile and Rapid
Application Delivery (RAD)
Continuous Integration
Continuous Delivery
Continuous Deployment
DevOps Microservices
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Familiar?
It's not my machines, it's your code!
7
DevOps seeks to solve this It's not my code, it's your machines!
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Dev and Ops Constantly Argue
8
“Code is written...it’s your problem now”
Hey Ops - Here’s our code...good luck!
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
DevOps Principles
9
Cultural movement enabled by technology
Paid to add new features
Dev Ops
DevOps
Paid to keep system stable, fast and available
New goal: Add new features and keep the system stable, fast and available
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
10
1 What is DevOps?
2 DevOps Technology and Culture Change
3 Mastering DevOps with Oracle Technology and PaaS
4 Summary & Q & A
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
DevOps = Culture + Technology Movement
11
Culture is what’s behind DevOps; technology is the enabler
Culture
Technology
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
DevOps Tenet #1: Culture
12
Discuss Respect
Avoid Blaming
“Done” Means
Released
•Dev respect for ops •Ops respect for dev •Don’t stereotype •Don’t just say “no”
•Don’t hide things •Ops should be in dev discussions •Dev should be in ops discussions • Shared runbooks/escalation plans •Ops should give devs access to
systems
•No fingerpointing!
•Dev’s responsibility does not end when it’s in production • “Throwing it over
the wall” is dead
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
DevOps Tenet #2: Technology
13
Shared Version Control
Infra as Code
One Step Build/De
ploy
Don’t Fix Anything
•Use config mgmt to build environments • Scripts checked in
and managed as src
• Single system for code and build artifacts • Every time someone commits a
change it triggers a build and automated build verification tests • Ship trunk • Enable features through flags
•One button build/deploy (manual) • Scheduled builds/deploys • If verification fails, stop and alert
• If something breaks, re-deploy. Don’t fix • Fix environment
setup scripts
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Time
• Longer time to market (initially) due to work required to automate
• More builds / faster time-to-market for individual features
• Lower MTTR because problems are fixed by rebuilding
• Higher MTBF due to increased accuracy
Cost
• High up-front costs due to automation work
• Low ongoing costs because routine operations is automated
• Lower capex, higher opex as workloads shift to cloud
14
Culture
• Continues to empower developers
• Automation increases operational efficiencies
• Distracts developers from developing code
• Movement eschews “rockstars” but that’s naturally what happens
DevOps Implications To Business
MTTR = mean time to resolution MTBF = mean time between failures
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
DevOps Is In the Eye of the Beholder
15
What’s important is that you adhere to principles that lead to business value
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Faster Time-to-Market
• Increase frequency of releases
• Increase accuracy of releases - avoid downtime
• Reduce the time it actually takes to perform a release
Cost
• Automate what was previously done manually. Reduces OPEX
• Prevent humans from making costly errors
• Reduce downtime, which saves money
16
Focus on Business Value
• Allow high value employees to focus on higher value activities
• Nobody benefits from doing low value activities, like setting up infrastructure
Business Value Is Driving DevOps
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Old Culture and Expectations Don’t Work!
17
Commonly overheard in offices
It’ll take us three months to build
you a development environment
I have to stay up all night to do a build
The new switch we need is sitting on the loading dock
That code change will have to wait for our monthly
build
Uh...that’s not my problem. Go talk to
Ops
Why does your code always break my infrastructure?
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Complex Hybrid DevOps Landscape
18
Popular DevOps Technology
Ansible Jenkins / Hudson Rundeck
Git Perforce Subversion
Ansible Puppet Chef SaltStack
Gradle Jenkins / Hudson Robot
Artifactory Nexus
Docker Vagrant
Version Control
Build & Functional Testing Binary Management Virtualization
Continuous Integration Continuous Delivery
Configuration Management
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Multiple Tools and Possible Steep Learning Curve
Pipeline Orchestration
Source Code Management
Build Automation Software Repository
Provisioning Configuration Management
Automated Testing Application
Release Automation
Nexus
Mo
nito
ring
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
20
1 What is DevOps?
2 DevOps Technology and Culture change
3 Mastering DevOps with Oracle Technology and PaaS
4 Summary & Q&A
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
S.M.A.R.T DevOps
S
M
A
R
T
implify Development
anage Operations
utomate Integration & Delivery
educe Time-To-Release & Resolve
rack End-To-End Application Lifecycle
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle DevOps End-To-End Lifecycle
22
S.M.A.R.T DevOps Process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle DevOps End-To-End Lifecycle
23
S.M.A.R.T DevOps Process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Microservices • Minimal Function • Service Discovery • API-first
3 • Polyglot • Choreography • Loose Coupling
DevOps • Automated Provisioning • Automated Setup • Continuous Integration
1 • Continuous Delivery • Automated Testing • Agile • Culture Change
* as a Service • Consume Infrastructure and
Software as a Service • Fault Tolerant by Definition
2 • Auto-scaling • Infinite Elasticity
Using Cloud for DevOps
24
A new style of architecture
Distributed Computing • Multi-master • Many Data Centers • Many Fault Domains
4 • Many Regions • Global Server Load Balancing • Replication
Co
mp
eten
cy
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle PaaS / IaaS Allows Resources to be Easily Provisioned as a Service
25
Network
Storage
Compute
Hypervisor
Operating System
JVM
App Server
Application
PaaS IaaS
Past: Ops manually provisioned each layer
Today: Developers can provision entire stacks of hardware + software through REST API
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle IaaS and PaaS APIs for Provisioning
26
JSON Script
Orchestration of APIs
START/STOP
Storage Volumes
IaaS / JCS / DBCS Instances
Network Settings
"relationships": [ { }]
"oplans": [ { } ]
"label" : "master-orchestration", "obj_type" : "orchestration", "objects": [ ]
Object Type Description
ip/reservation Reserves an IP address.
launchplan Creates an instance.
orchestration Starts a set of orchestrations.
storage/volume Creates a storage volume.
secapplication Creates a security application.
seciplist Creates a security IP list.
seclist Creates a security list.
secrule Creates a security rule.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle DevOps End-To-End Lifecycle
27
S.M.A.R.T DevOps Process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
What Does it Take to Start a New Project?
• Acquire hardware and software
• Setup and install components
• Connect components
• Configure IDEs
• Maintain and upgrade versions
• Securely connect to deployment platform
28
Initial setup is time-consuming and expensive
IDE
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
What is Continuous Delivery (CD) ?
29
• A Software Engineering discipline aimed at building, testing and releasing software in a flow
• Requires a set of collaboration practices, engineering techniques, skills and tools
• Produce Software in short cycles
• Produce a deployable-to-production build regularly
• Reduce the cost, time and risk of delivering incremental changes
"If Agile Was the Opening Act, Continuous Delivery is the Headliner“
- Kurt Bittner, Principal Analyst, Forrester Research
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Developer Cloud Service
• Free with Java Cloud Service or Database Cloud Service
• Already used by 21 different product development organizations within Oracle
• Features include: – Project based, multi-tenet
– Integrated wiki server
– Integrated task/defect service
– IDE integration
30
Bringing It All Together for Continuous Delivery
– Code review
– Flexible source repository
– Maven integration
– Continuous integration
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Developer Cloud Service Features
33
Simplify Development
Automatically provisioned
Preconfigured and integrated
Automated builds and deployments
Web based administration
Collaborate & Manage Integrated team source repository Continuous integration with breakage
notifications Task/defect tracking with activity stream
and notifications
Integrated With IDEs
JDeveloper
Eclipse
NetBeans
Deploy Automatically
Deploy into Oracle Java Cloud Service automatically
Workflow ensures proper build and test
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle DevOps End-To-End Lifecycle
34
S.M.A.R.T DevOps Process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 35
Java EE Dev/Test (and Standby) in the Cloud
• Test in the cloud, deploy on-premise
• Faster spin-up of dev/test instances – get to market faster
• Create standby instances of WLS applications in the cloud
• Continuous delivery and integration environment with Developer Cloud Service
• Rapidly test new WebLogic product versions or functionality
• Focus on app development, not the infrastructure idiosyncrasies
• Full application Lifecycle Management
• Standards Based; Java EE/SE, Git, Maven, Hudson, Ant
On Premises/Private Cloud
Java Cloud Service
Developer Cloud Service
Database Cloud Service
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle DevOps End-To-End Lifecycle
36
S.M.A.R.T DevOps Process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle WebLogic APIs for Deployment
37
Environment Model
Topology
Domain Profile
Blueprint
1) Contains the model of an environment with its credentials 2) Describes the topology, all the hosts, oracle homes, domains 3) Reusable domain definitions, Defines the servers and clusters in the domain, as well as targeting information ( blueprint ) 4) Reusable groups of templates, and custom applications
FMW Provisioning
Provides standard lifecycle actions like Create Oracle Home, Create Domain,
Create Schema…
FMW Action Framework
Provides a standard implementation and runtime environment for those lifecycle
actions
FMW Environment Specification
Provides a standard language to describe a FMW environment
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Automated Developer CS Build & Deploy Process
• Hudson Builds (In addition to check-in builds) – Development
– 2 times a day an integration build is initiated • Builds all Git repositories for a consistent stripe in time
• Build is deployed to VMs running in Oracle Cloud (Development Staging Env.)
• Downstream job is initiated running functional test (selenium suite tests) against env.
• Hudson Builds – Production Candidates
–Master is branched every 2 weeks and a Hudson Build is initiated
– Deployed to a Production Candidate VM in Oracle Cloud
– Selenium Tests run against Production Candidate VM in Oracle Cloud
–Manual QA against Production Candidate VM
– If all tests pass, branch may be deployed to customer production environment
38
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle DevOps End-To-End Lifecycle
39
S.M.A.R.T DevOps Process
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Continuous Ingest Machine Learning
Real-Time Processing
Customer-Generated Data
Machine-Generated Data
40
Oracle Management Cloud – Data-centric By Definition
Anomaly Detection
Real-time Insight
Comprehensive Monitoring
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 41
Oracle Management Cloud Services
Application Performance Monitoring
Improve End-User Experience
and System Performance; Diagnose Performance Issues
Faster
Log Analytics
Extract Value from Logs by Collecting, Correlating, and
Searching Any Kind of Log Data; Quickly Discover Anomalies
IT Analytics
Make Critical Decisions About Your IT Estate; Plan For Growth, Run
What-If Analyses, Compare Resource Usage
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Enterprise Manager Simplifies WebLogic Management
• Performance Monitoring and Diagnostics – Manage across multiple domains
– Improve performance and availability of Java EE and web service applications
– Diagnose performance problems across tiers
– Trace business transactions in the context of the payload
• Configuration Management – Track and maintain configurations
– Minimize/eliminate downtime due to infrastructure changes
– Comply with security and compliance standards
• Lifecycle Management – Automate time consuming, manual installation, patching, and configuration
process
– Reduce human error in building new environments
– Streamline communication with support when encountering bugs
42
Makes management, monitoring and diagnostics easy
Performance
Configuration
Lifecycle
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
43
1 What is DevOps?
2 DevOps Technology and Culture Change
3 Mastering DevOps with Oracle Technology and PaaS
4 Summary
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 44
Continuous Development Continuous Integration Continuous Testing Continuous Delivery
Continuous Monitoring
Feature/Task/Bug
Develop
Local Build
Unit Test
Source Code
Repository
Artifact Repository
Provision H/W
Configure S/W
Package
Deploy Feature/Task/Bug
Develop
Local Build
Unit Test
Integration Test
Functional Test
Acceptance Test
Developers
Central Build
Testing Environments
Integration
QA
UAT
Production
Sample Dev Ops Landscape • Putting Everything Together
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 45
Continuous Development Continuous Integration Continuous Testing Continuous Delivery
Continuous Monitoring
Feature/Task/Bug
Develop
Local Build
Unit Test
Source Code
Repository
Artifact Repository
Provision H/W
Configure S/W
Package
Deploy Feature/Task/Bug
Develop
Local Build
Unit Test
Integration Test
Functional Test
Acceptance Test
Developers
Central Build
Testing Environments
Integration
QA
UAT
Production
+ Other PaaS Services
Sample Dev Ops Landscape • Putting Everything Together (The PaaS Way)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Can Help You Lead Change in Your Organization
46
But real change begins with you
Your responsibility
Respect
“Done” Means Released
Discuss
Avoid Blaming
Shared Version Control
Don’t Fix Anything
Infrastructure as Code
One Step Build/Deploy
Culture
Technology
DevOps Tenet #1:
DevOps Tenet #2:
Your responsibility,
can help but
How Oracle Can Help with DevOps
Simplify
Shrink Runtime
Simplify Installation
Simplify Provisioning
Support Lifecycle
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle is Serious About DevOps
47
Oracle products support DevOps
Respect
“Done” Means Released
Discuss
Avoid Blaming
Shared Version Control
Don’t Fix Anything
Infrastructure as Code
One Step Build/Deploy
Culture
Technology
DevOps Tenet #1:
DevOps Tenet #2:
Ligh
t | Fast | M
od
ula
r | Mo
dern
| Easy
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle PaaS: Supporting DevOps Partner Webcast
DEMO – Infrastructure as code Allen Kubai Wangu MW & Cloud Consultant OPN Innovation and Modernization centre, EMEA
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
49
1 What is Infrastructure as code
2 Getting Started
3 Demo – Infrastructure as Code
4 Summary & Q&A
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
What is Infrastructure as code?
• Faster infrastructure provisioning
• Consistent environments
• Fewer significant issues that arise between environments
• Faster Time To Resolution (TTR) for remaining issues
• Simple, repeatable infrastructure build procedures
• Versioning of infrastructure configuration code
50
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Demo
• Using DevCS to execute our Infrastructure Code
• Create DBaaS Instance Using Code
• Create JCS Instance Using Code
51
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
What else can you do?
• Execute Oracle Compute Cloud Service (IaaS)
52
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Summary
API Catalog
https://apicatalog.oraclecloud.com/ui/
DBCS
https://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBR/rest-endpoints.html
JCS
https://docs.oracle.com/cloud/latest/jcs_gs/JSRMR/
IaaS
https://docs.oracle.com/cloud/latest/stcomputecs/STCSA/
Oracle Confidential – Internal/Restricted/Highly Restricted 53
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Q&A
54
Allen Wangu MW & Cloud Consultant [email protected] ISV Migration Center blog: http://blogs.oracle.com/imc ISV Migration Center email: [email protected]
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
• Oracle.com Partner Hub oracle.com/partners/goto/hub-ecemea
• Migration Center Team Blog blogs.oracle.com/imc
feeds.feedburner.com/oracleIMC
• Partner Webcast Recordings youtube.com/OracleIMCteam
• Partner Webcast Presentations slideshare.net:/Oracle_IMC_team
Oracle Partner Hub ISV Migration Center • twitter.com/OracleIMC
• plus.google.com/+OracleIMC
• facebook.com/OracleIMC
• linkedin.com/groups/Oracle-Partner-Hub-Migration-Center-4535240
55