You are on page 1of 57

Cloud Computing with Amazon and Oracle

Lewis Cunningham TUSC, Sr Datawarehouse Consultant http://it.toolbox.com/blogs/oracle-guide http://databasewisdom.com/

12/11/2008
1

Introduction

Oracle ACE Director Author Former Cloud Architect for EnterpriseDB Currently Data Warehouse Consultant for TUSC Blogger, An E pert!s "uide to Oracle Technology

My New Book http://sqlstarter.com

Agenda

What #s Cloud Computing$ What Does Ama%on Offer$ The &alue 'roposition Where Does Oracle Fit #n$ (o) Does Ama%on Wor*$

What is Cloud Computing Cloud computing is using the internet to access someone else's software running on someone else's hardware in someone else's data center.
- Lewis Cunningham

!istri"uted Computing
Remember SETI@Home? Heard of HADOOP? Grid Computing Distributed computing is spreading a large task over many machines Distributed computing can be cloud computing but is not cloud computing

#o$tware as a #er%ice & #aa#


Gmail & Yahoo Mail Google Docs Mozy Online Backups CRM

Remember Application Service Providers? The next big thing of 2000 that didn't happen.

'lat$orm as a #er%ice & 'aa#


Salesforce.com Google App Engine Aptana Provides a development platform and hosting

In$rastructure as a #er%ice & Iaa#


Amazon Web Services (AWS) EMC Fortress (Storage Cloud) HP Adaptive IaaS WIPRO, CISCO, IBM, Sun Everybody and their brother

In$rastructure as a #er%ice & Iaa#


Key Features Virtualization Nearly instance scalability Everything is a service Utility style (pay for what you use) Hardware, OS, Software, Storage & Network

10

What !oes Ama(on )$$er *lectronic Compute Cloud + *C, Hardware Virtualization Amazon Machine Image (AMI) CPU, Memory, Storage Linux, Solaris, Windows Safety Coming Soon - Regions Availability Zones

11

What !oes Ama(on )$$er *lectronic Compute Cloud + *C, Elastic Internet (IP) Addresses Dynamic Addition Dynamic Reallocate Security XEN Hypervisor Disk encryption is your call Security Groups controls access

12

What !oes Ama(on )$$er *lectronic Compute Cloud + *C, Storage is Transient S3 EBS SLA Amazon warrants 99.95% uptime <99.95 gets a 10% discount

13

What !oes Ama(on )$$er *lectronic Compute Cloud + *C, Computing Power based on a Compute Unit 1 Compute Unit = 1 Circa 2007 1.0-1.2 GHz Opteron or Xeon CPU Cost is based on Memory, Storage and Compute Units

14

What !oes Ama(on )$$er *lectronic Compute Cloud + *C,


Compute Units Linux CPU/Hour
+&! & +&!-& +&!.&

Instance Type Small Large /xtra Large Hig1 CPU2 Medium Hig1 CPU2 Large

Memory
!"#$ "!,#$ ,#$

Storage
%&#$

Platform
'()*it %-)*it %-)*it

