SlideShare a Scribd company logo
Copyright © 2017, eProseed UK Ltd
TIPS & TRICKS FOR JAVA & SOA CS
Simon Haslam
Technical Director
eProseed
1
Copyright © 2017, eProseed UK Ltd.
INTRODUCTION
Simon Haslam
• Platform / Infrastructure Architect
with a focus on HA, DR, automation etc
• Using Oracle products since 1994 (Oracle7)
• Formerly UKOUG App Server & Middleware SIG Chair
About eProseed
• Multi award-winning Oracle Platinum Partner
• HQ in Luxembourg with 9 subsidiaries across the world
including UK, NL, PT, KSA, USA & now Australia!
• A highly technical Oracle practice with 7 active ACEDs
Copyright © 2017, eProseed UK Ltd.
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 © 2017, eProseed UK Ltd.
INSPIRATION FOR THIS PRESENTATION
I have a note where I keep “tips & tricks” I find as I work…
– This is my current list but is work in progress (I haven’t done everything
possible in PaaS ☺ )
– Some are opinions, mainly with an Ops/Admin focus – YMMV!
– I have perfectionist tendencies (but am in therapy!) and want to improve
each batch of environments I provision
– Oracle Cloud changes all the time (monthly releases) – in future they may
change/become irrelevant
– Even if you are not using SOA CS or JCS today hopefully they may be a
useful reference for later
4
Copyright © 2017, eProseed UK Ltd.
THERE’S NO MAGIC HERE, FOLKS!
5
Copyright © 2017, eProseed UK Ltd.
6
• Setup and Identity
• VMs: SSH and internal access
• SSL & Certificates
• Networking & VPN
• Provisioning
Copyright © 2017, eProseed UK Ltd.
TIP 1: PRACTICE ON A TRIAL ACCOUNT
8
• There’s a lot to learn:
– User management
– How consoles look, what names fit
– Auto generated names
– You usually (pre-OIC) have one identity domain for both live and test – consider
that for organisation
– You will probably end up with things in the wrong place – usually it’s
easier/quicker to start fresh
– Makes you less nervous about creating stuff that might cost £££!
• If you get to choose name your domain very carefully!
– Depends on how cloud was purchased and type – may get choice or maybe just
a123456
– Oracle added feature to rename but that is superficial
Copyright © 2017, eProseed UK Ltd.
TIP 2: CHOOSE YOUR IDENTITY DOMAIN CAREFULLY
9
• Name is used a lot in URLs and references
– Since IDCS + PaaS name is in log-in URL too, e.g.
https://myservices-eproseeduk.console.oraclecloud.com
• You may or may not get to choose
– Depends on how cloud was purchased and type – may get choice or maybe just
a123456
– Oracle added feature to rename but that is superficial
• Domains can’t be re-used later AFAIK so think about it carefully
especially if you are a multi-national
– E.g. I recently created “eproseeduk” in case we want to use “eproseed” globally
– Are there annoying domain squatters out there…?
• This is probably vanity/perfectionism led! Most corporates may be
happy with a123456 ☺
Copyright © 2017, eProseed UK Ltd.
TIP 3: CREATE A PROVISIONING USER
• The username of user who creates instances & other artefacts ends up in URIs. Default
usernames are email addresses.
• Create a provisioning user
• Create the provisioning user as a name, not an email address
– I like something short, typically just the organisation name
10
Copyright © 2017, eProseed UK Ltd.
TIP 4: CREATE A STORAGE USER
• The domain name is in the storage container name BUT the storage user is what the
PaaS instances use for backup/restore.
• OPC user passwords expire after ~4 months – you can’t prevent this
– If you let them expire your backups will break
– If your database backups break you start using more Recovery Area
– If your Recovery Area fills up the database archiver can’t archive the redo log
– If the archiver can’t archive the redo log the db can’t do a log switch
– BANG!
• OPC “password change dance” was possible but probably won’t be for long
• Create a separate storage user to limit the scope of a password change
11
Practise change of OPC storage user password before user expiry!!!
Copyright © 2017, eProseed UK Ltd.
12
• Setup and Identity
• VMs: SSH and internal access
• SSL & Certificates
• Networking & VPN
• Provisioning
Copyright © 2017, eProseed UK Ltd.
TIP 5: CREATE SSH USERS FOR VM ADMINS
• Have a central OPC SSH key-pair
• I typically have one for production and one for dev-test
– You may choose to have a super-user keypair per instance (if you have good key management)
• Don’t give out the OPC private key for admin use
13
Copyright © 2017, eProseed UK Ltd.
TIP 6: CREATE UNIX USERS ONLY USING SCRIPTS
• Only specific users are allowed to SSH in (hard-coded list in sshd_config)
• SSH is used for ALL low level access to the VM
– Your admins
– The OPC admin account
– Oracle Cloud tooling
• If you break the SSH login configuration you will not be able to log in!
– The VM boot attempts to make sure oracle and opc keys are correct
– Oracle SM can try to push in a new OPC key only if cloud tooling access is working
• JCS built-in opc user setup/repair scripts are different to DBaaS!
• You only really find out for sure after an instance restart
14
Copyright © 2017, eProseed UK Ltd.
TIP 7: CREATE AT LEAST 3 VM UNIX USER GROUPS
• It’s pretty rare for admins to need SSH access to PaaS VMs:
– Non-privileged user is not too much use (possibly for tunnelling SQL*net if you don’t have VPN)
– User allowed to sudo to oracle <= most common
– User allowed to sudo to root
• Needed to fix backup issues, even though they are often just writing to an Oracle owned filesystem or calling RMAN
15
Copyright © 2017, eProseed UK Ltd.
16
• Setup and Identity
• VMs: SSH and internal access
• SSL & Certificates
• Networking & VPN
• Provisioning
Copyright © 2017, eProseed UK Ltd.
TIP 8: PUT ASIDE TIME FOR TLS CONFIGURATION
• Oracle doesn’t do much for you on TLS (SSL)
– JCS/SOACS use demo certificates with Cert Gen CA (i.e. easy to forge)
– Uses Key Store Service in database (new with 12.1.2)
• You can re-use all your old WLST etc for TLS config though ☺
– But if you have an internal CA some of the Cloud Monitoring (if you use that) breaks
17
With any luck Oracle will build (or buy) its own Certificate
Authority – then it could set up TLS automatically
Copyright © 2017, eProseed UK Ltd.
18
• Setup and Identity
• VMs: SSH and internal access
• SSL & Certificates
• Networking & VPN
• Provisioning
Copyright © 2017, eProseed UK Ltd.
TIP 9: USE IP NETWORKS
• “IP Networks” on Oracle Cloud Infrastructure Classic allow you to
choose your own network numbering, and VMs to talk directly to
one another
• “Shared Network” is the original network where every VM is
allocated to a 4-IP subnet… adds all sorts of complexity
• Going forward: IP Networks (and OIC equivalent) will dominate
– No migration path – you have to re-provision
– If you have any choice then set up IP Networks from the start!
19
Copyright © 2017, eProseed UK Ltd.
20
• Setup and Identity
• VMs: SSH and internal access
• SSL & Certificates
• Networking & VPN
• Provisioning
Copyright © 2017, eProseed UK Ltd.
TIP 10: CREATE 1 STORAGE CONTAINER PER INSTANCE
• When you create service instances that are fully managed by Oracle Cloud (i.e. not
Virtual Image service types) you need to supply Storage Cloud container
• It’s tempting to have one big bucket but don’t…
– remember in the future you may have 20 instances but want to delete one including its backups – a
storage container makes this much easier to track
• You now have an option in console and REST API to create a new container at
provisioning time
– I’m not really sure why this isn’t the default
21
Copyright © 2017, eProseed UK Ltd.
TIP 11: PROVISIONING USER IS ONLY USED BY SCRIPTS
• We’ve got a special provisioning user – make sure it is only used by scripts, and not for
administration functions
22
Cloud Ops/Admins should have their own OPC users with appropriate privs
(easy to revoke etc – remember OPC console is available outside the corporate firewall)
Copyright © 2017, eProseed UK Ltd.
23
• Setup and Identity
• VMs: SSH and internal access
• SSL & Certificates
• Networking & VPN
• Provisioning
Copyright © 2017, eProseed UK Ltd.
SUMMARY
• Oracle PaaS experience is very similar to what you’re used to for on-prem systems ☺
• You still need to plan your environments
• Support is about the same as before
• Follow my tips ☺
• Mostly “it just works”
24
Copyright © 2017, eProseed UK Ltd.
MY PRESENTATION TOMORROW!
Connecting Oracle Cloud to Your Data Centre:
A Detailed Walk-through
Tomorrow (Monday 4th Dec.)
16:55 – 17:40
Hall 6B
25
Copyright © 2017, eProseed UK Ltd.
18th April 2018
Park Plaza Leeds
Last chance to submit you papers on:
• APEX
• Database
• Development
• RAC Cloud infrastructure & Availability
• Systems
Call for papers close 12th December 17:00
Copyright © 2017, eProseed UK Ltd.
Where?
Hall 4 Tech17
Community drinks
When?
Monday 18:45 –
19:45
Tips & Tricks for Java & SOA Cloud Service

