view the deck as powerpoint

57
1 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

Transcript of view the deck as powerpoint

Page 1: view the deck as powerpoint

1

Cloud Computing withAmazon and Oracle

Lewis CunninghamTUSC, Sr Datawarehouse Consultanthttp://it.toolbox.com/blogs/oracle-guidehttp://databasewisdom.com/ 12/11/2008

Page 2: view the deck as powerpoint

2

IntroductionIntroduction

• Oracle ACE Director• Author• Former Cloud Architect for EnterpriseDB• Currently Data Warehouse Consultant for TUSC• Blogger, An Expert's Guide to Oracle Technology

Page 3: view the deck as powerpoint

3

My New BookMy New Bookhttp://sqlstarter.comhttp://sqlstarter.com

Page 4: view the deck as powerpoint

4

AgendaAgenda

• What Is Cloud Computing?

• What Does Amazon Offer?

• The Value Proposition

• Where Does Oracle Fit In?

• How Does Amazon Work?

Page 5: view the deck as powerpoint

5

What is Cloud Computing?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

Page 6: view the deck as powerpoint

6

Distributed ComputingDistributed 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

Page 7: view the deck as powerpoint

7

Software as a Service - SaaSSoftware as a Service - SaaS

• Gmail & Yahoo Mail• Google Docs• Mozy Online Backups• CRM

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

Page 8: view the deck as powerpoint

8

Platform as a Service - PaaSPlatform as a Service - PaaS

• Salesforce.com• Google App Engine• Aptana

• Provides a development platform and hosting

Page 9: view the deck as powerpoint

9

Infrastructure as a Service - Infrastructure as a Service - IaaSIaaS• Amazon Web Services (AWS)• EMC Fortress (Storage Cloud)• HP Adaptive IaaS• WIPRO, CISCO, IBM, Sun• Everybody and their brother

Page 10: view the deck as powerpoint

10

Infrastructure as a Service - Infrastructure as a Service - IaaSIaaSKey Features

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

Page 11: view the deck as powerpoint

11

What Does Amazon Offer? What Does Amazon Offer? Electronic Compute Cloud – EC2Electronic Compute Cloud – EC2

• Hardware Virtualization• Amazon Machine Image (AMI)• CPU, Memory, Storage• Linux, Solaris, Windows

• Safety• Coming Soon - Regions• Availability Zones

Page 12: view the deck as powerpoint

12

What Does Amazon Offer? What Does Amazon Offer? Electronic Compute Cloud – EC2Electronic Compute Cloud – EC2

• Elastic Internet (IP) Addresses• Dynamic Addition• Dynamic Reallocate

• Security• XEN Hypervisor• Disk encryption is your call• Security Groups controls access

Page 13: view the deck as powerpoint

13

What Does Amazon Offer? What Does Amazon Offer? Electronic Compute Cloud – EC2Electronic Compute Cloud – EC2

• Storage is Transient• S3• EBS

• SLA• Amazon warrants 99.95% uptime• <99.95 gets a 10% discount

Page 14: view the deck as powerpoint

14

What Does Amazon Offer? What Does Amazon Offer? Electronic Compute Cloud – EC2Electronic Compute Cloud – EC2

• 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

Page 15: view the deck as powerpoint

15

What Does Amazon Offer? What Does Amazon Offer? Electronic Compute Cloud – EC2Electronic Compute Cloud – EC2

Instance Type MemoryCompute Units

Storage PlatformLinux CPU/Hour

Windows CPU/Hour

Small 1.7GB 1 160GB 32-bit $0.10 $0.125

Large 7.5GB 4 850GB 64-bit $0.40 $0.50

Extra Large 15GB 8 1690GB 64-bit $0.80 $1.00

High CPU,Medium

1.7GB 5 350GB 32-bit $0.20 $0.30

High CPU, Large

7GB 20 1690GB 64-bit $0.80 $1.20

Page 16: view the deck as powerpoint

16

What Does Amazon Offer? What Does Amazon Offer? Simple Storage Service – S3Simple Storage Service – S3

• 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

Page 17: view the deck as powerpoint

17

What Does Amazon Offer? What Does Amazon Offer? Simple Storage Service – S3Simple Storage Service – S3

• Access• Fast• Reliable• HTTP – REST or SOAP

• Secure• Access Control Lists (ACL)• Transfer uses SSL (encryption)• Can encrypt data at rest

Page 18: view the deck as powerpoint

18

What Does Amazon Offer? What Does Amazon Offer? Simple Storage Service – S3Simple Storage Service – S3

Storage, US per GB Europe per GB

First 50TB/Month $0.150 $0.180

Next 50TB/Month $0.140 $0.170

Next 400TB/Month $0.130 $0.160

Over 500TB/Month $0.120 $0.150

Page 19: view the deck as powerpoint

19

What Does Amazon Offer? What Does Amazon Offer? Simple Storage Service – S3Simple Storage Service – S3

Data Transfer US per GB Europe per GB

Transfer Into S3 $0.100 $0.100

First 10TB Out of S3 $0.170 $0.170

Next 40TB Out of S3 $0.130 $0.130

