SlideShare a Scribd company logo
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
PROVISIONING WITH
ORACLE CLOUD STACK MANAGER
Simon Haslam
1
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
ABOUT ME
Simon Haslam
• Platform / Infrastructure
Architect
• Focus includes HA, DR,
security, automation
Relevant to this session
• Researching JaaS/JCS from
Spring 2015; OTN
webcasts Autumn 2015
• Building SOA & DB CS since
May 2016 (first production
SOA CS in EMEA)
• Designed & built SOA CS
integration platform for
global use since Oct 2017,
using Cloud Stacks since
Dec
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
ABOUT EPROSEED
• Focussed only on Oracle technology
• Globally distributed with centralised delivery
management and local resources
• 5 active ACE Directors, 2 Dev Champions, 8 OCM
• 19 Oracle Excellence Awards in 8 years
25 Oracle Specializations… and counting.
Local offices in UK, NL, PT…
& Head Office in Luxembourg
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
3 Membership Tiers
• Oracle ACE Director
• Oracle ACE
• Oracle ACE Associate
bit.ly/OracleACEProgram
500+ Technical Experts
Helping Peers Globally
Connect:
Nominate yourself or someone you know: acenomination.oracle.com
@oracleace
Facebook.com/oracleaces
oracle-ace_ww@oracle.com
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
FULLY AUTOMATED PROVISIONING OF CLOUD SERVICES
• We can already fully automate provisioning of Oracle Cloud
services from command line using REST APIs
• It’s a good thing to do as most organisations have more than
one cloud environment:
– Consistency across dev/test/production environments
– Should save administrators time overall
– Reduces the reluctance/inertia for creating new environments
– Automated provisioning can be part of CI/CD pipelines
(especially with metering like Universal Credits)
5
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
FULLY AUTOMATED PROVISIONING OF CLOUD SERVICES
• A cloud environment typically consists of several of the following:
– Storage containers for backups
– SSH keys
– PaaS instances, such as databases
• Cloud console screens simplify provisioning but are still lots of parameters to enter
– E.g. 47 (some duplicates) for a 2 node SOA CS cluster and a single instance database
• Most organisations have a limited number of platform patterns (e.g. clustered, non-
clustered, large, small) with a few parameters to distinguish them:
– ID (e.g. number)
– Tier (dev, prod, etc)
– Environment pattern
– Front-end details6
My goal is (after customer setup) to only
need these parameters for any new
environment creation
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
FULLY AUTOMATED PROVISIONING OF CLOUD SERVICES
• There are existing tools to help you build this, e.g.
• Using provisioning REST APIs is not trivial though
– APIs change periodically
– Error messages can be “obscure”
– Less parameter validation than through the console
– Powerful – can leave underlying artefacts in a strange state
• Some people have built this into a product, e.g.
7
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential8
Image credit: playbuzz.com
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
ENTER…
* Halo is not part of the logo
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
WHAT IS AN ORACLE CLOUD STACK?
10
An abstraction layer above
Oracle PaaS instances
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
PROVISIONING AS CLOUD STACKS
Cloud provisioning is a significant time-saver compared to on-prem
(even when compared to scripted approaches)
• A cloud stack groups together multiple service types,
in this case SOA, DB and storage
• Managed as a single unit – create/delete, start/stop
• Custom templates allow you to control config,
e.g. topology, sizing, naming conventions
• Configured via Oracle-provided or custom templates
11
Dec
2016
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
WHAT IS AN ORACLE CLOUD STACK?
• Intended for multiple PaaS services (“stack”) but can use for just one
– Why would you do build a “stack of one”?
• To simplify
• To standardise
• Even one service has dependencies, e.g. storage
• Can simplify provisioning, especially from console
– Even better now that parameters can be hidden
(i.e. changed from command line if required)
12
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
CUSTOMER USE CASE: SOA CLOUD ARCHITECTURE
13
Load
Balancer
SOA
Node 1
SOA
Node 2
Database
Object Storage container
Block Storage Networking
Utility
SOA CS Instance
DBaaS Instance IaaS Instance
Cloud Stack Instance
Plain IaaS VMs aren’t currently
a stack resource type
C L A S S I C
Object Storage container Object Storage container
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
STACK MANAGER - CONCEPTS
• Templates
– Describe the Cloud Stack components
– Each template is YAML file that can be imported & exported
– Built-in ones provided but you can create your own custom ones
• Resources
– Cloud Service types & other artefacts that are included in a template
– A resource can depend on another resource
• Parameters
– Inputs during the stack creation process
– Laid out on page in Parameter Groups
15
Template
Parameter 1
Parameter 2
Parameter 3
Resource A
Resource B
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
AVAILABLE RESOURCE TYPES (NOV-18)
16
https://docs.oracle.com/en/cloud/paas/cloud-stack-manager/csmug/list-resource-types.html
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
AVAILABLE RESOURCE TYPES – ORACLE TEMPLATES ONLY
17
• Some resource types are not supported in custom templates:
– e.g. Oracle Integration Cloud
• Some templates can’t be cloned/customised – mostly Autonomous
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
ORACLE-SUPPLIED TEMPLATES
• Out of the box examples:
– Database
– SOA (inc Insight and MFT)
– OIC
– IOT (several)
– LMP stack
– Mobile (inc Bots)
– VBCS
– …etc
18
Oracle-Mobile-Bots-Standard-Rel
Oracle-SOACS-DBCS-Template
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
WHY CREATE CUSTOM TEMPLATES?
Oracle-supplied templates cover lots of products and are a great starting point, but…
• I wanted to change:
– IP Networks instead of Shared Network
– Separate backup containers
– VM flavours (e.g. high memory usage)
• Plus I had customer-specific requirements:
– To enforce standards
– To minimise env-specific information needed (e.g. have standard storage user & DB SID naming)
19
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential20
Dashboard  DBaaS ✓ SOA✓
Most Classic
PaaS consoles✓
Cloud
Stacks are
“a PaaS
thing”
NOTE: CLOUD STACK NOT YET ON ALL NAVIGATION MENUS
Compute Classic
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
TIP 5:
BE AWARE THERE ARE 2 IDENTITY DOMAIN TERMS
• Prior to IDCS, now called “traditional” ID, there was one “Identity Domain”
– a short name you chose, like mycompany, or,
– for a phase Oracle allocated it, e.g. a1234567
• With IDCS (any cloud account provisioned since ~Oct 2017) you have a second “Identity
Domain” or “Identity Service ID” (terms used interchangeably)
– Generated: idcs-*******
(32 hex digits)
21
C L A S S I C
For API calls know which one you need:
it’s usually the idcs-* one but docs may be out of date
From my Tips & Tricks for PaaS Admins session
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
PAAS SERVICE MANAGER (PSM)
• PSM and Stack Manager completement each other
• Use psmcli, to e.g. create a stack from a template
22
PSMPSM CLI
Compute
PaaS APIs
Cloud Stack InstancesPaaS
Instances
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
STARTER SOA CLOUD STACK TEMPLATE
23
DEMO
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
INTERACTIVE TEMPLATE EDITOR
24
I’ve never really used/needed this tool
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
ORACLOUDPROV TEMPLATE(S)
Template is freely available on GitHub:
https://github.com/veriton/oracloudprov
Download locally & Import (URL only works for Oracle Cloud Storage)
26
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
CLOUD STACK MANAGER TIPS
• You have to install PSM first – try Windows Subsystem for Linux #WSL ☺
• As ever don’t try to change too much at once
• Use an editor with a YAML syntax highlighter / linter
• Template is a one-use starter – can change later without affecting instances
• Use Oracle-supplied templates as a starting point (tested baseline)
• Note: when delete a Cloud Stack it doesn’t delete object storage – tidy up yourself, e.g.
with REST API <= this was changed in 18.1.6:
• Non visible parameters added in 18.1.6
27
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
GOTCHAS
• Deleting a cloud stack still needs the stack (DB running):
28
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
SUMMARY
• A cloud stack is a set of Cloud Service instances, managed as one
• Stack manager can easily cut down number of parameters you need & improve
consistency
• Cloud Stack Manager is production-ready for many types of Cloud Service types
Remember: Cloud Stack is not silver bullet for all automation – you still usually need to
automate customer-specific configuration of platform (e.g. TLS certificates)
29
Provisioning with Oracle Cloud Stack Manager