More Related Content

What's hot (20)

PDF
Enabling: Optimized Integrations at Amway with Oracle SOA Suite
Revelation Technologies
 
PDF
TWJUG August, What's new in MySQL 5.7 RC
Ryusuke Kajiyama
 
PPTX
Oracle SOA Suite 12.2.1 new features
Maarten Smeets
 
PPTX
WebLogic Scripting Tool made Cool!
Maarten Smeets
 
PDF
Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...
Andrejs Karpovs
 
PDF
Oracle VM - the Heart of Oracle Cloud
Sai Janakiram Penumuru
 
PPTX
Foundation for optimized data center & private cloud
JS Park
 
PDF
Enterprise manager 13c -let's connect to the Oracle Cloud
Trivadis
 
PDF
veshaal-singh-ebs-oracle cloud(iaas+paas)
aioughydchapter
 
PPTX
Oracle cloud storage and file system
Andrejs Karpovs
 
PPTX
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Andrejs Prokopjevs
 
PDF
2012 ohiolinuxfest replication
sqlhjalp
 
PDF
MySQL Intro JSON NoSQL
Mark Swarbrick
 
PDF
Oracle vm engineered for open cloud
OTN Systems Hub
 
PDF
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
Insight Technology, Inc.
 
PDF
MySQL 5.7 + Java
Mark Swarbrick
 
