You are on page 1of 42

When Oracle Databases Meet the Clouds, It Might Rain

Future: Cloudy or Clear?


Alex Gorbachev March 17, 2011 RAC SIG

Agenda

Cloud

Computing overview Licensing implications Oracle database in public clouds Oracle database in private clouds Hybrid deployments
2 2009/2010 Pythian

Alex Gorbachev
CTO,

The Pythian Group Blogger OakTable Network member Oracle ACE Director BattleAgainstAnyGuess.com President, Oracle RAC SIG

2009/2010 Pythian

Why Companies Trust Pythian


Recognized Leader:

Global industry-leader in remote database administration services and consulting for Oracle, Oracle Applications, MySQL and SQL Server Work with over 150 multinational companies such as Forbes.com, Fox Interactive media, and MDS Inc. to help manage their complex IT deployments

Expertise:

One of the worlds largest concentrations of dedicated, full-time DBA expertise.

Global Reach & Scalability:

24/7/365 global remote support for DBA and consulting, systems administration, special projects or emergency response

2009/2010 Pythian

Where are we?

Cloud

Computing overview Licensing implications Oracle database in public clouds Oracle database in private clouds Hybrid deployments
5 2009/2010 Pythian

Five Cloud Infrastructure Characteristics

1. On-demand self-service 2. Broad network access 3. Resource pooling 4. Rapid elasticity 5. Measured Service

http://csrc.nist.gov/groups/SNS/cloud-computing/index.html

2009/2010 Pythian

Three Cloud Service Models


SaaS

-- Software as a Service

Resource is vendors application

PaaS

-- Platform as a Service

Computing platform - write and deploy code, store/retrieve data DaaS Database as a Service (Amazon RDS, SimpleDB)

IaaS

-- Infrastructure as a Service

Rent computing resources - storage, network, CPU capacity

2009/2010 Pythian

IaaS => PaaS => SaaS

2009/2010 Pythian

Four Deployment Models


Public

Cloud Cloud

Private

Pythian cloud

Community

Cloud

Googles Gov Cloud -- LA gone Google

Hybrid

or Mixed Cloud

private + public

2009/2010 Pythian

NIST Cloud Definition Framework


Hybrid Clouds Deployment Models Service Models Essential Characteristics Private Cloud Software as a Service (SaaS) Community Cloud Platform as a Service (PaaS) On Demand Self-Service Broad Network Access Resource Pooling Massive Scale Common Characteristics Homogeneity Virtualization Low Cost Software Rapid Elasticity Measured Service Resilient Computing Geographic Distribution Service Orientation Advanced Security Public Cloud Infrastructure as a Service (IaaS)

10

2009/2010 Pythian

Primary Business Drivers


Lower

IT costs CapEx to OpEx shift Agility: Faster provisioning, on-demand access Scalability Day to day is simplified (e.g. maintenance/upgrades, test to production, etc.) Reliability. SLA based availability Better visibility and accountability

11

2009/2010 Pythian

Key Challenges
Security Quality

of Service Migration

Exit plan/entry plan Do you convert to proprietary machines/are you locked in?

What

is the new management regime in the cloud?

provided by, augmented by outsourcing, in-house, cloud vendor?

12

2009/2010 Pythian

13

2009/2010 Pythian

Cloud Security Pros & Cons


Challenges

Advantages

Trust vendors security model Inability to respond to audit findings Support for investigations Indirect accountability Proprietary implementations cant be examined Loss of physical control

Reduced internal exposure of the sensitive data Homogeneity makes security auditing/compliance simpler Clouds enable automated security management Redundancy / Disaster Recovery Specialized security team and tools out of the box

14

2009/2010 Pythian

Database Challenges in the Cloud


Database

licensing can be cloud unfriendly performance, service brown-outs

Consistent Auditing

and monitoring a constantly changing environment security auditing tools are very specialized and can be difficult to deploy on the cloud in a WAN users auditing (DBAs, SAs)

Database Working

Privileged Cloud