More Related Content

PDF
Provisioning with Oracle Cloud Stack Manager
PDF
SOA & WebLogic - Lift & Shift to the Cloud
PDF
Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
PPTX
Using MySQL in the Cloud
PDF
OpenStack Days East -- MySQL Options in OpenStack
PDF
veshaal-singh-ebs-oracle cloud(iaas+paas)
PDF
Oracle RAC - A Safe Investment into the Future of Your IT
PDF
Oracle Maximum Availability Architecture
Provisioning with Oracle Cloud Stack Manager
SOA & WebLogic - Lift & Shift to the Cloud
Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
Using MySQL in the Cloud
OpenStack Days East -- MySQL Options in OpenStack
veshaal-singh-ebs-oracle cloud(iaas+paas)
Oracle RAC - A Safe Investment into the Future of Your IT
Oracle Maximum Availability Architecture

What's hot (20)

PDF
MySQL Document Store and Node.JS
PDF
MySQL Document Store
PPTX
Systems oracle overview_hardware
PDF
Running SOA in the Cloud: SOA CS for SOA Suite Customers
PDF
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
PDF
OpenStack & MySQL
PPTX
Oracle Database Cloud Service
PDF
Tips & Tricks for Java & SOA Cloud Service
PDF
Oracle Database In-Memory Meets Oracle RAC
PPTX
The Oracle Autonomous Database
PDF
Oracle RAC 12c Best Practices with Appendices DOAG2013
PDF
MySQL 5.7 Replication News
PDF
Developer day v2
PDF
Camel Riders in the Cloud
PDF
Data Mobility for the Oracle Database by JWilliams and RGonzalez
PDF
Oracle vm engineered for open cloud
PDF
Using oracle vm virtual box as your development platform
PDF
Oracle RAC 12c Rel. 2 Under the Hood and Best Practices
PDF
MySQL for Software-as-a-Service (SaaS)
PDF
MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store and Node.JS
MySQL Document Store
Systems oracle overview_hardware
Running SOA in the Cloud: SOA CS for SOA Suite Customers
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
OpenStack & MySQL
Oracle Database Cloud Service
Tips & Tricks for Java & SOA Cloud Service
Oracle Database In-Memory Meets Oracle RAC
The Oracle Autonomous Database
Oracle RAC 12c Best Practices with Appendices DOAG2013
MySQL 5.7 Replication News
Developer day v2
Camel Riders in the Cloud
Data Mobility for the Oracle Database by JWilliams and RGonzalez
Oracle vm engineered for open cloud
Using oracle vm virtual box as your development platform
Oracle RAC 12c Rel. 2 Under the Hood and Best Practices
MySQL for Software-as-a-Service (SaaS)
MySQL Document Store - A Document Store with all the benefts of a Transactona...
Ad