PDF
MySQL 5.7 Replication News
Ted Wennmark
 
PDF
Provisioning with Oracle Cloud Stack Manager
Simon Haslam
 
PDF
Ten Real-World Customer Configurations on Oracle Database Appliance
Simon Haslam
 
PDF
Oracle making openstack an enterprise grade solution
OTN Systems Hub
 
Enabling: Optimized Integrations at Amway with Oracle SOA Suite
Revelation Technologies
 
TWJUG August, What's new in MySQL 5.7 RC
Ryusuke Kajiyama
 
Oracle SOA Suite 12.2.1 new features
Maarten Smeets
 
WebLogic Scripting Tool made Cool!
Maarten Smeets
 
Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...
Andrejs Karpovs
 
Oracle VM - the Heart of Oracle Cloud
Sai Janakiram Penumuru
 
Foundation for optimized data center & private cloud
JS Park
 
Enterprise manager 13c -let's connect to the Oracle Cloud
Trivadis
 
veshaal-singh-ebs-oracle cloud(iaas+paas)
aioughydchapter
 
Oracle cloud storage and file system
Andrejs Karpovs
 
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Andrejs Prokopjevs
 
2012 ohiolinuxfest replication
sqlhjalp
 
MySQL Intro JSON NoSQL
Mark Swarbrick
 
Oracle vm engineered for open cloud
OTN Systems Hub
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
Insight Technology, Inc.
 
