presentation - cloud computing with amazon and oracle

Upload: femaracujinha89

Post on 04-Jun-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    1/57

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    2/57

    2

    IntroductionIntroduction

    Oracle ACE Director Author

    Former Cloud Architect for EnterpriseDB

    Currently Data Warehouse Consultant for TUSC

    Blogger, An Epert!s "uide to Oracle Technology

    http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/
  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    3/57

    3

    My New BookMy New Book

    http://sqlstarter.comhttp://sqlstarter.com

    http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/
  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    4/57

    4

    AgendaAgenda

    What #s Cloud Computing$

    What Does Ama%on Offer$

    The &alue 'roposition

    Where Does Oracle Fit #n$

    (o) Does Ama%on Wor*$

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    5/57

    5

    What is Cloud ComputingWhat is Cloud Computing

    Cloud computing is using the internet to accesssomeone else's software running on someoneelse's hardware in someone else's data center.

    - Lewis Cunningham

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    6/57

    6

    !istri"uted Computing!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 notcloud computing

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    7/577

    #o$tware as a #er%ice & #aa##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.

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    8/578

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

    Salesforce.com Google App Engine Aptana

    Provides a development platform and hosting

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    9/579

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

    Iaa#Iaa#

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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    10/5710

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

    Iaa#Iaa#

    Key Features

    Virtualization Nearly instance scalability Everything is a service

    Utility style (pay for what you use) Hardware, OS, Software, Storage & Network

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    11/5711

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    *lectronic Compute Cloud + *C,*lectronic Compute Cloud + *C,

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

    Safety Coming Soon - Regions

    Availability Zones

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    12/5712

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    *lectronic Compute Cloud + *C,*lectronic Compute Cloud + *C,

    Elastic Internet (IP) Addresses Dynamic Addition

    Dynamic Reallocate Security

    XEN Hypervisor

    Disk encryption is your call Security Groups controls access

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    13/5713

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    *lectronic Compute Cloud + *C,*lectronic Compute Cloud + *C,

    Storage is Transient S3

    EBS SLA

    Amazon warrants 99.95% uptime

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    14/5714

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    *lectronic Compute Cloud + *C,*lectronic Compute Cloud + *C,

    Computing Power based on a Compute Unit 1 Compute Unit = 1 Circa 2007 1.0-1.2 GHz Opteron orXeon CPU

    Cost is based on Memory, Storage and Compute Units

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    15/5715

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    *lectronic Compute Cloud + *C,*lectronic Compute Cloud + *C,

    Instance Type MemoryComputeUnits

    Storage Platform LinuxCPU/Hour

    WindowsCPU/Hour

    S m a l l !"#$ %$ '()*it +&!& +&!(,

    L a r g e "!,#$ - .,$ %-)*it +&!-& +&!,& x t r a L a r g e ,#$ . %0$ %-)*it +&!.& +!&&

    H i g 1 C P U 2M e d i u m !"#$ , ',$ '()*it +&!(& +&!'&

    H i g 1 C P U 2L a r g e "#$ (& %0$ %-)*it +&!.& +!(&

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    16/5716

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    #imple #torage #er%ice + #-#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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    17/5717

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    #imple #torage #er%ice + #-#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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    18/5718

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    #imple #torage #er%ice + #-#imple #torage #er%ice + #-

    Storage2 US per #$ urope per #$

    3 i r s t , & T $ / M o n t 1 +&!,& +&!.&4 e x t , & T $ / M o n t 1 +&!-& +&!"&

    4 e x t - & & T $ / M o n t 1 +&!'& +&!%&5 6 e r , & & T $ / M o n t 1 +&!(& +&!,&

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    19/5719

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    #imple #torage #er%ice + #-#imple #torage #er%ice + #-

    7ata Transfer US per #$ urope per #$

    T r a n s f e r n t o S ' +&!&& +&!&&

    3 i r s t & T $ 5 u t o fS ' +&!"& +&!"&4 e x t - & T $ 5 u t o fS ' +&!'& +&!'&4 e x t & & T $ 5 u t o fS ' +&!& +&!&

    5 u t o 6 e r , & T $ +&!&& +&!&&

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    20/5720

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    #imple #torage #er%ice + #-#imple #torage #er%ice + #-

    8e9uests US per 8e9uest urope per 8e9uest

    P u t 2 C o p y 2 L i s t 2P o s t +&!& +&!&(7 e l e t e : a l w a y sf r e e ; +&!&& +&!&&

    # e t a n d a l l o t 1 e rr e 9 u e s t s +&!& +&!&(

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    21/5721

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    #imple #torage #er%ice + #-#imple #torage #er%ice + #-

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

    10% Credit If

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    22/5722

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    *lastic Block #torage & *B#*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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    23/57

    23

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    #imple ueue #er%ice & ###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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    24/57

    24

    What !oes Ama(on )$$erWhat !oes Ama(on )$$er

    #imple !B#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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    25/57

    25

    What !oes Ama(on )$$er alueWhat !oes Ama(on )$$er alue

    'roposition'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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    26/57

    26

    Where !oes )racle 0it InWhere !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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    27/57

    27

    Where !oes )racle 0it InWhere !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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    28/57

    28

    Where !oes )racle 0it InWhere !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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    29/57

    29

    Where !oes )racle 0it InWhere !oes )racle 0it In

    )racle Cloud Control)racle Cloud Control

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    30/57

    30

    1ow does Ama(on work1ow does Ama(on work

    Command Line Tools (Yuck) 3rdParty Add-ons ElasticFox (#1) Cloud Studio

    3rdParty Vendors

    RightScale Elastra

    This demo will use ElasticFox

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    31/57

    31

    *lastic 0o2*lastic 0o2

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    32/57

    32

    CredentialsCredentials

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    33/57

    33

    ##1 3ey 'airs##1 3ey 'airs

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    34/57

    34

    #ecurity 4roup#ecurity 4roup

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    35/57

    35

    *lastic I's*lastic I's

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    36/57

    36

    *lastic Block #torage Create olume*lastic Block #torage Create olume

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    37/57

    37

    *lastic Block #torage 5nattached*lastic Block #torage 5nattached

    olumeolume

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    38/57

    38

    Current A%aila"ility 6onesCurrent A%aila"ility 6ones

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    39/57

    39

    )racle AMIs)racle AMIs

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    40/57

    40

    #tart an Instance#tart an Instance

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    41/57

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    42/57

    42

    Instance !etailsInstance !etails

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    43/57

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    44/57

    44

    Attached *lastic I'Attached *lastic I'

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    45/57

    45

    *lastic Block #torage Attach olume*lastic Block #torage Attach olume

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    46/57

    46

    *lastic Block #torage Attach olume*lastic Block #torage Attach olume

    'opup'opup

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    47/57

    47

    *lastic Block #torage Attached olume*lastic Block #torage Attached olume

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    48/57

    48

    Instance #tartup Console )utputInstance #tartup Console )utput

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    49/57

    49

    )racle #tarted)racle #tarted

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    50/57

    50

    ##1 to Instance##1 to Instance

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    51/57

    51

    )racle 7icense Agreement)racle 7icense Agreement

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    52/57

    52

    #et )racle 'assword#et )racle 'assword

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    53/57

    53

    8eady to 8um"le8eady to 8um"le

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    54/57

    54

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

    olumeolume

    /sbin/mke2fs -j /dev/sdg

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

    mkdir /vol

    mount /vol

    $ df --si

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    55/57

    55

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

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    56/57

    56

    AW# Ap*2AW# Ap*2

  • 8/13/2019 Presentation - Cloud Computing With Amazon and Oracle

    57/57

    Cloud Computing withAmazon and Oracle

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

    http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/http://mnt/tmp/lo-pdf-convertOwLr7k/