Upload
others
View
28
Download
0
Embed Size (px)
Citation preview
13-Nov-16 1
Ami Aharonovich
Oracle ACE & OCP
Getting Started with
Oracle DBaaS
2
About Me
Oracle ACE
Oracle Certified Professional DBA (OCP)
Founder and CEO, Brillix-DBAces
President, Israel Oracle User Group
Ambassador, EMEA Oracle User Group Community
Oracle DBA consultant and instructor, specializing in Oracle database core technologies
Frequent speaker at Oracle Open World annual event and various user group conferences around the globe
3
About Brillix-DBAces
We offer complete, integrated end-to-end solutions based on best-of-breed innovations in data platforms, data security and big data technologies
We provide complete end-to-end 24x7 expert remote database services
4
About Brillix-DBAces
We offer professional customized on-site trainings, delivered by our top-notch world recognized instructors
We are committed to provide the highest quality of products and services delivered by our world renowned team of industry’s top data experts
5
Our Customers
6
Quarterly e-magazine with exciting stories, funny comic strips,
user group events, interesting surveys and infographics, and more…
Subscribe Now – It’s Free!Submit your own articles, ideas or events
www.oraworld.org
ORAWORLD
Free, Brand New E-Magazine
for Oracle Users Around the World
7
Agenda
• Cloud Computing
• Oracle Cloud Solutions
• Introduction to DBaaS
• Benefits of DBaaS
• DBaaS Business Case
• DBaaS Packages
• Database Cloud Deployments
• Oracle Database Cloud Service
• Creating an Oracle DBaaS
• Live Demo
8
Imagine the World of CaaS (Car as a Service)
9
The Journey to the Cloud
10
Cloud Computing
• Internet-based computing that provides shared computer
processing resources and data, on demand
• Allows businesses to avoid upfront infrastructure costs
• Enables organizations to focus on their core businesses
instead of spending time and money on the infrastructure
“Just as every home or company
doesn’t have its own water well or
power plant, most companies won’t
run their own data centers”(Larry Ellison, OOW October 2016)
11
Oracle Cloud Solutions
• “The broadest collection of cloud services on the market”
• Solutions at every layer of the cloud technology stack
• Ability to move applications and workloads between the
cloud and on premises environments swiftly and easily
• 19 worldwide data centers
12
Oracle Cloud Solutions
• Software as a Service (SaaS): modern cloud applications,
from customer experience to ERP, HCM and more
• Platform as a Service (PaaS): delivering Oracle Database
and application server (Oracle WebLogic Server)
• Infrastructure as a Service (IaaS): infrastructure services
including elastic computing and storage, fully integrated
environment, optimized for the cloud, provides unified
security model
13
14
What Is It?
• Complete Oracle database instance in a VM
• The same familiar Oracle database – just in a cloud
• Full access to features and operations that are available with
Oracle database, while Oracle hosts the VM and cloud storage
(full administrative control, root OS and SYS database access)
• Use your familiar tools to connect to the database
• Extreme database performance using Oracle Database
Exadata Cloud Service
15
Why Database in the Cloud?
• Proven dramatic reduction of capital expenses
• Lower operational expense and risk
• Simplified management
• Agile environment for rapid change
44% of businesses will use
some form of DBaaS by 2017
46% of businesses that adopt
DBaaS use it for dev/test
16
The Business Case for DBaaS
• Higher productivity – DBAs are freed from routine tasks
• Higher innovation – IT staff can focus on value-add tasks
• Greater scalability – incrementally expand IT resources
• Lower costs – pay as you grow
Assessment tool: Oracle Database as a Service ROI Calculator
Public and Private
Cloud Environments
Lower
Costs
Greater
Scalability
17
The Benefits of DBaaS
• On-demand self-service – DBAs and developers quickly
provision the database resources they need
• Rapid Elasticity – add, remove and reassign databases as
well as compute, memory and storage resources on demand
• Measured usage – users and providers measure resource
consumption to help control costs
• Resource pooling – flexible, shared architecture that can
expand and contract as needed
18
Self-Service Database
• Developers can set up their own databases in minutes,
never worry about managing, controlling or even
understanding the underlying infrastructure
• DBAs can focus on more strategic activities, developers
can immediately start creating/deploying new applications
• Managers can boost productivity and innovation
• Executives increase business agility while reducing
operating expenses
19
Database Cloud Deployments
• Private – the business owns and manages its own cloud
computing resources on premises
• Public – the DBaaS provider owns both the database
hardware and the software on behalf of the customer
• Hybrid – takes advantage of both private and public cloud
resources
20
Transparent Database Migration
Across Hybrid Clouds
• Oracle public and private DBaaS are built on shared
standards and technologies
• Database works exactly the same, allowing full portability
between on premise and cloud environments
• DBAs can use same common database tools to manage
environments (SQL Developer, SQL*Plus, OEM)
21
Oracle Database Cloud Service
• Fast – provision a complete database in just a few minutes
• Flexible – dedicated database instance or schema, either
self-managed or fully managed by Oracle
• Simple – a few clicks to provision a database instance or a
complete development and deployment environment
• Subscription-Based – pay-as-you-go with hourly/monthly
subscriptions
22
Oracle Database Cloud Service
• Choice – choose from database versions, editions, and options
• Integrated – seamless integration with all Oracle cloud services
• Elastic – add capacity on-demand and scale OLTP and DW
workloads as your business grows
• Secure – fully protects the entire lifecycle of data both in transit
and in rest. Database access is monitored and recorded for
audit control at all times
23
Oracle Database Exadata Cloud Service
• All benefits of Exadata, fully compatible with existing databases
on premise, largest most business-critical database workloads
• Support OLTP, DW, real-time analytics and mixed workloads at
any scale
• You maintain control of your database, Oracle manages
infrastructure (hardware, storage and networking)
Product Price Metric Additional Details
Exadata Cloud Service
– Quarter Rack
(Non-Metered Service)$40,000
Hosted Environment
Per Month
16 enabled OCPUs (up to 52 additional)
2 DB nodes with 240 GB RAM per node
144 TB raw storage or 42 TB of usable storage
Unlimited I/Os
24
Oracle Database Exadata Express Cloud Service
(Fully Managed)
• Full Oracle Database as a managed cloud service running
on Exadata (1 PDB of EE, 20/50 GB of database storage)
• Provisioned in minutes, an affordable entry-level price
• Ideal for small to medium sized data
• Fully managed by Oracle
• Oracle Database Enterprise Edition plus options,
running on Exadata, with Oracle Net connectivity
• X50IM includes additional 5GB RAM for DBIM
25
Oracle Database Schema Cloud Service
(Managed)
• One schema of Oracle Database 11g
• Choice of 5, 20 or 50 GB of database storage (1GB trial)
• Data access using RESTful Web Services or included
browser-based application development framework (APEX)
• Data is encrypted by default in your tablespace to help
protect sensitive information
• Database is fully managed by Oracle
26
Oracle Database Cloud Service – Packages
• All packages include Oracle TDE
• Standard package includes the Oracle Database SE
• Enterprise package includes the Oracle Database EE
• High performance package extends the enterprise package
with ALL database EE options and packs except for RAC,
In-Memory DB and Active Data Guard
• Extreme performance package extends the high performance
package with RAC, In-Memory DB and Active Data Guard
https://shop.oracle.com/cloudstore/index.html?product=database
27
Creating an Oracle DBaaS
• Create SSH Keys
• Create Database Cloud Service Instance
• Enable Secure Network Access
• Access Database with SQL Developer or SQL*Plus
• Monitor Database with DBaaS Monitor
28
Creating an Oracle DBaaS – Prerequisites
• Activate trial or paid subscription to Oracle Database Cloud
– Database as a Service (DBaaS)
• Install PuTTY for Windows (www.putty.org)
• Install latest version of Oracle SQL Developer (from OTN)
29
Create SSH Keys
• Generate and store private and public key pair on local PC
• Create a DBaaS instance, providing the public key
• SSH connection is authenticated using the key pair
30
31
32
33
34
35
36
37
38
39
40
41
42
Creating an Oracle DBaaS – Create Instance
• Oracle database cloud service:
– DB Software pre-installed, DB instances are created for you
using configuration options provided in the wizard
– Additional cloud tools available for backup, recovery and patching
• Oracle database cloud service – virtual image:
– DB software pre-installed, DB instances are created by you
manually or using DBCA
– No additional cloud tools available
• Billing frequency: hourly or monthly
43
Creating an Oracle DBaaS – Create Instance
• 11g R2 (11.2.0.4), 12c R1 (12.1.0.2), 12c R2 (12.2.0.1),
installed on Oracle Linux 6.6. Software editions:
– Standard edition
– Enterprise edition
– Enterprise edition high performance: all features of EE plus all
enterprise management packs and all EE options except for
Active Data Guard, In-Memory Database and RAC
– Enterprise edition extreme performance: all features of EE plus
all enterprise management packs and all EE options
44
Creating an Oracle DBaaS – Create Instance
Configure your Service Details:
• Service configuration: name, description, compute shape,
timezone, SSH public key
• Database configuration: storage size, admin password, name
(SID), PDB name, character set, Data Guard, GoldenGate
• Backup and recovery configuration: backup destination,
cloud storage container, cloud storage username/password,
total estimated monthly storage
45
Creating an Oracle DBaaS –
Enable Secure Network Access
• Either use SSH keys to create SSH tunnel to your instance
or open specific ports which are closed by default
• Open the needed ports to access your DBaaS:
– Go to “Oracle Compute Cloud Service” console
– Select the “Network” tab
– Enable the following two ports: ora_p2_dblistener (for 1521)
and ora_p2_httpssl (for DBaaS monitor)
46
47
48
49
Useful Links
• https://cloud.oracle.com/tryit
• https://cloud.oracle.com/database
• http://oracle.com.edgesuite.net/ebook/dbaas/
• https://shop.oracle.com/cloudstore/index.html?product=database
• https://dbaas.oraclecloud.com (sign in to Oracle cloud)
• www.oracle.com/goto/oll (Oracle Learning Library)
– Oracle Database Cloud – Database as a Service Quick Start
– Remote Cloning Method to Migrate On-Premise Databases to the Cloud
– Oracle Exadata Express Cloud Service Product Tour Video
– Backing Up and Restoring a Database Cloud Service (DBaaS)