MySQL 5.7 + Java
Mark Swarbrick
 
MySQL 5.7 Replication News
Ted Wennmark
 
Provisioning with Oracle Cloud Stack Manager
Simon Haslam
 
Ten Real-World Customer Configurations on Oracle Database Appliance
Simon Haslam
 
Oracle making openstack an enterprise grade solution
OTN Systems Hub
 

Similar to Tips & Tricks for Java & SOA Cloud Service (20)

PDF
Tips & Tricks for Oracle PaaS Admins
Simon Haslam
 
PDF
Tips & Tricks for Oracle PaaS Admins
Simon Haslam
 
PDF
Connecting Oracle Cloud to your Data Centre (Part A)
Simon Haslam
 
PDF
Platform Provisioning Automation for Oracle Cloud
Simon Haslam
 
PDF
OOW16 - Oracle E-Business Suite in Oracle Cloud: Technical Insight [CON6723]
vasuballa
 
PDF
EBS Upgrade to Oracle Cloud Platform
Fumiko Yamashita
 
PPTX
Oracle IaaS including OCM and Ravello
Andrey Akulov
 
PDF
Valor diferencial de la propuesta cloud
OracleIberia
 
PPTX
Cloud Made Easy - August 2017
Franco Ucci
 
PDF
Oracle E-Business Suite On Oracle Cloud
pasalapudi
 
PDF
How to get started with Oracle Cloud Infrastructure
Simo Vilmunen
 
PDF
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
vasuballa
 
PPTX
Oow2016 review--paas-microservices-
Getting value from IoT, Integration and Data Analytics
 
PPTX
Switching to Oracle Document Cloud
Brian Huff
 
PDF
Oracle IaaS Overview - AIOUG Hyderabad Chapter
aioughydchapter
 
PDF
What You Need to Know about Oracle Cloud Connectivity
Simon Haslam
 
PPTX
The True State of the Oracle Public Cloud - Dutch Oracle Architects Platform ...
Lucas Jellema
 
PPTX
Cedar Day 2018 - Cloud IaaS - Ken MacMahon
Cedar Consulting
 
PPTX
Cloud in Action
Franco Ucci
 
PPTX
Cloud Done Right - PaaS is the Remedy to VM Hangover
Mohamad Afshar
 
Tips & Tricks for Oracle PaaS Admins
Simon Haslam
 
Tips & Tricks for Oracle PaaS Admins
Simon Haslam
 
Connecting Oracle Cloud to your Data Centre (Part A)
Simon Haslam
 
Platform Provisioning Automation for Oracle Cloud
Simon Haslam
 
OOW16 - Oracle E-Business Suite in Oracle Cloud: Technical Insight [CON6723]
vasuballa
 
EBS Upgrade to Oracle Cloud Platform
Fumiko Yamashita
 
Oracle IaaS including OCM and Ravello
Andrey Akulov
 
Valor diferencial de la propuesta cloud
OracleIberia
 
Cloud Made Easy - August 2017
Franco Ucci
 
Oracle E-Business Suite On Oracle Cloud
pasalapudi
 
How to get started with Oracle Cloud Infrastructure
Simo Vilmunen
 
OOW16 - Oracle E-Business Suite Information Discovery: Your Journey to the Cl...
vasuballa
 
Oow2016 review--paas-microservices-
Getting value from IoT, Integration and Data Analytics
 
Switching to Oracle Document Cloud
Brian Huff
 
Oracle IaaS Overview - AIOUG Hyderabad Chapter
aioughydchapter
 
What You Need to Know about Oracle Cloud Connectivity
Simon Haslam
 
The True State of the Oracle Public Cloud - Dutch Oracle Architects Platform ...
Lucas Jellema
 
Cedar Day 2018 - Cloud IaaS - Ken MacMahon
Cedar Consulting
 
Cloud in Action
Franco Ucci
 
Cloud Done Right - PaaS is the Remedy to VM Hangover
Mohamad Afshar
 
Ad

More from Simon Haslam (16)