Windows CPU/Hour
+&! (, +&!,& + !&&

.,&#$ %0&#$

!"#$

',&#$

'()*it

+&!(&

+&!'&

"#$

(&

%0&#$

%-)*it

+&!.&

+ !(&

15

What !oes Ama(on )$$er #imple #torage #er%ice + # API Driven Storage Get, Put and Delete Organized around buckets Bucket like a directory Bucket can hold objects or more buckets Objects can be up to 5gb each

16

What !oes Ama(on )$$er #imple #torage #er%ice + # Access Fast Reliable HTTP REST or SOAP Secure Access Control Lists (ACL) Transfer uses SSL (encryption) Can encrypt data at rest

17

What !oes Ama(on )$$er #imple #torage #er%ice + #-

Storage2 3irst ,&T$/Mont1 4ext ,&T$/Mont1 4ext -&&T$/Mont1 56er ,&&T$/Mont1

US per #$
+&! ,& +&! -& +&! '& +&! (&

/urope per #$
+&! .& +&! "& +&! %& +&! ,&

18

What !oes Ama(on )$$er #imple #torage #er%ice + #-

7ata Transfer Transfer Into S' 3irst &T$ 5ut of S' 4ext -&T$ 5ut of S' 4ext &&T$ 5ut of S' 5ut o6er ,&T$

US per #$
+&! && +&! "& +&! '& +&! &

/urope per #$
+&! && +&! "& +&! '& +&! &

+&! &&

+&! &&

19

What !oes Ama(on )$$er #imple #torage #er%ice + #-

8e9uests Put2 Copy2 List2 Post 7elete :always free; #et and all ot1er re9uests

US per 8e9uest
+&!& +&!&&

/urope per 8e9uest


+&!& ( +&!&&

+&!&

+&!& (

20

What !oes Ama(on )$$er #imple #torage #er%ice + # SLA 99.9% Uptime Guarantee If Between 99% and 99.9% Uptime 10% Credit If <99% Uptime 25% Credit

21

What !oes Ama(on )$$er *lastic Block #torage & *B# Like a USB Drive Portable between AMIs Persistent Dynamically add and remove Snapshots 10 cents per GB per month 10 cents per 1 million IOs per month

22

What !oes Ama(on )$$er #imple .ueue #er%ice & #.# Like Oracle AQ or IBM MQ Series API based Many interfaces Ruby, Java, Python, etc 8k messages and unlimited queues 1 cent per 10000 requests Data transfer in and out of Amazon costs

23

What !oes Ama(on )$$er #imple !B


Amazon's first public web service Very, very, very simple database Not relational Key/Value Pairs Non-SQL Not cheap, $1.50$0.25/GB/Month Plus data transfer costs

24

What !oes Ama(on )$$er /alue 'roposition Economics Dev & Test no upfront capital If you buy, buy exactly what you need Pay for what you use Pay as you go Easier Faster

25

Where !oes )racle 0it In


Oracle AMIs Oracle 11g EE, SE & SE1 32-Bit Oracle 11g EE, SE & SE1 64-Bit Oracle 10g XE Oracle Hyperion Essbase You can run OBIEE You can run Application Server Oracle provides licensing and support

26

Where !oes )racle 0it In


Oracle Secure Backup Cloud Module RMAN to S3, 9iR3 & higher Can run using OEM 32-Bit Linux and Windows More reliable than tape Faster than tape (40-50MB/Sec) Takes care of off site storage

27

Where !oes )racle 0it In


Oracle Secure Backup Cloud Module Automatically Encrypts Will use Oracle 11g Fast Compressed Backup (normally requires Advanced Compression license) at no cost No more mounting tapes Cheap, Cheap, Cheap

28

Where !oes )racle 0it In )racle Cloud Control

29

1ow does Ama(on work


Command Line Tools (Yuck) 3rd Party Add-ons ElasticFox (#1) Cloud Studio 3rd Party Vendors RightScale Elastra This demo will use ElasticFox

30

*lastic 0o2

31

Credentials

32

##1 3ey 'airs

33

#ecurity 4roup

34

*lastic I's

35

*lastic Block #torage Create /olume

36

*lastic Block #torage 5nattached /olume

37

Current A%aila"ility 6ones

38

)racle AMIs

39

#tart an Instance

40

'ending Instance

41

Instance !etails

42

Attach an *lastic I'

43

Attached *lastic I'

44

*lastic Block #torage Attach /olume

45

*lastic Block #torage Attach /olume 'opup

46

*lastic Block #torage Attached /olume

47

Instance #tartup Console )utput

48

)racle #tarted

49

##1 to Instance

50

)racle 7icense Agreement

51

#et )racle 'assword

52

8eady to 8um"le

53

Mount an e2t, 0ilesystem on *B# /olume

/sbin/mke2fs -j /dev/sdg echo "/dev/sdg /vol ext3 noatime 0 0" >> /etc/fstab mkdir /vol mount /vol $ df --si

54

/eri$y *B# /olume d$ &si

55

AW# Ap*2

56

Cloud Computing with Amazon and Oracle

Lewis Cunningham TUSC, Sr Datawarehouse Consultant http://it.toolbox.com/blogs/oracle-guide http://databasewisdom.com/

12/11/2008
57

You might also like