Next 100TB Out of S3 $0.110 $0.110

Out over 150TB $0.100 $0.100

Page 20: view the deck as powerpoint

20

What Does Amazon Offer? What Does Amazon Offer? Simple Storage Service – S3Simple Storage Service – S3

Requests US per Request Europe per Request

Put, Copy, List, Post $0.01 $0.012

Delete (always free) $0.00 $0.00

Get and all other requests

$0.01 $0.012

Page 21: view the deck as powerpoint

21

What Does Amazon Offer? What Does Amazon Offer? Simple Storage Service – S3Simple Storage Service – S3

• SLA• 99.9% Uptime Guarantee• If Between 99% and 99.9% Uptime

• 10% Credit• If <99% Uptime

• 25% Credit

Page 22: view the deck as powerpoint

22

What Does Amazon Offer? What Does Amazon Offer? Elastic Block Storage - EBSElastic Block Storage - EBS

• 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

Page 23: view the deck as powerpoint

23

What Does Amazon Offer? What Does Amazon Offer? Simple Queue Service - SQSSimple Queue Service - SQS

• 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

Page 24: view the deck as powerpoint

24

What Does Amazon Offer? What Does Amazon Offer? Simple DBSimple DB• 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

Page 25: view the deck as powerpoint

25

What Does Amazon Offer? Value What Does Amazon Offer? Value PropositionProposition

• 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

Page 26: view the deck as powerpoint

26

Where Does Oracle Fit In?Where Does Oracle Fit 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

Page 27: view the deck as powerpoint

27

Where Does Oracle Fit In?Where Does Oracle Fit 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

Page 28: view the deck as powerpoint

28

Where Does Oracle Fit In?Where Does Oracle Fit 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

Page 29: view the deck as powerpoint

29

Where Does Oracle Fit In?Where Does Oracle Fit In?Oracle Cloud ControlOracle Cloud Control

Page 30: view the deck as powerpoint

30

How does Amazon work?How does Amazon work?

• Command Line Tools (Yuck)• 3rd Party Add-ons

• ElasticFox (#1)• Cloud Studio

• 3rd Party Vendors• RightScale• Elastra

This demo will use ElasticFox

Page 31: view the deck as powerpoint

31

Elastic FoxElastic Fox

Page 32: view the deck as powerpoint

32

CredentialsCredentials

Page 33: view the deck as powerpoint

33

SSH Key PairsSSH Key Pairs

Page 34: view the deck as powerpoint

34

Security GroupSecurity Group

Page 35: view the deck as powerpoint

35

Elastic IPsElastic IPs

Page 36: view the deck as powerpoint

36

Elastic Block Storage Create VolumeElastic Block Storage Create Volume

Page 37: view the deck as powerpoint

37

Elastic Block Storage Unattached Elastic Block Storage Unattached VolumeVolume

Page 38: view the deck as powerpoint

38

Current Availability ZonesCurrent Availability Zones

Page 39: view the deck as powerpoint

39

Oracle AMIsOracle AMIs

Page 40: view the deck as powerpoint

40

Start an InstanceStart an Instance

Page 41: view the deck as powerpoint

41

Pending InstancePending Instance

Page 42: view the deck as powerpoint

42

Instance DetailsInstance Details

Page 43: view the deck as powerpoint

43

Attach an Elastic IPAttach an Elastic IP

Page 44: view the deck as powerpoint

44

Attached Elastic IPAttached Elastic IP

Page 45: view the deck as powerpoint

45

Elastic Block Storage Attach VolumeElastic Block Storage Attach Volume

Page 46: view the deck as powerpoint

46

Elastic Block Storage Attach Volume Elastic Block Storage Attach Volume PopupPopup

Page 47: view the deck as powerpoint

47

Elastic Block Storage Attached VolumeElastic Block Storage Attached Volume

Page 48: view the deck as powerpoint

48

Instance Startup Console OutputInstance Startup Console Output

Page 49: view the deck as powerpoint

49

Oracle StartedOracle Started

Page 50: view the deck as powerpoint

50

SSH to InstanceSSH to Instance

Page 51: view the deck as powerpoint

51

Oracle License AgreementOracle License Agreement

Page 52: view the deck as powerpoint

52

Set Oracle PasswordSet Oracle Password

Page 53: view the deck as powerpoint

53

Ready to RumbleReady to Rumble

Page 54: view the deck as powerpoint

54

Mount an ext2 Filesystem on EBS Mount an ext2 Filesystem on EBS VolumeVolume

/sbin/mke2fs -j /dev/sdg

echo "/dev/sdg /vol ext3 noatime 0 0" >> /etc/fstab

mkdir /vol

mount /vol

$ df --si

Page 55: view the deck as powerpoint

55

Verify EBS Volume df -siVerify EBS Volume df -si

Page 56: view the deck as powerpoint

56

AWS ApExAWS ApEx

Page 57: view the deck as powerpoint

57

Cloud Computing with Amazon and Oracle

Lewis CunninghamTUSC, Sr Datawarehouse Consultanthttp://it.toolbox.com/blogs/oracle-guidehttp://databasewisdom.com/ 12/11/2008