PDF
Platform Engineering for the Modern Oracle World
Simon Haslam
 
PDF
Better Practices when Using Terraform to Manage Oracle Cloud Infrastructure
Simon Haslam
 
PDF
The Kubernetes WebLogic revival (part 2)
Simon Haslam
 
PDF
The Kubernetes WebLogic revival (part 1)
Simon Haslam
 
PDF
Terrraform meet Oracle Cloud: Platform Provisioning Automation
Simon Haslam
 
PDF
Delivering Mobile Apps to the Field with Oracle
Simon Haslam
 
PDF
Oracle SOA Cloud - Skanska Customer Journey
Simon Haslam
 
PDF
Delivering Mobile Apps to the Field with Oracle JET
Simon Haslam
 
PDF
JET Hybrid Mobile Apps - taster for Oracle CodeOne
Simon Haslam
 
PDF
Delivering Mobile Apps to the field using Oracle
Simon Haslam
 
PDF
SSL Everywhere!
Simon Haslam
 
PDF
Java & SOA Cloud Service for Fusion Middleware Administrators
Simon Haslam
 
PDF
What should I do now?! JCS for WebLogic Admins
Simon Haslam
 
PDF
Living with the Oracle Database Appliance
Simon Haslam
 
PDF
Enterprise Deployments: The Real World of Best Practices
Simon Haslam
 
PDF
High Availability Options for Oracle Enterprise Manager 12c Cloud Control
Simon Haslam
 
Platform Engineering for the Modern Oracle World
Simon Haslam
 
Better Practices when Using Terraform to Manage Oracle Cloud Infrastructure
Simon Haslam
 
The Kubernetes WebLogic revival (part 2)
Simon Haslam
 
The Kubernetes WebLogic revival (part 1)
Simon Haslam
 
Terrraform meet Oracle Cloud: Platform Provisioning Automation
Simon Haslam
 
Delivering Mobile Apps to the Field with Oracle
Simon Haslam
 
Oracle SOA Cloud - Skanska Customer Journey
Simon Haslam
 
Delivering Mobile Apps to the Field with Oracle JET
Simon Haslam
 
JET Hybrid Mobile Apps - taster for Oracle CodeOne
Simon Haslam
 
Delivering Mobile Apps to the field using Oracle
Simon Haslam
 
SSL Everywhere!
Simon Haslam
 
Java & SOA Cloud Service for Fusion Middleware Administrators
Simon Haslam
 
What should I do now?! JCS for WebLogic Admins
Simon Haslam
 
Living with the Oracle Database Appliance
Simon Haslam
 
Enterprise Deployments: The Real World of Best Practices
Simon Haslam
 
High Availability Options for Oracle Enterprise Manager 12c Cloud Control
Simon Haslam
 
Ad

Recently uploaded (20)

PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 

