Welcome to databases
in the Cloud
Latin American OTN Tour – August 2017
Nelson Calero
• Database Consultant at Pythian since 2014
• Working with Oracle tools and Linux environments since 1996
• DBA Oracle (2001) & MySQL (2005)
• Co-founder and President of the Oracle user Group of Uruguay (2009)
• LAOUC Director of events (2013)
• Computer Engineer (1998)
• Oracle ACE (2014), Oracle ACE Director (2017)
• Oracle Certified Professional DBA 10g/11g/12c (2008)
• Amazon Solutions Architect – Associate since (2016)
• Oracle University Instructor (2011)
• Blogger and speaker: Oracle Open World, Collaborate, OTN Tour, Regional conferences
About me
2 © 2017 Pythian
http://www.linkedin.com/in/ncalero @ncalerouy
Pythian overview
© 2015 Pythian Confidential3
• 20 Years of data infrastructure management consulting
• 250+ Top brands
• 11800+ systems under management
• 400+ employees in 35 countries
• 10 Oracle ACEs, 4 ACED,
3 OakTable members, 2 OCM, 6 Microsoft MVPs,
1 Cloudera Champion of Big Data,
AWS Certified Solutions Architect – 2 Professional, 12 Associate
• Oracle, Microsoft, MySQL, Hadoop, Cassandra, MongoDB, and more
• Infrastructure, Cloud, DevOps, and application expertise
Welcome to databases in the cloud
• Introduction to Cloud Computing
• Offerings
• Components and costs
• Changes for DBAs
• Outline of procedures using Oracle Cloud
4 © 2017 Pythian
Cloud Computing
“Cloud computing is a model for enabling ubiquitous,
convenient, on-demand network access to a shared
pool of configurable computing resources (e.g.,
networks, servers, storage, applications, and services)
that can be rapidly provisioned and released with
minimal management effort or service provider
interaction.”
National Institute of Standards and Technology, 2011
http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-145.pdf
5 © 2017 Pythian
Cloud Computing – Why?
• provisioning on demand
– no need to worry about hardware
• scalable (elastic)
– use only what you need
• resilient
– several geographic regions with automatic failover
• cost
– pay for what you use, based on IO, CPUs, space or executions
• easy to manage
– automated features (backups, DR, monitoring, alerting)
• SOA architecture – many services available
6 © 2017 Pythian
Cloud Computing – Why?
7 © 2017 Pythian
Cloud Computing - Offerings
History (available):
– Amazon: AWS (2006)
– Microsoft: Azure (2010)
– Google: GCP (2013)
– Oracle: OC (2014)
– Others: many
Each provider is (somehow) different
– Similar services, different names (ex: tape solutions: Glacier / Coldline / Archive)
– Usage billed per hour or minute
– Licence costs can change (vCPU != OCPU)
– Discounts policies, etc.
8 © 2017 Pythian
9 © 2017 Pythian
Source:
Gartner
Cloud Computing - Glossary
• Services
– SaaS (Applications)
– PaaS (Platform)
– IaaS (Infrastructure)
• Other
– FaaS
– Serverless
10 © 2017 Pythian
• Deployment Types
– Private
– Managed (Public)
– Hybrid
– Multicloud
Cloud Computing - Glossary
11 © 2017 Pythian
https://blogs.oracle.com/futurestate/when-cloud-meets-on-premise:-a-story-of-two-applications
12 © 2017 Pythian
13 © 2017 Pythian
14 © 2017 Pythian
Cloud Computing - Resources
• Storage
– Persistent with different IOPS capabilities
– Volatile for specific use cases
• Managed Databases
– No direct access to server (RDS), managed using web console
– Customized for different use cases (OLTP, NoSQL, Analytics, etc.)
• Compute
– Instances with different resource combination (vCPU/RAM/IO)
• Network
– Router, Gateway, Global DNS, Load Balancer, CDN
15 © 2017 Pythian
Cloud Computing – Network
16 © 2017 Pythian
• Datacenters across the world - regions
• Availability zones/domains inside a
region to provide automatic failover of
services
• Client connectivity is routed by load
balancer to nearest location (less
latency)
– Needs configuration
– Depends on provider coverage
• Real network topology is known?
Image from:
https://cloud.google.com/products/networking/
Cloud Computing – Network
17 © 2017 Pythian
Cloud computing - security
18 © 2017 Pythian
https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm
19 © 2017 Pythian
https://cloud.oracle.com/en_US/bare-metal-network/vcn/faq
Hybrid network setup for HA
Cloud Computing - Security
• Identity and Access Management (IAM)
• Virtual Network with per-service privilege
– Virtual Cloud Network (VCN – Oracle)
– Virtual Private Cloud (VPC – AWS), Cloud Virtual Network (VCN – Google)
• Hybrid deploy to extend On-Premises network
– using IPSec VPN or direct connectivity:
• Oracle FastConnect, AWS Direct connect, Google Interconnect
• Non managed servers - ssh access using keys
• Oracle database services
– native network encryption used by default
– SSL/TLS can be configured
– user tablespaces encrypted by default - even in SE
– Oracle Data Masking and Subsetting Pack – license included for source with High
Performance, Extreme Performance, and Exadata Service subscriptions.
20 © 2017 Pythian
Cloud Computing - Management
• Web GUI
• CLI (non-managed services)
• REST
• SDK for several programming languages (java, php, python, etc.)
• Oracle Management Cloud (OMC) - real-time analysis
– Application Performance Monitoring Cloud Service
– Log Analytics Cloud Service
– IT Analytics Cloud Service
– Infrastructure Monitoring Cloud Service
• Automated tasks
– backup with point-in-time recovery
– patching
– upgrades
21 © 2017 Pythian
Cloud Computing - Costs
• Based on resource usage: IOPS, CPUs (time), Space, Network transfer
• Metered
– pay as you go
– pre-paid
• Non metered
• Limit per service (quota), we can request to increase it
• vCPU definition by different providers
– Oracle Compute Units (OCPUs), AWS Core (2vCPU for Oracle)
• Discounts
– Amazon: reserved instances
– Google: sustained usage / committed-use
– Oracle: TBD
• TCO calculator from each provider
https://cloudplatform.googleblog.com/2015/01/understanding-cloud-pricing.html
22 © 2017 Pythian
Cloud Computing – Use cases
Use cases
• Backup target
• Non prod environments
• DR solution
• New services adoption
– Analytics, Big data
– Exposing services with API
• Rapid deploy of new
applications
23 © 2017 Pythian
Considerations
• I/O bandwidth for initial copy and
periodical refresh
• Data masking needed
• Stress tests costs
• Application readiness
• Industry regulations
• Network Latency
Oracle Cloud offering – for databases
• Database Cloud Services
• Database Cloud Services – Bare metal
• Database Exadata Cloud Service
• Database Exadata Cloud Machine (on-premises)
Managed (no DBA required)
• Database Exadata Express Cloud Service
• Database Schema Cloud Service
Related
• Database Cloud Backup Service
• Storage & Compute
24 © 2017 Pythian
Oracle Database Cloud Service
• Subscription type
– Standard
– Enterprise
– High performance (Multitenant, partititoning, RAT, Compression, ASO, Diagnostics &
Tuning pack and more)
– Extreme performance (+RAC, In-Memory, ADG)
NOTE: All subscriptions includes TDE
• Price: Metered or Non Metered as Service or VM
– Per OCPU
– General purpose or High-Memory Compute
– Plus Storage Service and Database Backup Service charges
Step by step guide: http://www.toadworld.com/platforms/oracle/w/wiki/11616.getting-started-with-oracle-database-cloud-service
25 © 2017 Pythian
26 © 2017 Pythian
© 2015 Pythian Confidential27
© 2015 Pythian Confidential28
© 2015 Pythian Confidential29
© 2015 Pythian Confidential30
© 2015 Pythian Confidential31
© 2015 Pythian Confidential32
Oracle Database Cloud Service - scaling
Oracle DB Cloud Backup Service
• Backup on-premises or Cloud instances/services
• Using RMAN with Cloud backup module
– Needs to download from OTN and install for on-premises use
– Already installed and configured on Cloud services
– It can be called using REST API – single call
• Billing:
– storage capacity (Gb stored per month)
– outbound data transfer (Gb outbound data transfer per month)
– PUT, COPY, POST or LIST requests (REST) - 1000 free per month
– GET and all others - 10000 free per month
33 © 2017 Pythian
Oracle Cloud offering – Bare metal
IaaS - Bare metal - Compute service
• Bare metal instances
– Physical server fully dedicated
– No Oracle installed software – under our full control
– OS available to choose or we install what we want (BYOD)
• VM Instances – sharing the server
• Instance types:
– Standard - general purpose: 18 cores, NAS 50Gb to 2Tb per volume, up to 32 (64Tb)
– HighIO - High performance storage: 18 cores, 12.8Tb SSD local storage
– DenseIO: 18 cores, 28.8Tb SSD local storage
• Storage options
– Local storage (SSD), Block volumes, Object storage
34 © 2017 Pythian
35 © 2017 Pythian
Oracle databases in the Cloud
• Instance type can limit IO throughput (AWS)
• Measure IO (capacity and latency) before deploying services to
confirm they are as expected – SLOB
– Step by step guide: https://blog.dbi-services.com/slob-in-the-cloud-how-to-check-cloud-services-performance/
• Double check if provider is supported by Oracle
– GCP not listed yet
– Oracle changed license on Jan 2017, counting vCPU = 2 OCPU
• Double check if your options are supported
– RAC only on Oracle Cloud, despite AWS and Azure docs explains the installation
36 © 2017 Pythian
Cloud DBA?
• Some things are no longer needed now
– Hardware maintenance
• Some things are automated now – only requires configuration
– Backups, Replication, DR, Monitoring, Alerting
• Some things are as usual
– Schema design, change management, stress test, cloning, etc.
• Some things are more important now (maybe new to you)
– Capacity planning to choose the proper instance types
– Architecting solutions (choosing among lot of services)
– Monitor billing is under control (initial config, implement archiving of unused data,..)
– Orchestration, interoperability, end-to-end performance troubleshooting, …
37 © 2017 Pythian
Cloud DBA?
• Some things are no longer needed now
– Hardware maintenance
• Some things are automated now – only requires configuration
– Backups, Replication, DR, Monitoring, Alerting
• Some things are as usual
– Schema design, change management, stress test, cloning, etc.
• Some things are more important now (maybe new to you)
– Capacity planning to choose the proper instance types
– Architecting solutions (choosing among lot of services)
– Monitor billing is under control (initial config, implement archiving of unused data,..)
– Orchestration, interoperability, end-to-end performance troubleshooting, …
38 © 2017 Pythian
Cloud Architect?
Cloud DBA?
• Some things are no longer needed now
– Hardware maintenance
• Some things are automated now – only requires configuration
– Backups, Replication, DR, Monitoring, Alerting
• Some things are as usual
– Schema design, change management, stress test, cloning, etc.
• Some things are more important now (maybe new to you)
– Capacity planning to choose the proper instance types
– Architecting solutions (choosing among lot of services)
– Monitor billing is under control (initial config, implement archiving of unused data,..)
– Orchestration, interoperability, end-to-end performance troubleshooting, …
39 © 2017 Pythian
Database Architect?
Cloud DBA?
• Some things are no longer needed now
– Hardware maintenance
• Some things are automated now – only requires configuration
– Backups, Replication, DR, Monitoring, Alerting
• Some things are as usual
– Schema design, change management, stress test, cloning, etc.
• Some things are more important now (maybe new to you)
– Capacity planning to choose the proper instance types
– Architecting solutions (choosing among lot of services)
– Monitor billing is under control (initial config, implement archiving of unused data,..)
– Orchestration, interoperability, end-to-end performance troubleshooting, …
40 © 2017 Pythian
Modern DBA?
Time for more?
Questions?
41
calero@pythian.com
@ncalerouy
http://www.linkedin.com/in/ncalero
© 2017 Pythian
DBA procedures in the Cloud
Quick overview of usual procedures, now using the cloud
– Migration
– Backups
– DR
42 © 2017 Pythian
Migration to the Cloud
• Architecting the solution
– Plan the services to use according to application – only database?
– Capacity planning to decide instance types
– Time to make changes to app?
• Initial data transfer
– Direct connectivity?
– Service to ship disks - Google Transfer Appliance, Amazon Snowball
• Migration
– ADM (Amazon Database Migration Service)
– Oracle Golden Gate – on-premise or Cloud service
• Configure billing alerts
43 © 2017 Pythian
Backup databases to the Cloud
• Using Oracle Backup service
– From on-premises or Cloud instances/services
– Use RMAN with Cloud backup module
• Needs to download from OTN and install for on-premises use
• Already installed and configured on Cloud services
– Automated on Managed Database Cloud services
• We do nothing, it is done by default
• Using any other Cloud storage
– Oracle provides OSB module for AWS – on-premise RMAN to S3
– Attach any external storage to use filesystem
Step by step procedure: https://www.pythian.com/blog/part-3-comparing-oracle-cloud-database-backups-options/
44 © 2017 Pythian
Backup to the Cloud – from on-premises
45 © 2017 Pythian
Backup to the Cloud – from Cloud
http://www.oracle.com/technetwork/database/features/availability/twp-oracledatabasebackupservice-2183633.pdf46 © 2017 Pythian
DR using the Cloud
• Already included in Managed services
• Classical approach on Bare Metal – manual intervention needed
• MAA 100% cloud is possible
– RAC and Dataguard
– Reduce license costs taking advantage of metered on-demand provisioning (no
need to have unused CPUs for redo apply)
• Ready to change the application when on-premises DB fails?
– Cloud as standby for on-premises
– Cloud as target to recover backups
47 © 2017 Pythian
References - documentation
• Oracle cloud documentation
https://cloud.oracle.com/
• AWS documentation
https://aws.amazon.com/documentation/
• Google Cloud
https://cloud.google.com/
• Oracle Learning Library / Cloud
http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/dbaas/dbcs_quick_start/oracle_database_cloud_service_dbaas_q
uick_start.html
• Oracle Database Cloud Service Quick Start
https://apexapps.oracle.com/pls/apex/f?p=44785:5:14275142274722::NO::P5_PRODUCT:Cloud
48 © 2017 Pythian