Similar to Provisioning with Oracle Cloud Stack Manager (20)

PDF
Tips & Tricks for Oracle PaaS Admins
PDF
Presentation cloud management
PDF
Experiences of SOACS
PDF
Tips & Tricks for Oracle PaaS Admins
PPTX
The great 8 of ODA
PDF
#PCMVision: Oracle Hybrid Cloud Solutions
 
PDF
Oracle SOA Cloud - Skanska Customer Journey
PDF
Platform Provisioning Automation for Oracle Cloud
PPTX
Moving Your Oracle Databases To The Oracle Cloud
PDF
Peteris Arajs - Where is my data
PDF
Azure + DataStax Enterprise Powers Office 365 Per User Store
PDF
Terrraform meet Oracle Cloud: Platform Provisioning Automation
PDF
C2 five journeys_to_the_cloud
PPTX
Automating Infrastructure as a Service Deployments and monitoring – TEC213
PDF
What are DevOps Application Patterns on AWS…and why do I need them?
PPTX
Running Oracle EBS in the cloud (DOAG TECH17 edition)
PPTX
Exploring All options to move your Oracle Databases to the Oracle Cloud
PDF
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
PPTX
OUGLS 2016: Guided Tour On The MySQL Source Code
PDF
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin Timmermann
Tips & Tricks for Oracle PaaS Admins
Presentation cloud management
Experiences of SOACS
Tips & Tricks for Oracle PaaS Admins
The great 8 of ODA
#PCMVision: Oracle Hybrid Cloud Solutions
 