vendor has physical access to all your data

15

2009/2010 Pythian

Where are we?

Cloud

Computing overview Licensing implications Oracle database in public clouds Oracle database in private clouds Hybrid deployments
16 2009/2010 Pythian

Licensing Oracle Databases in the Public Cloud


Unlimited

Licensing Agreements (ULA) Specific Full Use (ASFU) based licensing

Cloud licenses not included in Certification ISV friendly Amazon EC2 only 1 v. core = 1 licensing core; 4 v. cores = 1 licensing socket

Application

Core/Socket

Named

User Plus (NUP) user (Oracle Apps/E-Business Suite)


www.oracle.com/corporate/pricing/cloud-licensing.pdf - 22-Sep-08
2009/2010 Pythian

Minimums apply

Application

17

Virtualization and Oracle Licensing


Soft

partitioning partitioning
http://www.oracle.com/corporate/pricing/partitioning.pdf http://www.oracle.com/technology/tech/virtualization/pdf/ovm-hardpart.pdf

CANNOT be used to limit licensed cores Partition licensing applies Oracle VM IBM LPAR HP vPar & nPar Amazon EC2 and Amazon EC2 based on Oracle VM

Hard

Instance

Caging

CANNOT be used to limit licensed cores

18

2009/2010 Pythian

Where are we?

Cloud

Computing overview Licensing implications Oracle database in public clouds Oracle database in private clouds Hybrid deployments
19 2009/2010 Pythian

Amazon Web Services - Elastic Compute Cloud


AWS

EC2 is the only Oracle supported IaaS hosting to date OEL, Oracle Database, Fusion Middleware and Enterprise Manager support in 2008 (OOW08) OOW10 announcement - full support for many applications

Based on Oracle VM E-Business Suite PeopleSoft Siebel CRM AMIs to be published

Available since Dec-2010 WebLogic Server OracleVM-based Linux E-Business Suite Peoplesoft JD Edwards

Same licensing rules apply as in 2008


www.oracle.com/corporate/pricing/cloud-licensing.pdf - 22-Sep-08

20

2009/2010 Pythian

AWS EC2 Security for Databases


Security

- SAS70 Type II Can host HIPPA compliant systems Industry strength encryptions standards (RSA, SSL, PGP) Multi-factor authentication supported Allow penetration testing AWS Security Center - http://aws.amazon.com/security/

21

2009/2010 Pythian

Utility-style Licensing?
Amazon

EC2 service model is utility style

per hour per unit of work per GB on S3 or EBS

Is

database licensing utility-style?

MySQL - GPLed community editions yes - $0 SQL Server on EC2 - yes $/hr included in SQL Server AMI Oracle Database on EC2.... oups!

22

2009/2010 Pythian

AWS EC2 Licensing example


EC2 only - no licensing
500

375

250

125

10

50

100

150

200

250

300

350

400

450

500

550

600

650

700

750

Fixed $/mo

Variable $/mo

23

2009/2010 Pythian

AWS EC2 Licensing example


EC2 windows + SQL Server
1500

1125

750

375

10

50

100

150

200

250

300

350

400

450

500

550

600

650

700

750

Fixed $/mo

Variable $/mo

24

2009/2010 Pythian

Oracle Database Licensing?


Standard

Edition, for example

1 processor perpetual license = $17.5K (+ $3.85K / year support) 1 processor 1 year termed license = $3.5K (+ $3.85K / year support) 5 named users 1 year termed - $350 (+ $385 / year support)

25

2009/2010 Pythian

Oracle ISV License for SaaS Vendors


As

close as you get to the utility model... of the list price including support

3.5%

42% for 12 months - which is the same as 1 year termed + support

Available

for ISVs deploying new SaaS solution only Tech stack products - Database + Fusion Middleware Very easy entry point for an ISV

1 processor SE = $612.5 per mo (SE1 is half of that)

years deal

26

2009/2010 Pythian

What About Applications?


E-Business Siebel

Suite

CRM Peoplesoft
Application