Welcome to databases in the Cloud

  • 1.
    Welcome to databases inthe Cloud Latin American OTN Tour – August 2017 Nelson Calero
  • 2.
    • Database Consultantat Pythian since 2014 • Working with Oracle tools and Linux environments since 1996 • DBA Oracle (2001) & MySQL (2005) • Co-founder and President of the Oracle user Group of Uruguay (2009) • LAOUC Director of events (2013) • Computer Engineer (1998) • Oracle ACE (2014), Oracle ACE Director (2017) • Oracle Certified Professional DBA 10g/11g/12c (2008) • Amazon Solutions Architect – Associate since (2016) • Oracle University Instructor (2011) • Blogger and speaker: Oracle Open World, Collaborate, OTN Tour, Regional conferences About me 2 © 2017 Pythian http://www.linkedin.com/in/ncalero @ncalerouy
  • 3.
    Pythian overview © 2015Pythian Confidential3 • 20 Years of data infrastructure management consulting • 250+ Top brands • 11800+ systems under management • 400+ employees in 35 countries • 10 Oracle ACEs, 4 ACED, 3 OakTable members, 2 OCM, 6 Microsoft MVPs, 1 Cloudera Champion of Big Data, AWS Certified Solutions Architect – 2 Professional, 12 Associate • Oracle, Microsoft, MySQL, Hadoop, Cassandra, MongoDB, and more • Infrastructure, Cloud, DevOps, and application expertise
  • 4.
    Welcome to databasesin the cloud • Introduction to Cloud Computing • Offerings • Components and costs • Changes for DBAs • Outline of procedures using Oracle Cloud 4 © 2017 Pythian
  • 5.
    Cloud Computing “Cloud computingis a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.” National Institute of Standards and Technology, 2011 http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-145.pdf 5 © 2017 Pythian
  • 6.
    Cloud Computing –Why? • provisioning on demand – no need to worry about hardware • scalable (elastic) – use only what you need • resilient – several geographic regions with automatic failover • cost – pay for what you use, based on IO, CPUs, space or executions • easy to manage – automated features (backups, DR, monitoring, alerting) • SOA architecture – many services available 6 © 2017 Pythian
  • 7.
    Cloud Computing –Why? 7 © 2017 Pythian
  • 8.
    Cloud Computing -Offerings History (available): – Amazon: AWS (2006) – Microsoft: Azure (2010) – Google: GCP (2013) – Oracle: OC (2014) – Others: many Each provider is (somehow) different – Similar services, different names (ex: tape solutions: Glacier / Coldline / Archive) – Usage billed per hour or minute – Licence costs can change (vCPU != OCPU) – Discounts policies, etc. 8 © 2017 Pythian
  • 9.
    9 © 2017Pythian Source: Gartner
  • 10.
    Cloud Computing -Glossary • Services – SaaS (Applications) – PaaS (Platform) – IaaS (Infrastructure) • Other – FaaS – Serverless 10 © 2017 Pythian • Deployment Types – Private – Managed (Public) – Hybrid – Multicloud
  • 11.
    Cloud Computing -Glossary 11 © 2017 Pythian https://blogs.oracle.com/futurestate/when-cloud-meets-on-premise:-a-story-of-two-applications
  • 12.
    12 © 2017Pythian
  • 13.
    13 © 2017Pythian
  • 14.
    14 © 2017Pythian
  • 15.
    Cloud Computing -Resources • Storage – Persistent with different IOPS capabilities – Volatile for specific use cases • Managed Databases – No direct access to server (RDS), managed using web console – Customized for different use cases (OLTP, NoSQL, Analytics, etc.) • Compute – Instances with different resource combination (vCPU/RAM/IO) • Network – Router, Gateway, Global DNS, Load Balancer, CDN 15 © 2017 Pythian
  • 16.
    Cloud Computing –Network 16 © 2017 Pythian • Datacenters across the world - regions • Availability zones/domains inside a region to provide automatic failover of services • Client connectivity is routed by load balancer to nearest location (less latency) – Needs configuration – Depends on provider coverage • Real network topology is known? Image from: https://cloud.google.com/products/networking/
  • 17.
    Cloud Computing –Network 17 © 2017 Pythian
  • 18.
    Cloud computing -security 18 © 2017 Pythian https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm
  • 19.
    19 © 2017Pythian https://cloud.oracle.com/en_US/bare-metal-network/vcn/faq Hybrid network setup for HA
  • 20.
    Cloud Computing -Security • Identity and Access Management (IAM) • Virtual Network with per-service privilege – Virtual Cloud Network (VCN – Oracle) – Virtual Private Cloud (VPC – AWS), Cloud Virtual Network (VCN – Google) • Hybrid deploy to extend On-Premises network – using IPSec VPN or direct connectivity: • Oracle FastConnect, AWS Direct connect, Google Interconnect • Non managed servers - ssh access using keys • Oracle database services – native network encryption used by default – SSL/TLS can be configured – user tablespaces encrypted by default - even in SE – Oracle Data Masking and Subsetting Pack – license included for source with High Performance, Extreme Performance, and Exadata Service subscriptions. 20 © 2017 Pythian
  • 21.
    Cloud Computing -Management • Web GUI • CLI (non-managed services) • REST • SDK for several programming languages (java, php, python, etc.) • Oracle Management Cloud (OMC) - real-time analysis – Application Performance Monitoring Cloud Service – Log Analytics Cloud Service – IT Analytics Cloud Service – Infrastructure Monitoring Cloud Service • Automated tasks – backup with point-in-time recovery – patching – upgrades 21 © 2017 Pythian
  • 22.
    Cloud Computing -Costs • Based on resource usage: IOPS, CPUs (time), Space, Network transfer • Metered – pay as you go – pre-paid • Non metered • Limit per service (quota), we can request to increase it • vCPU definition by different providers – Oracle Compute Units (OCPUs), AWS Core (2vCPU for Oracle) • Discounts – Amazon: reserved instances – Google: sustained usage / committed-use – Oracle: TBD • TCO calculator from each provider https://cloudplatform.googleblog.com/2015/01/understanding-cloud-pricing.html 22 © 2017 Pythian
  • 23.
    Cloud Computing –Use cases Use cases • Backup target • Non prod environments • DR solution • New services adoption – Analytics, Big data – Exposing services with API • Rapid deploy of new applications 23 © 2017 Pythian Considerations • I/O bandwidth for initial copy and periodical refresh • Data masking needed • Stress tests costs • Application readiness • Industry regulations • Network Latency
  • 24.
    Oracle Cloud offering– for databases • Database Cloud Services • Database Cloud Services – Bare metal • Database Exadata Cloud Service • Database Exadata Cloud Machine (on-premises) Managed (no DBA required) • Database Exadata Express Cloud Service • Database Schema Cloud Service Related • Database Cloud Backup Service • Storage & Compute 24 © 2017 Pythian
  • 25.
    Oracle Database CloudService • Subscription type – Standard – Enterprise – High performance (Multitenant, partititoning, RAT, Compression, ASO, Diagnostics & Tuning pack and more) – Extreme performance (+RAC, In-Memory, ADG) NOTE: All subscriptions includes TDE • Price: Metered or Non Metered as Service or VM – Per OCPU – General purpose or High-Memory Compute – Plus Storage Service and Database Backup Service charges Step by step guide: http://www.toadworld.com/platforms/oracle/w/wiki/11616.getting-started-with-oracle-database-cloud-service 25 © 2017 Pythian
  • 26.
    26 © 2017Pythian
  • 27.
    © 2015 PythianConfidential27
  • 28.
    © 2015 PythianConfidential28
  • 29.
    © 2015 PythianConfidential29
  • 30.
    © 2015 PythianConfidential30
  • 31.
    © 2015 PythianConfidential31
  • 32.
    © 2015 PythianConfidential32 Oracle Database Cloud Service - scaling
  • 33.
    Oracle DB CloudBackup Service • Backup on-premises or Cloud instances/services • Using RMAN with Cloud backup module – Needs to download from OTN and install for on-premises use – Already installed and configured on Cloud services – It can be called using REST API – single call • Billing: – storage capacity (Gb stored per month) – outbound data transfer (Gb outbound data transfer per month) – PUT, COPY, POST or LIST requests (REST) - 1000 free per month – GET and all others - 10000 free per month 33 © 2017 Pythian
  • 34.
    Oracle Cloud offering– Bare metal IaaS - Bare metal - Compute service • Bare metal instances – Physical server fully dedicated – No Oracle installed software – under our full control – OS available to choose or we install what we want (BYOD) • VM Instances – sharing the server • Instance types: – Standard - general purpose: 18 cores, NAS 50Gb to 2Tb per volume, up to 32 (64Tb) – HighIO - High performance storage: 18 cores, 12.8Tb SSD local storage – DenseIO: 18 cores, 28.8Tb SSD local storage • Storage options – Local storage (SSD), Block volumes, Object storage 34 © 2017 Pythian
  • 35.
    35 © 2017Pythian
  • 36.
    Oracle databases inthe Cloud • Instance type can limit IO throughput (AWS) • Measure IO (capacity and latency) before deploying services to confirm they are as expected – SLOB – Step by step guide: https://blog.dbi-services.com/slob-in-the-cloud-how-to-check-cloud-services-performance/ • Double check if provider is supported by Oracle – GCP not listed yet – Oracle changed license on Jan 2017, counting vCPU = 2 OCPU • Double check if your options are supported – RAC only on Oracle Cloud, despite AWS and Azure docs explains the installation 36 © 2017 Pythian
  • 37.
    Cloud DBA? • Somethings are no longer needed now – Hardware maintenance • Some things are automated now – only requires configuration – Backups, Replication, DR, Monitoring, Alerting • Some things are as usual – Schema design, change management, stress test, cloning, etc. • Some things are more important now (maybe new to you) – Capacity planning to choose the proper instance types – Architecting solutions (choosing among lot of services) – Monitor billing is under control (initial config, implement archiving of unused data,..) – Orchestration, interoperability, end-to-end performance troubleshooting, … 37 © 2017 Pythian
  • 38.
    Cloud DBA? • Somethings are no longer needed now – Hardware maintenance • Some things are automated now – only requires configuration – Backups, Replication, DR, Monitoring, Alerting • Some things are as usual – Schema design, change management, stress test, cloning, etc. • Some things are more important now (maybe new to you) – Capacity planning to choose the proper instance types – Architecting solutions (choosing among lot of services) – Monitor billing is under control (initial config, implement archiving of unused data,..) – Orchestration, interoperability, end-to-end performance troubleshooting, … 38 © 2017 Pythian Cloud Architect?
  • 39.
    Cloud DBA? • Somethings are no longer needed now – Hardware maintenance • Some things are automated now – only requires configuration – Backups, Replication, DR, Monitoring, Alerting • Some things are as usual – Schema design, change management, stress test, cloning, etc. • Some things are more important now (maybe new to you) – Capacity planning to choose the proper instance types – Architecting solutions (choosing among lot of services) – Monitor billing is under control (initial config, implement archiving of unused data,..) – Orchestration, interoperability, end-to-end performance troubleshooting, … 39 © 2017 Pythian Database Architect?
  • 40.
    Cloud DBA? • Somethings are no longer needed now – Hardware maintenance • Some things are automated now – only requires configuration – Backups, Replication, DR, Monitoring, Alerting • Some things are as usual – Schema design, change management, stress test, cloning, etc. • Some things are more important now (maybe new to you) – Capacity planning to choose the proper instance types – Architecting solutions (choosing among lot of services) – Monitor billing is under control (initial config, implement archiving of unused data,..) – Orchestration, interoperability, end-to-end performance troubleshooting, … 40 © 2017 Pythian Modern DBA?
  • 41.
  • 42.
    DBA procedures inthe Cloud Quick overview of usual procedures, now using the cloud – Migration – Backups – DR 42 © 2017 Pythian
  • 43.
    Migration to theCloud • Architecting the solution – Plan the services to use according to application – only database? – Capacity planning to decide instance types – Time to make changes to app? • Initial data transfer – Direct connectivity? – Service to ship disks - Google Transfer Appliance, Amazon Snowball • Migration – ADM (Amazon Database Migration Service) – Oracle Golden Gate – on-premise or Cloud service • Configure billing alerts 43 © 2017 Pythian
  • 44.
    Backup databases tothe Cloud • Using Oracle Backup service – From on-premises or Cloud instances/services – Use RMAN with Cloud backup module • Needs to download from OTN and install for on-premises use • Already installed and configured on Cloud services – Automated on Managed Database Cloud services • We do nothing, it is done by default • Using any other Cloud storage – Oracle provides OSB module for AWS – on-premise RMAN to S3 – Attach any external storage to use filesystem Step by step procedure: https://www.pythian.com/blog/part-3-comparing-oracle-cloud-database-backups-options/ 44 © 2017 Pythian
  • 45.
    Backup to theCloud – from on-premises 45 © 2017 Pythian
  • 46.
    Backup to theCloud – from Cloud http://www.oracle.com/technetwork/database/features/availability/twp-oracledatabasebackupservice-2183633.pdf46 © 2017 Pythian
  • 47.
    DR using theCloud • Already included in Managed services • Classical approach on Bare Metal – manual intervention needed • MAA 100% cloud is possible – RAC and Dataguard – Reduce license costs taking advantage of metered on-demand provisioning (no need to have unused CPUs for redo apply) • Ready to change the application when on-premises DB fails? – Cloud as standby for on-premises – Cloud as target to recover backups 47 © 2017 Pythian
  • 48.
    References - documentation •Oracle cloud documentation https://cloud.oracle.com/ • AWS documentation https://aws.amazon.com/documentation/ • Google Cloud https://cloud.google.com/ • Oracle Learning Library / Cloud http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/dbaas/dbcs_quick_start/oracle_database_cloud_service_dbaas_q uick_start.html • Oracle Database Cloud Service Quick Start https://apexapps.oracle.com/pls/apex/f?p=44785:5:14275142274722::NO::P5_PRODUCT:Cloud 48 © 2017 Pythian