Oracle SOA Cloud - Skanska Customer Journey
Platform Provisioning Automation for Oracle Cloud
Moving Your Oracle Databases To The Oracle Cloud
Peteris Arajs - Where is my data
Azure + DataStax Enterprise Powers Office 365 Per User Store
Terrraform meet Oracle Cloud: Platform Provisioning Automation
C2 five journeys_to_the_cloud
Automating Infrastructure as a Service Deployments and monitoring – TEC213
What are DevOps Application Patterns on AWS…and why do I need them?
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Exploring All options to move your Oracle Databases to the Oracle Cloud
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
OUGLS 2016: Guided Tour On The MySQL Source Code
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin Timmermann
Ad

More from Simon Haslam (20)

PDF
Platform Engineering for the Modern Oracle World
PDF
Better Practices when Using Terraform to Manage Oracle Cloud Infrastructure
PDF
The Kubernetes WebLogic revival (part 2)
PDF
The Kubernetes WebLogic revival (part 1)
PDF
What You Need to Know about Oracle Cloud Connectivity
PDF
Delivering Mobile Apps to the Field with Oracle
PDF
Delivering Mobile Apps to the Field with Oracle JET
PDF
JET Hybrid Mobile Apps - taster for Oracle CodeOne
PDF
Delivering Mobile Apps to the field using Oracle
PDF
Connecting Oracle Cloud to your Data Centre (Part A)
PDF
Driving DevOps for Oracle with the orawls Puppet Modules
PDF
3 Ways to Connect to the Oracle Cloud
PDF
SSL Everywhere!
PDF
Oracle Traffic Director - a vital part of your Oracle infrastructure
PDF
Java & SOA Cloud Service for Fusion Middleware Administrators
PDF
Ten Real-World Customer Configurations on Oracle Database Appliance
PDF
What should I do now?! JCS for WebLogic Admins
PDF
Living with the Oracle Database Appliance
PDF
Enterprise Deployments: The Real World of Best Practices
PDF
High Availability Options for Oracle Enterprise Manager 12c Cloud Control
Platform Engineering for the Modern Oracle World
Better Practices when Using Terraform to Manage Oracle Cloud Infrastructure
The Kubernetes WebLogic revival (part 2)
The Kubernetes WebLogic revival (part 1)
What You Need to Know about Oracle Cloud Connectivity
Delivering Mobile Apps to the Field with Oracle
Delivering Mobile Apps to the Field with Oracle JET
JET Hybrid Mobile Apps - taster for Oracle CodeOne
Delivering Mobile Apps to the field using Oracle
Connecting Oracle Cloud to your Data Centre (Part A)
Driving DevOps for Oracle with the orawls Puppet Modules
3 Ways to Connect to the Oracle Cloud
SSL Everywhere!
Oracle Traffic Director - a vital part of your Oracle infrastructure
Java & SOA Cloud Service for Fusion Middleware Administrators
Ten Real-World Customer Configurations on Oracle Database Appliance
What should I do now?! JCS for WebLogic Admins
Living with the Oracle Database Appliance
Enterprise Deployments: The Real World of Best Practices
High Availability Options for Oracle Enterprise Manager 12c Cloud Control

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
KodekX | Application Modernization Development
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Machine learning based COVID-19 study performance prediction
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Electronic commerce courselecture one. Pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The AUB Centre for AI in Media Proposal.docx
Big Data Technologies - Introduction.pptx
Approach and Philosophy of On baking technology
Unlocking AI with Model Context Protocol (MCP)
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Spectral efficient network and resource selection model in 5G networks
KodekX | Application Modernization Development
Empathic Computing: Creating Shared Understanding
Programs and apps: productivity, graphics, security and other tools
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Machine learning based COVID-19 study performance prediction
20250228 LYD VKU AI Blended-Learning.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Mobile App Security Testing_ A Comprehensive Guide.pdf
sap open course for s4hana steps from ECC to s4
Diabetes mellitus diagnosis method based random forest with bat algorithm
Digital-Transformation-Roadmap-for-Companies.pptx

