Oracle public Database and Java Cloud for Trials 19.03.2015 Arnold Keller, Senior Sales Consultant Core Technology Hannes Gütlin, Senior Sales Consultant Middleware
Agenda 1 2 3 4 Oracle Cloud Introduction Setup Procedure Database Service Setup Demo Java Cloud Service Setup Demo 3
Oracle Cloud Computing Strategy Complete Solution, Complete Choice Private Cloud Public Cloud PaaS Hybrid Cloud DaaS SaaS IaaS Management Security Integration PaaS IaaS 4
Complete Deployment Choice Deploy Anywhere DEPLOY ANYWHERE Same Technology Private Cloud Same Standards Same Products Oracle Cloud Transparently move workloads between On-premise and Oracle Cloud
Platform as a Service Line of Business Users Documents Social Network Business Intelligence BPM Developer & IT Database Database Java Developer Mobile Backup Integration 6
Infrastructure as a Service Storage Object Storage Compute Elastic Compute Messaging Lightweight Queues Secure Identity Identity Administration 7
PaaS: Oracle Database Cloud Services Database as a Service Full-featured dedicated 11gR2 or 12c instance(s) SE1, EE, EE High Performance, EE Extreme Performance Customer or Oracle backs up, patches, manages DBMS Full SQL*NET, root access, Enterprise Manager, all DBMS tools Full portability on-premises & cloud Primary Use Case: Dev/Test and lift & shift applications to Oracle Cloud 8
PaaS: Oracle Java Cloud Services Java Cloud Service Dedicated WebLogic cluster(s) with root access Tiered management services, built-in HA, on-demand DR Fully customizable for any Java application Primary Use Case: Lift & shift WebLogic and other Java applications to Oracle Cloud 9
PaaS: Oracle Developer Cloud Service Integrated tools to manage & track tasks, builds, code reviews, and documentation Standards-based GIT, Hudson, Maven, JIRA, Bugzilla, Wiki Integrated into an IDE of your choice Automatic deployment to Oracle Java Cloud Service or local infrastructure Primary Use Case: Secure turnkey development on Oracle Cloud 10
Topology: What are we going to build? Overview 2 DB Storage 1 WLS Storage Admin Database Cloud Service User 3 Java Cloud Service 11
Database Cloud Setup 12
Pre-Requisite Software Any Platform Oracle SQL*Developer Oracle JDeveloper If Windows Cloudberry Explorer for OpenStack Cygwin or Putty (SSH Key Management) Putty (Secure Shell access) 13
SSH Key File Creation and Usage ssh-keygen -b 2048 -t rsa -f mykey with passphrase mv keyfile /home/user/.ssh Register mykey.pub in cloud ssh -i ~mykey oracle@129.152.152.93 or opc 14
RESTful API 1 Requesting an Authentication Token curl -v -X GET \ -H "X-Storage-User: Storage-choracleso82869:arnold.keller@oracle.com " \ -H "X-Storage-Pass: mypassword" \ https://storage.us2.oraclecloud.com/auth/v1.0 > GET /auth/v1.0 HTTP/1.1... < X-Auth-Token: AUTH_tk209f7f2ea1265a0d3f29d28a2dc8ced6 15
RESTful API 2 Create a Container curl -v -X PUT \ -H "X-Auth-Token: AUTH_tk209f7f2ea1265a0d3f29d28a2dc8ced6 " \ https://storage.us2.oraclecloud.com/v1/storage-choracleso82869/testcontainer 16
RESTful API 3 List Containers (15) curl -v -X GET \ -H "X-Auth-Token: AUTH_tk209f7f2ea1265a0d3f29d28a2dc8ced6 " \ https://storage.us2.oraclecloud.com/v1/storage-choracleso82869?limit=15 17
RESTful API 4 Delete a Container curl -v -X DELETE \ -H "X-Auth-Token: AUTH_tk209f7f2ea1265a0d3f29d28a2dc8ced6 " \ https://storage.us2.oraclecloud.com/v1/storage-choracleso82869/testcontainer 18
DEMO 19
20
Topology After Creation of Storage and the DB Cloud Service VM db 1 2 Database DB Storage 1 WLS Storage Admin HTTPS/ SSH Tunnel User 3 Java Cloud Service 21
Manage Network Access Components IP Address List A set of IP addresses or subnets external to your Oracle Cloud Service Protocol Defines a protocol type and a port (ssh, http, https etc.) Network Group A set of service instances that communicate with each other Access Rule Protocol: select a protocol (port) Source: IP List Destination: Network group to grant access to Access Rule HTTP to WebLogic managed Servers IP List public Protocol http 8001 Network Group JCS Instance 1 22
Java Cloud Setup 23
Prerequisites Organize these things before attempting to create a JCS Instance 1 DBCS Holds metadata needed by JRF set up in step 2 by DBA DB Admin credentials 1 metered Storage Container For backups. Older backups are automatically moved to this container. Set up in step 1 using REST or JAVA Library or OpenStack Tooling Public SSH Key Create your personal key beforehand for SSH access 24
DEMO 25
26
Topology The full Picture VM db 1 2 Database DB Storage 1 WLS Storage Admin User HTTPS/ SSH Tunnel HTTPS VM lb 1 Load Balancer HTTP/HTTPS VM wls 1 Admin Server Managed Server 1 3 VM wls 2 DG Coherence Server 1 27
Lifecycle Tooling Create/ Delete Secure Scale up/down Configure Monitor Back up Patch 28
Summary Steps to build a Java Cloud Service including DB Cloud Service 1. Install pre-requisite software on desktop 2. Create an SSL key to provide secure access to your Cloud Services 3. (Login to your Cloud Console, changing your password and preferences) 4. Setup a container within Oracle Storage Cloud Services for DbCS 5. Create a database instance within Oracle Database Cloud Services (DbCS) 6. Configure the database instance firewall 7. Setup a container within Oracle Storage Cloud Services for JCS 8. Create a Java instance within Oracle Java Cloud Services (JCS) 9. Configure the Java (WebLogic) instance firewall 10. Deploy an application to the Java instance and run it 29
More Information Arnold Keller arnold.keller@oracle.com Hannes Gütlin hannes.guetlin@oracle.com Get an Overview of the whole portfolio http://cloud.oracle.com Read the documentation http://docs.oracle.com/cloud/latest/index.html 30
31