Stay Connected
BLOGS.ORACLE.COM/IMC
TWITTER.COM/ORACLEIMC
YOUTUBE.COM/ORACLEIMCTEAM
FACEBOOK.COM/ORACLEIMC
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Lightweight Application Deployment with Oracle Application Container Cloud Service
Gökhan Göksu ISV Migration Center FMW Consultant [email protected]
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
3
Lightweight Development of Applications and Services
Application Container Cloud Service Features
Deploying Applications to Application Container Cloud Service
Demonstration
Summary & Q&A
4
4
5
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Lightweight Development of Applications and Services
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Why Are We All Moving to Lightweight Development?
6
Interactive smaller services creating powerful apps
Status Quo Light Apps/Microservices
Single, Monolithic App
Must Deploy Entire App
One Database for Entire App
In-process Calls Locally, SOAP Externally
Organized Around Technology Layers
Developers Don’t Do Ops
State In Each Runtime Instance
One Technology Stack for Entire App
Many, Smaller Minimal Function Microservices
Can Deploy Each Microservice Independently
Each Microservice Has Its Own Datastore
REST Calls Over HTTP, Messaging, or Binary
Organized Around Business Capabilities
Developers + Ops Support Production in Perpetuity
State in Distributed Data Grid – Instances Stateless
Choice of Technology for Each Microservice
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Lightweight Apps & Services Tradeoffs
7
Easier Deployment/Ops Easier Development
Do you want...
Traditional Apps/Dev Lightweight Apps/Dev
• One big block of code, sometimes broken into semi-porous modules
• Complexity handled inside the big block of code
• Each big block is hard to develop but easy to deploy
• Many small blocks of code, each developed and deployed independently
• Complexity encapsulated in each microservice
• Each microservice is easy to develop but hard to deploy
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 8
Embracing polyglot environments
Lightweight Apps = New Opportunities
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Application Container Cloud Service Features
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Application Container Cloud
An open highly available Docker container-based elastic polyglot cloud platform
10
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Deploy applications to a selection of popular language runtimes supported – Initial support for Java SE and Node.js
• Leverage unique Oracle Java SE features – Immediate access to platform
upgrades, security, platform optimizations
– Continued commercial support for Java SE versions no longer receiving public updates
• Node access to Oracle DB with open source database driver
11
Polyglot Platform
php
EE
SE
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Application Container Cloud Features
• Applications run on Oracle Linux in Docker containers
– Stateless Applications
– Permanent storage through database or storage service
• User selectable amount of RAM per application—usage charged in GB
Key Features
• Java SE Advanced and 1000s of Node Libraries on Oracle Cloud
• Continuous integration with Developer Cloud
• Cloud tooling for lifecycle management Benefits
• Self-service application platform with advanced cloud tools
• Secure, Highly Available with Clustering
12
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 13
Oracle Developer Cloud Service—Included
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Developer Cloud Service Features
14
Simplify Development
Automatically provisioned
Preconfigured and integrated
Automated builds and deployments
Web based administration
Collaborate & Manage Team source repository Code reviews by peers Task tracking Activity stream and notifications Continuous integration dashboard
Integrated With IDEs
JDeveloper
Eclipse
NetBeans
Deploy Automatically
Deploy into cloud or on premise automatically
Workflow ensures proper build and test
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Fully automated—no user management required
• Scale out or in and application instances are automatically registered/unregistered
15
Load Balancer - Included
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deploying Applications to Application Container Cloud Service
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 17
Build Zip Deploy!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Deploy—Application Archive (Zip)
• All application binaries
• All required libraries
• Binaries of any container/embedded container
• Images files
• HTML files
Everything you'd need to run your application on a localmachine
18
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 19
Deployable Artifacts
Application Archive (zip) deployment.json manifest.json
*Optionally package manifest.json in application archive
All application binaries and resources
Launch command and release info
Configuration including environment variables, service bindings,
memory, instances
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 20
manifest.json
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Oracle Cloud Platform and external REST enabled services can be used without any special configuration
• Oracle Cloud Platform non-REST services require ‘service binding’ declaration to enable communication between applications and the target service, e.g.:
– Java Cloud Service
– Database Cloud Service
21
Consuming Oracle Cloud Services in your Application
…
REST Non-REST
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Summary & Q&A
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Summary
• Lightweight Apps and Microservices
– More Opportunities
• Container Cloud Service
– For polyglot workloads
• Self-Service Application Platform – Advanced Cloud Tools
23
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Additional Resources All available @ http://cloud.oracle.com/acc
24
DATA SHEETS
VIDEOS
RESOURCES PAPERS
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Demo Developing a simple Node.JS application and deploying to Application Container Cloud Service
Gökhan Göksu ISV Migration Center FMW Consultant [email protected]
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Components
• Application Container Cloud Service ( https://cloud.oracle.com/accs )
• Node.js Runtime Environment ( https://nodejs.org/en/ )
• ExpressJS Web Framework for Node.js( http://expressjs.com/ )
26
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Q&A
27
Gökhan Göksu Oracle ISV Migration Center Consultant [email protected] ISV Migration Center blog: http://blogs.oracle.com/imc ISV Migration Center email: [email protected]
Copyright © 2014 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
28