Provisioning with Oracle Cloud Stack Manager

  • 1. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential PROVISIONING WITH ORACLE CLOUD STACK MANAGER Simon Haslam 1
  • 2. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential ABOUT ME Simon Haslam • Platform / Infrastructure Architect • Focus includes HA, DR, security, automation Relevant to this session • Researching JaaS/JCS from Spring 2015; OTN webcasts Autumn 2015 • Building SOA & DB CS since May 2016 (first production SOA CS in EMEA) • Designed & built SOA CS integration platform for global use since Oct 2017, using Cloud Stacks since Dec
  • 3. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential ABOUT EPROSEED • Focussed only on Oracle technology • Globally distributed with centralised delivery management and local resources • 5 active ACE Directors, 2 Dev Champions, 8 OCM • 19 Oracle Excellence Awards in 8 years 25 Oracle Specializations… and counting. Local offices in UK, NL, PT… & Head Office in Luxembourg
  • 4. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential 3 Membership Tiers • Oracle ACE Director • Oracle ACE • Oracle ACE Associate bit.ly/OracleACEProgram 500+ Technical Experts Helping Peers Globally Connect: Nominate yourself or someone you know: acenomination.oracle.com @oracleace Facebook.com/oracleaces oracle-ace_ww@oracle.com
  • 5. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential FULLY AUTOMATED PROVISIONING OF CLOUD SERVICES • We can already fully automate provisioning of Oracle Cloud services from command line using REST APIs • It’s a good thing to do as most organisations have more than one cloud environment: – Consistency across dev/test/production environments – Should save administrators time overall – Reduces the reluctance/inertia for creating new environments – Automated provisioning can be part of CI/CD pipelines (especially with metering like Universal Credits) 5
  • 6. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential FULLY AUTOMATED PROVISIONING OF CLOUD SERVICES • A cloud environment typically consists of several of the following: – Storage containers for backups – SSH keys – PaaS instances, such as databases • Cloud console screens simplify provisioning but are still lots of parameters to enter – E.g. 47 (some duplicates) for a 2 node SOA CS cluster and a single instance database • Most organisations have a limited number of platform patterns (e.g. clustered, non- clustered, large, small) with a few parameters to distinguish them: – ID (e.g. number) – Tier (dev, prod, etc) – Environment pattern – Front-end details6 My goal is (after customer setup) to only need these parameters for any new environment creation
  • 7. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential FULLY AUTOMATED PROVISIONING OF CLOUD SERVICES • There are existing tools to help you build this, e.g. • Using provisioning REST APIs is not trivial though – APIs change periodically – Error messages can be “obscure” – Less parameter validation than through the console – Powerful – can leave underlying artefacts in a strange state • Some people have built this into a product, e.g. 7
  • 8. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential8 Image credit: playbuzz.com
  • 9. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential ENTER… * Halo is not part of the logo
  • 10. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential WHAT IS AN ORACLE CLOUD STACK? 10 An abstraction layer above Oracle PaaS instances
  • 11. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential PROVISIONING AS CLOUD STACKS Cloud provisioning is a significant time-saver compared to on-prem (even when compared to scripted approaches) • A cloud stack groups together multiple service types, in this case SOA, DB and storage • Managed as a single unit – create/delete, start/stop • Custom templates allow you to control config, e.g. topology, sizing, naming conventions • Configured via Oracle-provided or custom templates 11 Dec 2016
  • 12. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential WHAT IS AN ORACLE CLOUD STACK? • Intended for multiple PaaS services (“stack”) but can use for just one – Why would you do build a “stack of one”? • To simplify • To standardise • Even one service has dependencies, e.g. storage • Can simplify provisioning, especially from console – Even better now that parameters can be hidden (i.e. changed from command line if required) 12
  • 13. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential CUSTOMER USE CASE: SOA CLOUD ARCHITECTURE 13 Load Balancer SOA Node 1 SOA Node 2 Database Object Storage container Block Storage Networking Utility SOA CS Instance DBaaS Instance IaaS Instance Cloud Stack Instance Plain IaaS VMs aren’t currently a stack resource type C L A S S I C Object Storage container Object Storage container
  • 14. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
  • 15. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential STACK MANAGER - CONCEPTS • Templates – Describe the Cloud Stack components – Each template is YAML file that can be imported & exported – Built-in ones provided but you can create your own custom ones • Resources – Cloud Service types & other artefacts that are included in a template – A resource can depend on another resource • Parameters – Inputs during the stack creation process – Laid out on page in Parameter Groups 15 Template Parameter 1 Parameter 2 Parameter 3 Resource A Resource B
  • 16. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential AVAILABLE RESOURCE TYPES (NOV-18) 16 https://docs.oracle.com/en/cloud/paas/cloud-stack-manager/csmug/list-resource-types.html
  • 17. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential AVAILABLE RESOURCE TYPES – ORACLE TEMPLATES ONLY 17 • Some resource types are not supported in custom templates: – e.g. Oracle Integration Cloud • Some templates can’t be cloned/customised – mostly Autonomous
  • 18. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential ORACLE-SUPPLIED TEMPLATES • Out of the box examples: – Database – SOA (inc Insight and MFT) – OIC – IOT (several) – LMP stack – Mobile (inc Bots) – VBCS – …etc 18 Oracle-Mobile-Bots-Standard-Rel Oracle-SOACS-DBCS-Template
  • 19. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential WHY CREATE CUSTOM TEMPLATES? Oracle-supplied templates cover lots of products and are a great starting point, but… • I wanted to change: – IP Networks instead of Shared Network – Separate backup containers – VM flavours (e.g. high memory usage) • Plus I had customer-specific requirements: – To enforce standards – To minimise env-specific information needed (e.g. have standard storage user & DB SID naming) 19
  • 20. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential20 Dashboard  DBaaS ✓ SOA✓ Most Classic PaaS consoles✓ Cloud Stacks are “a PaaS thing” NOTE: CLOUD STACK NOT YET ON ALL NAVIGATION MENUS Compute Classic
  • 21. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential TIP 5: BE AWARE THERE ARE 2 IDENTITY DOMAIN TERMS • Prior to IDCS, now called “traditional” ID, there was one “Identity Domain” – a short name you chose, like mycompany, or, – for a phase Oracle allocated it, e.g. a1234567 • With IDCS (any cloud account provisioned since ~Oct 2017) you have a second “Identity Domain” or “Identity Service ID” (terms used interchangeably) – Generated: idcs-******* (32 hex digits) 21 C L A S S I C For API calls know which one you need: it’s usually the idcs-* one but docs may be out of date From my Tips & Tricks for PaaS Admins session
  • 22. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential PAAS SERVICE MANAGER (PSM) • PSM and Stack Manager completement each other • Use psmcli, to e.g. create a stack from a template 22 PSMPSM CLI Compute PaaS APIs Cloud Stack InstancesPaaS Instances
  • 23. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential STARTER SOA CLOUD STACK TEMPLATE 23 DEMO
  • 24. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential INTERACTIVE TEMPLATE EDITOR 24 I’ve never really used/needed this tool
  • 25. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential ORACLOUDPROV TEMPLATE(S) Template is freely available on GitHub: https://github.com/veriton/oracloudprov Download locally & Import (URL only works for Oracle Cloud Storage) 26
  • 26. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential CLOUD STACK MANAGER TIPS • You have to install PSM first – try Windows Subsystem for Linux #WSL ☺ • As ever don’t try to change too much at once • Use an editor with a YAML syntax highlighter / linter • Template is a one-use starter – can change later without affecting instances • Use Oracle-supplied templates as a starting point (tested baseline) • Note: when delete a Cloud Stack it doesn’t delete object storage – tidy up yourself, e.g. with REST API <= this was changed in 18.1.6: • Non visible parameters added in 18.1.6 27
  • 27. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential GOTCHAS • Deleting a cloud stack still needs the stack (DB running): 28
  • 28. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential SUMMARY • A cloud stack is a set of Cloud Service instances, managed as one • Stack manager can easily cut down number of parameters you need & improve consistency • Cloud Stack Manager is production-ready for many types of Cloud Service types Remember: Cloud Stack is not silver bullet for all automation – you still usually need to automate customer-specific configuration of platform (e.g. TLS certificates) 29