<Insert Picture Here>




Using Oracle Database with Amazon Web Services
Oracle Open World - November 2007
Bill Hodak     ...
The following is intended to outline our general
product direction. It is intended for information
purposes only, and may ...
Introduction

•   Web Services: Self-contained functions that can be
    published and invoked across the web using XML-
 ...
Amazon Elastic Compute Cloud (EC2)

•   EC2 is an Amazon Web Service offering that enables
    customers to create and pro...
Amazon Elastic Compute Cloud (EC2)

                             EC2 Instance Types
                        Small Instance...
Amazon Simple Storage Service (S3)
•   S3 is an Amazon Web Service offering that enables customers to
    leverage Amazon’...
Database Computing
in the Cloud
Database Computing in the Cloud
  The Basic Building Blocks

• Oracle Enterprise Linux

• Oracle Database Express Edition ...
Deploying Oracle XE on EC2

• Oracle Database Express Edition (XE)
    •   Free Edition of Oracle Database
    •   Easy to...
Deploying Oracle XE on EC2
  Overview of How it Works

• Sign-up for Amazon Web Services and EC2
  (http://aws.amazon.com)...
Demo Oracle Database on EC2
Oracle XE on EC2: Step by Step
Oracle XE-AMI: Step by Step

  Set Environment Variables:
Oracle XE-AMI: Step by Step

  Set Environment Variables:
Oracle XE-AMI: Step by Step

  Find the AMI we want to start:
Oracle XE-AMI: Step by Step

  Find the AMI we want to start:
Oracle XE-AMI: Step by Step

  Start an instance of the AMI:
Oracle XE-AMI: Step by Step

  Start an instance of the AMI:
Oracle XE-AMI: Step by Step

  See if the instance has started:
Oracle XE-AMI: Step by Step

  See if the instance has started:
Oracle XE-AMI: Step by Step

  See if the instance has started:
Oracle XE-AMI: Step by Step

  Get the host/DNS details:
Oracle XE-AMI: Step by Step

  SSH to the host:
Oracle XE-AMI: Step by Step

  SSH to the host:
Oracle XE-AMI: Step by Step

  SSH to the host:
Oracle XE-AMI: Step by Step
  Login as root:
Oracle XE-AMI: Step by Step
  Login as root:
Oracle XE-AMI: Step by Step
  Review the ‘readme’ files:
Oracle XE-AMI: Step by Step
  Review the ‘readme’ files:
Oracle XE-AMI: Step by Step
  Run the first_login.sh script:
Oracle XE-AMI: Step by Step
  Login to the database:
Oracle XE-AMI: Step by Step
  Login to the database:
Oracle XE-AMI: Step by Step
  Login to the database:
Oracle XE-AMI: Step by Step
  Login to the APEX:
Oracle XE-AMI: Step by Step
  Login to the APEX:
Database Storage in the Cloud
Oracle Recovery Manager

    Database Files    RMAN Backup       Flash Recovery Area
    Database Files    RMAN Backup    ...
Oracle Recovery Manager + S3

    Database Files    RMAN Backup       Flash Recovery Area
    Database Files    RMAN Backu...
Oracle Recovery Manager + S3

    Database Files    RMAN Backup       Flash Recovery Area
    Database Files    RMAN Backu...
Oracle Recovery Manager + S3

  Database Files                       RMAN Backup
  Database Files                       RM...
Oracle Recovery Manager + S3
  Configuring RMAN for S3

• Install Oracle Supplied SBT Library
• Configure sbt_pfile.ora
• ...
SecureFile Storage on S3

•   External Storage for SecureFiles (next generation LOB)
      •   SQL and PL/SQL access to Se...
Demo Oracle Database
Recovery Manager and S3
Oracle RMAN and S3: Step by Step

  Configure sbt_pfile.ora
Oracle RMAN and S3: Step by Step

 Configure RMAN Channel
Oracle RMAN and S3: Step by Step
Check you S3 Bucket
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Schedule an RMAN Backup
Oracle RMAN and S3: Step by Step
Monitor your RMAN Backup
Oracle RMAN and S3: Step by Step
Monitor your RMAN Backup
Oracle RMAN and S3: Step by Step
Check you S3 Bucket
Demo Oracle Database
SecureFiles and S3
Oracle SecureFiles and S3: Step by Step
Check you S3 Bucket
Oracle SecureFiles and S3: Step by Step
Check you S3 Bucket
Oracle SecureFiles and S3: Step by Step
Check you S3 Bucket
Oracle SecureFiles and S3: Step by Step
Create a Table with a LOB Column
Oracle SecureFiles and S3: Step by Step
Insert Data into the Table
Oracle SecureFiles and S3: Step by Step
Check the Size of the LOB Column
Oracle SecureFiles and S3: Step by Step
Check the Size of the LOB Column
Oracle SecureFiles and S3: Step by Step
Check the Size of the LOB Column
Oracle SecureFiles and S3: Step by Step
Review PL/SQL Block
Oracle SecureFiles and S3: Step by Step
Review PL/SQL Block
Oracle SecureFiles and S3: Step by Step
Load S3 Object into LOB Column
Oracle SecureFiles and S3: Step by Step
Check the Size of the LOB Column
Oracle SecureFiles and S3: Step by Step
Check the Size of the LOB Column
Oracle SecureFiles and S3: Step by Step
Check the Size of the LOB Column
Oracle SecureFiles and S3: Step by Step
Conclusion
                                                          EC2
•   Amazon Web Services provide Oracle customers ...
Beta Participation




       Contact Information:
          Bill Hodak
          bill.hodak@oracle.com
Using Oracle Database with Amazon Web Services
Using Oracle Database with Amazon Web Services
Upcoming SlideShare
Loading in...5
×

Using Oracle Database with Amazon Web Services

16,997

Published on

Published in: Business, Technology
2 Comments
14 Likes
Statistics
Notes
  • Thanks for the presentation.
    Now linked at both http://www.oraclecontractors.co.uk/Top-Links and www.ukocn.com – The UK’s largest independent Oracle Community Network
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • An excellent presentation now embedded at OracleLink.com - The Oracle Community Network

    http://www.oraclelink.com
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
16,997
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
899
Comments
2
Likes
14
Embeds 0
No embeds

No notes for slide

Using Oracle Database with Amazon Web Services

  1. 1. <Insert Picture Here> Using Oracle Database with Amazon Web Services Oracle Open World - November 2007 Bill Hodak Jinesh Varia Sr. Product Manager Web Services Evangelist Oracle Corporation Amazon
  2. 2. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remain at the sole discretion of Oracle.
  3. 3. Introduction • Web Services: Self-contained functions that can be published and invoked across the web using XML- based protocols. • Amazon Web Services (AWS): ‘Web Services’ for directly accessing Amazon's technology platform and product data, ranging from retrieving product information to leveraging Amazon’s vast data center resources: • Amazon Elastic Compute Cloud (EC2) • Amazon Simple Storage Service (S3) • Amazon E-Commerce Service • Amazon Simple Queue Service • and many more…
  4. 4. Amazon Elastic Compute Cloud (EC2) • EC2 is an Amazon Web Service offering that enables customers to create and provision, within minutes, virtual machines that reside in Amazon’s data center. • The amount of CPU that is allocated to a particular instance is expressed in ‘EC2 Compute Units’ • An EC2 Compute Unit is equivalent to the CPU capacity of a 1.0 – 1.2 GHz 2007 Opteron or 2007 Xeon processor • Amazon is responsible for managing the underlying data center and network. • EC2 customers can create custom virtual machines, known as Amazon Machine Images (AMI), and publish them for other EC2 customers to use.
  5. 5. Amazon Elastic Compute Cloud (EC2) EC2 Instance Types Small Instance Large Instance Extra Large Instance 32-Bit 64-Bit 64-Bit EC2 Compute Units 1 4 8 Virtual Cores 1 2 4 Memory 1.7 GB 7.5 GB 15 GB Instance Storage 160 GB 850 GB 1.7 TB Cost $0.10 / Hour $0.40 / Hour $0.80 / Hour • Bandwidth Costs • $0.18 per GB Transferred – first 10 TB / month • $0.16 per GB Transferred – next 40 TB / month • $0.13 per GB Transferred – over 50 TB / month
  6. 6. Amazon Simple Storage Service (S3) • S3 is an Amazon Web Service offering that enables customers to leverage Amazon’s data storage infrastructure to store and retrieve any amount of data. • Amazon is responsible for managing the underlying data center and network. • Amazon charges storage, bandwidth, and request rates for using S3 storage: • Storage Cost • $0.15 per GB per Month of storage used • Bandwidth Costs • $0.18 per GB Transferred – first 10 TB / month • $0.16 per GB Transferred – next 40 TB / month • $0.13 per GB Transferred – over 50 TB / month • Request Costs • $0.01 per 1,000 PUT or LIST Request • $0.01 per 10,000 GET and all other Requests
  7. 7. Database Computing in the Cloud
  8. 8. Database Computing in the Cloud The Basic Building Blocks • Oracle Enterprise Linux • Oracle Database Express Edition (XE) • Oracle Applications Express (APEX) • Amazon Elastic Compute Cloud (EC2) • Amazon Simple Storage Service (S3)
  9. 9. Deploying Oracle XE on EC2 • Oracle Database Express Edition (XE) • Free Edition of Oracle Database • Easy to Install (rpm), Manage, and Develop On • Oracle Applications Express (APEX) • Rapid Web Application Development Tool • A Perfect Solution for… • Proof of Concept Software Projects • Development Environments • Testing / Quality Assurance Environments • Sandbox for DBA
  10. 10. Deploying Oracle XE on EC2 Overview of How it Works • Sign-up for Amazon Web Services and EC2 (http://aws.amazon.com) • Install EC2 API’s from Amazon.com • Install Oracle Enterprise Linux on a root file system • Install Oracle Database Express Edition (XE) • Install Oracle Applications Express (APEX) • Bundle and upload your file system to EC2/S3
  11. 11. Demo Oracle Database on EC2
  12. 12. Oracle XE on EC2: Step by Step
  13. 13. Oracle XE-AMI: Step by Step Set Environment Variables:
  14. 14. Oracle XE-AMI: Step by Step Set Environment Variables:
  15. 15. Oracle XE-AMI: Step by Step Find the AMI we want to start:
  16. 16. Oracle XE-AMI: Step by Step Find the AMI we want to start:
  17. 17. Oracle XE-AMI: Step by Step Start an instance of the AMI:
  18. 18. Oracle XE-AMI: Step by Step Start an instance of the AMI:
  19. 19. Oracle XE-AMI: Step by Step See if the instance has started:
  20. 20. Oracle XE-AMI: Step by Step See if the instance has started:
  21. 21. Oracle XE-AMI: Step by Step See if the instance has started:
  22. 22. Oracle XE-AMI: Step by Step Get the host/DNS details:
  23. 23. Oracle XE-AMI: Step by Step SSH to the host:
  24. 24. Oracle XE-AMI: Step by Step SSH to the host:
  25. 25. Oracle XE-AMI: Step by Step SSH to the host:
  26. 26. Oracle XE-AMI: Step by Step Login as root:
  27. 27. Oracle XE-AMI: Step by Step Login as root:
  28. 28. Oracle XE-AMI: Step by Step Review the ‘readme’ files:
  29. 29. Oracle XE-AMI: Step by Step Review the ‘readme’ files:
  30. 30. Oracle XE-AMI: Step by Step Run the first_login.sh script:
  31. 31. Oracle XE-AMI: Step by Step Login to the database:
  32. 32. Oracle XE-AMI: Step by Step Login to the database:
  33. 33. Oracle XE-AMI: Step by Step Login to the database:
  34. 34. Oracle XE-AMI: Step by Step Login to the APEX:
  35. 35. Oracle XE-AMI: Step by Step Login to the APEX:
  36. 36. Database Storage in the Cloud
  37. 37. Oracle Recovery Manager Database Files RMAN Backup Flash Recovery Area Database Files RMAN Backup Flash Recovery Area RMAN Tape Interface RMAN Backup Best Practices • Backup to Flash Recovery Area (FRA) • Migrate backups from FRA to tape • Move tapes to off-site location Offsite Tape Storage
  38. 38. Oracle Recovery Manager + S3 Database Files RMAN Backup Flash Recovery Area Database Files RMAN Backup Flash Recovery Area RMAN S3 Interface RMAN Backup Best Practices • Backup to Flash Recovery Area (FRA) Amazon S3 Amazon S3 • Migrate Backups to S3 • Migrate backups from FRA to tape • Move tapes to off-site location
  39. 39. Oracle Recovery Manager + S3 Database Files RMAN Backup Flash Recovery Area Database Files RMAN Backup Flash Recovery Area RMAN S3 Interface RMAN Backup Best Practices • Backup to Flash Recovery Area (FRA) Amazon S3 Amazon S3 • Migrate Backups to S3 • Migrate backups from FRA to tape No Longer Necessary • Move tapes to off-site location
  40. 40. Oracle Recovery Manager + S3 Database Files RMAN Backup Database Files RMAN Backup RMAN S3 Interface Amazon S3 Amazon S3 …or backup directly to S3
  41. 41. Oracle Recovery Manager + S3 Configuring RMAN for S3 • Install Oracle Supplied SBT Library • Configure sbt_pfile.ora • Configure SBT Channel in RMAN • Point to SBT Library • Point to sbt_pfile.ora
  42. 42. SecureFile Storage on S3 • External Storage for SecureFiles (next generation LOB) • SQL and PL/SQL access to SecureFile data stored on S3 • Create, Retrieve, Update, Delete • Storage location (internal, S3) transparent to user • Enables transactional capabilities within S3 for SecureFiles (e.g. Rollback / Commit) • SecureFiles Archival Example • Store infrequently accessed SecureFiles on S3 • Low cost ‘online’ data archival • Reduce high-end storage utilization Amazon S3 Amazon S3 SQL
  43. 43. Demo Oracle Database Recovery Manager and S3
  44. 44. Oracle RMAN and S3: Step by Step Configure sbt_pfile.ora
  45. 45. Oracle RMAN and S3: Step by Step Configure RMAN Channel
  46. 46. Oracle RMAN and S3: Step by Step Check you S3 Bucket
  47. 47. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  48. 48. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  49. 49. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  50. 50. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  51. 51. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  52. 52. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  53. 53. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  54. 54. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  55. 55. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  56. 56. Oracle RMAN and S3: Step by Step Schedule an RMAN Backup
  57. 57. Oracle RMAN and S3: Step by Step Monitor your RMAN Backup
  58. 58. Oracle RMAN and S3: Step by Step Monitor your RMAN Backup
  59. 59. Oracle RMAN and S3: Step by Step Check you S3 Bucket
  60. 60. Demo Oracle Database SecureFiles and S3
  61. 61. Oracle SecureFiles and S3: Step by Step Check you S3 Bucket
  62. 62. Oracle SecureFiles and S3: Step by Step Check you S3 Bucket
  63. 63. Oracle SecureFiles and S3: Step by Step Check you S3 Bucket
  64. 64. Oracle SecureFiles and S3: Step by Step Create a Table with a LOB Column
  65. 65. Oracle SecureFiles and S3: Step by Step Insert Data into the Table
  66. 66. Oracle SecureFiles and S3: Step by Step Check the Size of the LOB Column
  67. 67. Oracle SecureFiles and S3: Step by Step Check the Size of the LOB Column
  68. 68. Oracle SecureFiles and S3: Step by Step Check the Size of the LOB Column
  69. 69. Oracle SecureFiles and S3: Step by Step Review PL/SQL Block
  70. 70. Oracle SecureFiles and S3: Step by Step Review PL/SQL Block
  71. 71. Oracle SecureFiles and S3: Step by Step Load S3 Object into LOB Column
  72. 72. Oracle SecureFiles and S3: Step by Step Check the Size of the LOB Column
  73. 73. Oracle SecureFiles and S3: Step by Step Check the Size of the LOB Column
  74. 74. Oracle SecureFiles and S3: Step by Step Check the Size of the LOB Column
  75. 75. Oracle SecureFiles and S3: Step by Step
  76. 76. Conclusion EC2 • Amazon Web Services provide Oracle customers with a compelling ‘Utility Computing Model’: • Pay only for what you use • Lowers IT costs (hardware and management) • Enables on-demand hardware provisioning • Perfect for Small and Medium Businesses (SMB) • Low costs • Minimum IT Administration • Highly Scalable Grid Computing
  77. 77. Beta Participation Contact Information: Bill Hodak bill.hodak@oracle.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×