view the deck as powerpoint

896 views
848 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
896
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

view the deck as powerpoint

  1. 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
  2. 2. Introduction <ul><li>Oracle ACE Director </li></ul><ul><li>Author </li></ul><ul><li>Former Cloud Architect for EnterpriseDB </li></ul><ul><li>Currently Data Warehouse Consultant for TUSC </li></ul><ul><li>Blogger, An Expert's Guide to Oracle Technology </li></ul>
  3. 3. My New Book http://sqlstarter.com
  4. 4. Agenda <ul><li>What Is Cloud Computing? </li></ul><ul><li>What Does Amazon Offer? </li></ul><ul><li>The Value Proposition </li></ul><ul><li>Where Does Oracle Fit In? </li></ul><ul><li>How Does Amazon Work? </li></ul>
  5. 5. 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
  6. 6. Distributed Computing <ul><li>Remember SETI@Home? </li></ul><ul><li>Heard of HADOOP? </li></ul><ul><li>Grid Computing </li></ul><ul><li>Distributed computing is spreading a large task over many machines </li></ul><ul><li>Distributed computing can be cloud computing but is not cloud computing </li></ul>
  7. 7. Software as a Service - SaaS <ul><li>Gmail & Yahoo Mail </li></ul><ul><li>Google Docs </li></ul><ul><li>Mozy Online Backups </li></ul><ul><li>CRM </li></ul><ul><li>Remember Application Service Providers? </li></ul><ul><li>The next big thing of 2000 that didn't happen. </li></ul>
  8. 8. Platform as a Service - PaaS <ul><li>Salesforce.com </li></ul><ul><li>Google App Engine </li></ul><ul><li>Aptana </li></ul><ul><li>Provides a development platform and hosting </li></ul>
  9. 9. Infrastructure as a Service - IaaS <ul><li>Amazon Web Services (AWS) </li></ul><ul><li>EMC Fortress (Storage Cloud) </li></ul><ul><li>HP Adaptive IaaS </li></ul><ul><li>WIPRO, CISCO, IBM, Sun </li></ul><ul><li>Everybody and their brother </li></ul>
  10. 10. Infrastructure as a Service - IaaS <ul><li>Key Features </li></ul><ul><li>Virtualization </li></ul><ul><li>Nearly instance scalability </li></ul><ul><li>Everything is a service </li></ul><ul><li>Utility style (pay for what you use) </li></ul><ul><li>Hardware, OS, Software, Storage & Network </li></ul>
  11. 11. What Does Amazon Offer? Electronic Compute Cloud – EC2 <ul><li>Hardware Virtualization </li></ul><ul><ul><li>Amazon Machine Image (AMI) </li></ul></ul><ul><ul><li>CPU, Memory, Storage </li></ul></ul><ul><ul><li>Linux, Solaris, Windows </li></ul></ul><ul><li>Safety </li></ul><ul><ul><li>Coming Soon - Regions </li></ul></ul><ul><ul><li>Availability Zones </li></ul></ul>
  12. 12. What Does Amazon Offer? Electronic Compute Cloud – EC2 <ul><li>Elastic Internet (IP) Addresses </li></ul><ul><ul><li>Dynamic Addition </li></ul></ul><ul><ul><li>Dynamic Reallocate </li></ul></ul><ul><li>Security </li></ul><ul><ul><li>XEN Hypervisor </li></ul></ul><ul><ul><li>Disk encryption is your call </li></ul></ul><ul><ul><li>Security Groups controls access </li></ul></ul>
  13. 13. What Does Amazon Offer? Electronic Compute Cloud – EC2 <ul><li>Storage is Transient </li></ul><ul><ul><li>S3 </li></ul></ul><ul><ul><li>EBS </li></ul></ul><ul><li>SLA </li></ul><ul><ul><li>Amazon warrants 99.95% uptime </li></ul></ul><ul><ul><li><99.95 gets a 10% discount </li></ul></ul>
  14. 14. What Does Amazon Offer? Electronic Compute Cloud – EC2 <ul><li>Computing Power based on a Compute Unit </li></ul><ul><ul><li>1 Compute Unit = 1 Circa 2007 1.0-1.2 GHz Opteron or Xeon CPU </li></ul></ul><ul><li>Cost is based on Memory, Storage and Compute Units </li></ul>
  15. 15. What Does Amazon Offer? Electronic Compute Cloud – EC2 Instance Type Memory Compute Units Storage Platform Linux 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
  16. 16. What Does Amazon Offer? Simple Storage Service – S3 <ul><li>API Driven Storage </li></ul><ul><ul><li>Get, Put and Delete </li></ul></ul><ul><li>Organized around buckets </li></ul><ul><ul><li>Bucket like a directory </li></ul></ul><ul><ul><li>Bucket can hold objects or more buckets </li></ul></ul><ul><li>Objects can be up to 5gb each </li></ul>
  17. 17. What Does Amazon Offer? Simple Storage Service – S3 <ul><li>Access </li></ul><ul><ul><li>Fast </li></ul></ul><ul><ul><li>Reliable </li></ul></ul><ul><ul><li>HTTP – REST or SOAP </li></ul></ul><ul><li>Secure </li></ul><ul><ul><li>Access Control Lists (ACL) </li></ul></ul><ul><ul><li>Transfer uses SSL (encryption) </li></ul></ul><ul><ul><li>Can encrypt data at rest </li></ul></ul>
  18. 18. What Does Amazon Offer? Simple 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
  19. 19. What Does Amazon Offer? Simple 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
  20. 20. What Does Amazon Offer? Simple 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
  21. 21. What Does Amazon Offer? Simple Storage Service – S3 <ul><li>SLA </li></ul><ul><ul><li>99.9% Uptime Guarantee </li></ul></ul><ul><ul><li>If Between 99% and 99.9% Uptime </li></ul></ul><ul><ul><ul><li>10% Credit </li></ul></ul></ul><ul><ul><li>If <99% Uptime </li></ul></ul><ul><ul><ul><li>25% Credit </li></ul></ul></ul>
  22. 22. What Does Amazon Offer? Elastic Block Storage - EBS <ul><li>Like a USB Drive </li></ul><ul><li>Portable between AMIs </li></ul><ul><li>Persistent </li></ul><ul><li>Dynamically add and remove </li></ul><ul><li>Snapshots </li></ul><ul><li>10 cents per GB per month </li></ul><ul><li>10 cents per 1 million IOs per month </li></ul>
  23. 23. What Does Amazon Offer? Simple Queue Service - SQS <ul><li>Like Oracle AQ or IBM MQ Series </li></ul><ul><li>API based </li></ul><ul><li>Many interfaces </li></ul><ul><ul><li>Ruby, Java, Python, etc </li></ul></ul><ul><li>8k messages and unlimited queues </li></ul><ul><li>1 cent per 10000 requests </li></ul><ul><li>Data transfer in and out of Amazon costs </li></ul>
  24. 24. What Does Amazon Offer? Simple DB <ul><li>Amazon's first public web service </li></ul><ul><li>Very, very, very simple database </li></ul><ul><li>Not relational </li></ul><ul><li>Key/Value Pairs </li></ul><ul><li>Non-SQL </li></ul><ul><li>Not cheap, $1.50$0.25/GB/Month </li></ul><ul><li>Plus data transfer costs </li></ul>
  25. 25. What Does Amazon Offer? Value Proposition <ul><li>Economics </li></ul><ul><ul><li>Dev & Test no upfront capital </li></ul></ul><ul><ul><li>If you buy, buy exactly what you need </li></ul></ul><ul><ul><li>Pay for what you use </li></ul></ul><ul><ul><li>Pay as you go </li></ul></ul><ul><li>Easier </li></ul><ul><li>Faster </li></ul>
  26. 26. Where Does Oracle Fit In? <ul><li>Oracle AMIs </li></ul><ul><ul><li>Oracle 11g EE, SE & SE1 32-Bit </li></ul></ul><ul><ul><li>Oracle 11g EE, SE & SE1 64-Bit </li></ul></ul><ul><ul><li>Oracle 10g XE </li></ul></ul><ul><li>Oracle Hyperion Essbase </li></ul><ul><li>You can run OBIEE </li></ul><ul><li>You can run Application Server </li></ul><ul><li>Oracle provides licensing and support </li></ul>
  27. 27. Where Does Oracle Fit In? <ul><li>Oracle Secure Backup Cloud Module </li></ul><ul><ul><li>RMAN to S3, 9iR3 & higher </li></ul></ul><ul><ul><li>Can run using OEM </li></ul></ul><ul><ul><li>32-Bit Linux and Windows </li></ul></ul><ul><ul><li>More reliable than tape </li></ul></ul><ul><ul><li>Faster than tape (40-50MB/Sec) </li></ul></ul><ul><ul><li>Takes care of off site storage </li></ul></ul>
  28. 28. Where Does Oracle Fit In? <ul><li>Oracle Secure Backup Cloud Module </li></ul><ul><ul><li>Automatically Encrypts </li></ul></ul><ul><ul><li>Will use Oracle 11g Fast Compressed Backup (normally requires Advanced Compression license) at no cost </li></ul></ul><ul><ul><li>No more mounting tapes </li></ul></ul><ul><ul><li>Cheap, Cheap, Cheap </li></ul></ul>
  29. 29. Where Does Oracle Fit In? Oracle Cloud Control
  30. 30. How does Amazon work? <ul><ul><li>Command Line Tools (Yuck) </li></ul></ul><ul><ul><li>3 rd Party Add-ons </li></ul></ul><ul><ul><ul><li>ElasticFox (#1) </li></ul></ul></ul><ul><ul><ul><li>Cloud Studio </li></ul></ul></ul><ul><ul><li>3 rd Party Vendors </li></ul></ul><ul><ul><ul><li>RightScale </li></ul></ul></ul><ul><ul><ul><li>Elastra </li></ul></ul></ul><ul><li>This demo will use ElasticFox </li></ul>
  31. 31. Elastic Fox
  32. 32. Credentials
  33. 33. SSH Key Pairs
  34. 34. Security Group
  35. 35. Elastic IPs
  36. 36. Elastic Block Storage Create Volume
  37. 37. Elastic Block Storage Unattached Volume
  38. 38. Current Availability Zones
  39. 39. Oracle AMIs
  40. 40. Start an Instance
  41. 41. Pending Instance
  42. 42. Instance Details
  43. 43. Attach an Elastic IP
  44. 44. Attached Elastic IP
  45. 45. Elastic Block Storage Attach Volume
  46. 46. Elastic Block Storage Attach Volume Popup
  47. 47. Elastic Block Storage Attached Volume
  48. 48. Instance Startup Console Output
  49. 49. Oracle Started
  50. 50. SSH to Instance
  51. 51. Oracle License Agreement
  52. 52. Set Oracle Password
  53. 53. Ready to Rumble
  54. 54. Mount an ext2 Filesystem on EBS Volume /sbin/mke2fs -j /dev/sdg echo &quot;/dev/sdg /vol ext3 noatime 0 0&quot; >> /etc/fstab mkdir /vol mount /vol $ df --si
  55. 55. Verify EBS Volume df -si
  56. 56. AWS ApEx
  57. 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

×