user license - good fit for cloud hosting

27

2009/2010 Pythian

Oracle Enterprise Manager on EC2?


EM

infrastructure doesnt need to be licensed

Monitored targets - yes

Perfect

cloud hosting fit

Public facing or using Amazon VPN (VPC)

28

2009/2010 Pythian

Oracle RDS on Oracle Database 11g in Q2-2011


announced February 2010

29

2009/2010 Pythian

Virtual Core & EC2 Compute Units (ECU)

One EC2 Compute Unit

equivalent CPU capacity of a 1.0-1.2 Opteron or 2007 Xeon processor

(ECU) provides the

GHz 2007

30

2009/2010 Pythian

Optimizing Instance Types for Licensing


Instance type Micro Instance Small Instance Large Instance Extra Large Instance High-Memory Extra Large High-Memory Double Extra Large High-Memory Quadruple Extra Large 2 x Intel Xeon X5570, quad-core Nehalem High-CPU Medium High-CPU Extra Large Cluster Compute Quadruple Extra Large Virtual Cores 1 1 2 4 2 4 8 2 2 8 ECUs per Core 2 1 2 2 3.25 3.25 3.25 2.5 2.5 4.1875

31

2009/2010 Pythian

Oracle RAC on Amazon EC2?


Not supported and not working ... until few days ago Amazon announced enhancements to VPC (Virtual Private Cloud) Public and private IP subnets available

still missing ability to manipulate VIPs and SCAN IPs

IPs for

32

2009/2010 Pythian

Where are we?

Cloud

Computing overview Licensing implications Oracle database in public clouds Oracle database in private clouds Hybrid deployments
33 2009/2010 Pythian

Whats the Ideal Platform for a Private Cloud?

34

2009/2010 Pythian

Private Cloud for Oracle Database: Virtualization?


Avoid

virtualization for production Oracle Database complicates licensing

Consolidate on Grid Infrastructure Static partitioning defeats the purpose of virtualization

Virtualization

Intense

database workloads dont scale well in virtual machines


IO intensive, many system calls, interrupts Memory intensive

35

2009/2010 Pythian

Virtualizing Production Databases: Guidelines


Use

Direct NFS - IO in user space & no system calls! Dont overcommit memory Disable balloon driver Dont use RAC Use modern Intel CPUs

less overhead on memory intensive apps less overhead of interrupts more efficient IO/network virtualization

36

2009/2010 Pythian

Oracle RAC Support on VMware


Oracle

permits customers running its products on VMware with limited support RAC wasnt supported at all until November 2010
Still

questionable what problems does Oracle RAC addresses with VMware


scalability? high availability? manageability?

37

2009/2010 Pythian

Are we there yet?

Cloud

Computing overview Licensing implications Oracle database in public clouds Oracle database in private clouds Hybrid deployments
38 2009/2010 Pythian

Oracle Database Backup in The Cloud


Amazon

Simple Storage Service (S3)

Oracle Secure Backup (OSB) Cloud Module Zmanda Enterprise

OSB

Cloud Module is licensed per channel - $3.5K

Number simultaneous channels Backup speed is usually limited by your internet bandwidth and latency Encryptions and compression included without additional license Always think of restore time, not the backup

Solid

39

plan for Disaster Recovery strategy

Need to be covered in # of channels and database licenses


2009/2010 Pythian

SecureFiles in the Cloud


Next

generation LOBs SecureFiles can be stored in S3 Storage location is transparent to the user programs

SQL and PL/SQL Fully ACID compliant

Much

slower then internal storage

Ideal online archival solution

40

2009/2010 Pythian

Done!

Cloud

Computing overview Licensing implications Oracle database in public clouds Oracle database in private clouds Hybrid deployments
41 2009/2010 Pythian

Q&A

Email me - gorbachev@pythian.com Read my blog - http://www.pythian.com Follow me on Twitter - @AlexGorbachev Join Pythian fan club on Facebook & LinkedIn
42 2009/2010 Pythian

You might also like