Tips & Tricks for Java & SOA Cloud Service

  • 1. Copyright © 2017, eProseed UK Ltd TIPS & TRICKS FOR JAVA & SOA CS Simon Haslam Technical Director eProseed 1
  • 2. Copyright © 2017, eProseed UK Ltd. INTRODUCTION Simon Haslam • Platform / Infrastructure Architect with a focus on HA, DR, automation etc • Using Oracle products since 1994 (Oracle7) • Formerly UKOUG App Server & Middleware SIG Chair About eProseed • Multi award-winning Oracle Platinum Partner • HQ in Luxembourg with 9 subsidiaries across the world including UK, NL, PT, KSA, USA & now Australia! • A highly technical Oracle practice with 7 active ACEDs
  • 3. Copyright © 2017, eProseed UK Ltd. 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 [email protected]
  • 4. Copyright © 2017, eProseed UK Ltd. INSPIRATION FOR THIS PRESENTATION I have a note where I keep “tips & tricks” I find as I work… – This is my current list but is work in progress (I haven’t done everything possible in PaaS ☺ ) – Some are opinions, mainly with an Ops/Admin focus – YMMV! – I have perfectionist tendencies (but am in therapy!) and want to improve each batch of environments I provision – Oracle Cloud changes all the time (monthly releases) – in future they may change/become irrelevant – Even if you are not using SOA CS or JCS today hopefully they may be a useful reference for later 4
  • 5. Copyright © 2017, eProseed UK Ltd. THERE’S NO MAGIC HERE, FOLKS! 5
  • 6. Copyright © 2017, eProseed UK Ltd. 6 • Setup and Identity • VMs: SSH and internal access • SSL & Certificates • Networking & VPN • Provisioning
  • 7. Copyright © 2017, eProseed UK Ltd. TIP 1: PRACTICE ON A TRIAL ACCOUNT 8 • There’s a lot to learn: – User management – How consoles look, what names fit – Auto generated names – You usually (pre-OIC) have one identity domain for both live and test – consider that for organisation – You will probably end up with things in the wrong place – usually it’s easier/quicker to start fresh – Makes you less nervous about creating stuff that might cost £££! • If you get to choose name your domain very carefully! – Depends on how cloud was purchased and type – may get choice or maybe just a123456 – Oracle added feature to rename but that is superficial
  • 8. Copyright © 2017, eProseed UK Ltd. TIP 2: CHOOSE YOUR IDENTITY DOMAIN CAREFULLY 9 • Name is used a lot in URLs and references – Since IDCS + PaaS name is in log-in URL too, e.g. https://myservices-eproseeduk.console.oraclecloud.com • You may or may not get to choose – Depends on how cloud was purchased and type – may get choice or maybe just a123456 – Oracle added feature to rename but that is superficial • Domains can’t be re-used later AFAIK so think about it carefully especially if you are a multi-national – E.g. I recently created “eproseeduk” in case we want to use “eproseed” globally – Are there annoying domain squatters out there…? • This is probably vanity/perfectionism led! Most corporates may be happy with a123456 ☺
  • 9. Copyright © 2017, eProseed UK Ltd. TIP 3: CREATE A PROVISIONING USER • The username of user who creates instances & other artefacts ends up in URIs. Default usernames are email addresses. • Create a provisioning user • Create the provisioning user as a name, not an email address – I like something short, typically just the organisation name 10
  • 10. Copyright © 2017, eProseed UK Ltd. TIP 4: CREATE A STORAGE USER • The domain name is in the storage container name BUT the storage user is what the PaaS instances use for backup/restore. • OPC user passwords expire after ~4 months – you can’t prevent this – If you let them expire your backups will break – If your database backups break you start using more Recovery Area – If your Recovery Area fills up the database archiver can’t archive the redo log – If the archiver can’t archive the redo log the db can’t do a log switch – BANG! • OPC “password change dance” was possible but probably won’t be for long • Create a separate storage user to limit the scope of a password change 11 Practise change of OPC storage user password before user expiry!!!
  • 11. Copyright © 2017, eProseed UK Ltd. 12 • Setup and Identity • VMs: SSH and internal access • SSL & Certificates • Networking & VPN • Provisioning
  • 12. Copyright © 2017, eProseed UK Ltd. TIP 5: CREATE SSH USERS FOR VM ADMINS • Have a central OPC SSH key-pair • I typically have one for production and one for dev-test – You may choose to have a super-user keypair per instance (if you have good key management) • Don’t give out the OPC private key for admin use 13
  • 13. Copyright © 2017, eProseed UK Ltd. TIP 6: CREATE UNIX USERS ONLY USING SCRIPTS • Only specific users are allowed to SSH in (hard-coded list in sshd_config) • SSH is used for ALL low level access to the VM – Your admins – The OPC admin account – Oracle Cloud tooling • If you break the SSH login configuration you will not be able to log in! – The VM boot attempts to make sure oracle and opc keys are correct – Oracle SM can try to push in a new OPC key only if cloud tooling access is working • JCS built-in opc user setup/repair scripts are different to DBaaS! • You only really find out for sure after an instance restart 14
  • 14. Copyright © 2017, eProseed UK Ltd. TIP 7: CREATE AT LEAST 3 VM UNIX USER GROUPS • It’s pretty rare for admins to need SSH access to PaaS VMs: – Non-privileged user is not too much use (possibly for tunnelling SQL*net if you don’t have VPN) – User allowed to sudo to oracle <= most common – User allowed to sudo to root • Needed to fix backup issues, even though they are often just writing to an Oracle owned filesystem or calling RMAN 15
  • 15. Copyright © 2017, eProseed UK Ltd. 16 • Setup and Identity • VMs: SSH and internal access • SSL & Certificates • Networking & VPN • Provisioning
  • 16. Copyright © 2017, eProseed UK Ltd. TIP 8: PUT ASIDE TIME FOR TLS CONFIGURATION • Oracle doesn’t do much for you on TLS (SSL) – JCS/SOACS use demo certificates with Cert Gen CA (i.e. easy to forge) – Uses Key Store Service in database (new with 12.1.2) • You can re-use all your old WLST etc for TLS config though ☺ – But if you have an internal CA some of the Cloud Monitoring (if you use that) breaks 17 With any luck Oracle will build (or buy) its own Certificate Authority – then it could set up TLS automatically
  • 17. Copyright © 2017, eProseed UK Ltd. 18 • Setup and Identity • VMs: SSH and internal access • SSL & Certificates • Networking & VPN • Provisioning
  • 18. Copyright © 2017, eProseed UK Ltd. TIP 9: USE IP NETWORKS • “IP Networks” on Oracle Cloud Infrastructure Classic allow you to choose your own network numbering, and VMs to talk directly to one another • “Shared Network” is the original network where every VM is allocated to a 4-IP subnet… adds all sorts of complexity • Going forward: IP Networks (and OIC equivalent) will dominate – No migration path – you have to re-provision – If you have any choice then set up IP Networks from the start! 19
  • 19. Copyright © 2017, eProseed UK Ltd. 20 • Setup and Identity • VMs: SSH and internal access • SSL & Certificates • Networking & VPN • Provisioning
  • 20. Copyright © 2017, eProseed UK Ltd. TIP 10: CREATE 1 STORAGE CONTAINER PER INSTANCE • When you create service instances that are fully managed by Oracle Cloud (i.e. not Virtual Image service types) you need to supply Storage Cloud container • It’s tempting to have one big bucket but don’t… – remember in the future you may have 20 instances but want to delete one including its backups – a storage container makes this much easier to track • You now have an option in console and REST API to create a new container at provisioning time – I’m not really sure why this isn’t the default 21
  • 21. Copyright © 2017, eProseed UK Ltd. TIP 11: PROVISIONING USER IS ONLY USED BY SCRIPTS • We’ve got a special provisioning user – make sure it is only used by scripts, and not for administration functions 22 Cloud Ops/Admins should have their own OPC users with appropriate privs (easy to revoke etc – remember OPC console is available outside the corporate firewall)
  • 22. Copyright © 2017, eProseed UK Ltd. 23 • Setup and Identity • VMs: SSH and internal access • SSL & Certificates • Networking & VPN • Provisioning
  • 23. Copyright © 2017, eProseed UK Ltd. SUMMARY • Oracle PaaS experience is very similar to what you’re used to for on-prem systems ☺ • You still need to plan your environments • Support is about the same as before • Follow my tips ☺ • Mostly “it just works” 24
  • 24. Copyright © 2017, eProseed UK Ltd. MY PRESENTATION TOMORROW! Connecting Oracle Cloud to Your Data Centre: A Detailed Walk-through Tomorrow (Monday 4th Dec.) 16:55 – 17:40 Hall 6B 25
  • 25. Copyright © 2017, eProseed UK Ltd. 18th April 2018 Park Plaza Leeds Last chance to submit you papers on: • APEX • Database • Development • RAC Cloud infrastructure & Availability • Systems Call for papers close 12th December 17:00
  • 26. Copyright © 2017, eProseed UK Ltd. Where? Hall 4 Tech17 Community drinks When? Monday 18:45 – 19:45