package and deploy your applications - rainfocus · oracle cloud platform: application development...
TRANSCRIPT
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Package and Deploy Your ApplicationsLeveraging Oracle Cloud for DevOps & Containers
Sandeep KherdePrinciple Architect Oracle Cloud PlatformMarch 27, 2017
Confidential – Oracle Internal/Restricted/Highly Restricted
Copyright © 2017, 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.
Confidential – Oracle Internal/Restricted/Highly Restricted 2
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
Cloud Native Applications
Leveraging Oracle Cloud for DevOps and Containers
Demo – Build Development Pipeline with Oracle Cloud and Open Source tools
1
2
3
Confidential – Oracle Internal/Restricted/Highly Restricted 3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
Cloud Native Applications
Leveraging Oracle Cloud for DevOps and Containers
Demo – Build Development Pipeline with Oracle Cloud and Open Source tools (Cloudberry, Jenkins, Chef, Maven and GIT)
1
2
3
Confidential – Oracle Internal/Restricted/Highly Restricted 4
Copyright © 2017 Oracle and/or its affiliates. All rights reserved. |
12Factor.net
Copyright © 2017 Oracle and/or its affiliates. All rights reserved. |
The 12 Factor App Principals
Copyright © 2017 Oracle and/or its affiliates. All rights reserved. |
DevOps: Technology Approach
7
Shared Version Control
Infra as Code
Heavy Automation
Agile Development
Methodologies
•Use configuration management systems to build environments
• Scripts checked in and managed as source
• Single system(s) 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• Constant builds/deploys• If verification fails, stop and alert
• If something breaks, re-deploy. Don’t fix
• Fix environment setup scripts
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 8
Popular DevOps Technology• Remember: You can't get DevOps by buying a single product
8
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 ManagementVirtualization
Continuous IntegrationContinuous Delivery
Configuration Management
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The Adoption Evolution of Containers
9
SOURCE: THE EVOLUTION OF THE MODERN SOFTWARE SUPPLY CHAIN, DOCKER SURVEY 2017
• Developer productivity a top use case today
• Building out CI/CD pipelines
– Consistent container image moves through pipeline
– Preventing “it worked in dev” syndrome
• Application modernization and portability are also key adoption drivers (Prem <-> cloud)
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Virtual Machines vs. Containers
Virtual Machines● Each virtual machine (VM)
includes the app, the necessary binaries and libraries and an entire guest operating system
Containers● Containers include the app & all of its dependencies,
but share the kernel with other containers. ● Run as an isolated process in user space on the host OS● Not tied to any specific infrastructure – containers run
on any computer, infrastructure and cloud.
VMs
Containers
10
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
Cloud Native Applications
Leveraging Oracle Cloud for DevOps and Containers
Demo – Build Development Pipeline with Oracle Cloud and Open Source tools (Cloudberry, Jenkins, Chef, Maven and GIT)
1
2
3
Confidential – Oracle Internal/Restricted/Highly Restricted 11
Copyright © 2017 Oracle and/or its affiliates. All rights reserved. 12Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 12
Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, Cloud Native and Low Code with End to End PaaS
Oracle Platform for Cloud Application Development
Compute (VM, Bare Metal)
COMMON SERVICES Developer Cloud
(CICD)IdentityAPM/Log
AnalyticsAPI
Management*
INTEGRATION SERVICES
DATA SERVICES Database NoSQLMySQL Integration SOA
BACK-END SERVICES
MobileApplication Container
Java
EE
SDKs(3rd Party,
JET)
App Builder
FRONT-END TOOLING
Network Storage
Infrastructure as a Service
Internet of Things
Functions
F(x)
Container Cloud(Docker, Orchestration)
Event Hub(Kafka)
MessagingCloud
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Keys to Cloud DevOps Success
Runtime/DeploymentCLOUD SERVICES
ManagementCLOUD SERVICES
Development/BuildCLOUD SERVICES
13
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Demo – Agile Development & Deploy Apps to Container
14
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 15
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 16
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 17
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 18
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 19
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 20
Objective : Create Initial Project
Add Users to Project Create Product Issues
Create Issues for Twitter Feed Microservices
Create Issues for Twitter Feed Marketing UI
Create Agile Board and initial Sprint Add Issues to Sprint
Alpha OfficeAgile Project Management
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 21
Objective : Access Developer Cloud Service Import Code from external Git Repository Import Project into Eclipse Build and Deploy project using Developer
Cloud Service and Oracle Application Container Cloud Service
Alpha OfficeContinuous Delivery of Java Microservices
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 22
Alpha OfficeCloud Native Rapid JavaScript Development
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
Cloud Native Applications
Leveraging Oracle Cloud for DevOps and Containers
Demo – Build Development Pipeline with Oracle Cloud and Open Source tools (Cloudberry, Jenkins, Chef, Maven and GIT)
1
2
3
Confidential – Oracle Internal/Restricted/Highly Restricted 23
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 24
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 25
DevOps Tools – Leverage in Demo
25
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 ManagementVirtualization
Continuous IntegrationContinuous Delivery
Configuration Management
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 26
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 27
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 28
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 29
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 30
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 31
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Developer AutomationDeveloper Cloud Service: Collaborative Agile Development & Continuous Delivery
Complete – agile management, collaborative development, and CI/CD
Standards Based
IDE Integration
Full development lifecycle
Oracle Advantage
Supported Technologies
1 minLess than
TO PROVISION ENVIRONMENTS
32
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Polyglot Platform for Running any Workload
Developer CS
Mobile CS
Java CS(Java EE)
Application Container CS(Java SE & Node)Container CS
(Docker Containers)
33
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Cloud DeploymentJava Cloud Service, Application Container Cloud Service , Container Cloud Service
Offers a ready-built platform for deploying your applications to. You deploy your application - Oracle worries about provisioning and managing
Same code powers both private and public versions; very easy portability
Near instantaneous environments for Dev Test
Oracle Advantage
Supported Technologies
59%
Up to
LOWER COST THAN ON-PREM
34
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Cloud Native Completely Automated with DevOpsPlugging into Existing DevOps Pipelines Seamlessly
35
Service API Catalog
Oracle Cloud
REST APIS
• Docker, VMs, Storage, Network
REST APIs for IaaS
• AppDev, Integration, Mobile, BI, DB…
REST API for PaaS
• ERP, Service, Sales, Support ...
REST APIs for SaaS
Service APIs
DevOps Pipelines
Automation Tools
Command Line tools or curl
>psm setup
>psm list services
>psm push app …
>curl -i -X GET -H
"Authorization:joe
@example.com:joePa
ssword" \ -H ...
OracleDevCS