package and deploy your applications - rainfocus · oracle cloud platform: application development...

36
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Package and Deploy Your Applications Leveraging Oracle Cloud for DevOps & Containers Sandeep Kherde Principle Architect Oracle Cloud Platform March 27, 2017 Confidential – Oracle Internal/Restricted/Highly Restricted

Upload: dangcong

Post on 26-Jul-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 2: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 3: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 4: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 5: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017 Oracle and/or its affiliates. All rights reserved. |

12Factor.net

Page 6: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017 Oracle and/or its affiliates. All rights reserved. |

The 12 Factor App Principals

Page 7: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 8: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 9: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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)

Page 10: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 11: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 12: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 13: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |

Keys to Cloud DevOps Success

Runtime/DeploymentCLOUD SERVICES

ManagementCLOUD SERVICES

Development/BuildCLOUD SERVICES

13

Page 14: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |

Demo – Agile Development & Deploy Apps to Container

14

Page 15: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 15

Page 16: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 16

Page 17: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 17

Page 18: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 18

Page 19: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 19

Page 20: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 21: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 22: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 22

Alpha OfficeCloud Native Rapid JavaScript Development

Page 23: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 24: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 24

Page 25: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 26: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 26

Page 27: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 27

Page 28: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 28

Page 29: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 29

Page 30: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 30

Page 31: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 31

Page 32: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 33: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 34: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 35: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging

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

Page 36: Package and Deploy Your Applications - RainFocus · Oracle Cloud Platform: Application Development Services Unique in Blending Traditional, ... Cloud Native Applications Leveraging