Automate Amazon S3 Storage with Alexandria

1,176 views

Published on

Presented at the AUSOUG Perth Monthly Meeting, September 2012

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,176
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Automate Amazon S3 Storage with Alexandria

  1. 1. Automate Amazon S3 Storage with Alexandria Jeffrey Kemp AUSOUG Monthly, September 2012
  2. 2. About Me • Oracle Developer since 2000 • SQL, PL/SQL, Apex http://jeffkemponoracle.com
  3. 3. 1. Amazon Web Services 2. Amazon S3 3. Alexandria 4. Demo
  4. 4. • Cloud services • Low cost • OS agnostic http://aws.amazon.com
  5. 5. AWSProducts
  6. 6. S3 Features • Storage buckets • Files and "folders" • Permissions • Web interface • SOAP and REST-style APIs
  7. 7. Advanced Features • Website • Versioning • Lifecycle • Access logging • Storage buckets • Files and "folders" • Permissions • Web interface • SOAP and REST-style APIs
  8. 8. REST-style S3 API Buckets: • get (list objects) • put / delete • get / put ACL Objects: • get • put / delete • get / put ACL • Multipart Upload • BitTorrent http://docs.amazonwebservices.com/AmazonS3/latest/API/Welcome.html
  9. 9. Simple Example in Apex • Jason Straub, Oracle • Proof of Concept • Simple • Minor issues http://jastraub.blogspot.com.au http://www.oracle.com/technetwork/developer-tools/apex/ application-express/integration-086636.html
  10. 10. • Morten Braten "Chief Scribe of the Library" • Open source http://code.google.com/p/plsql-utils/ http://ora-00001.blogspot.com
  11. 11. Alexandria Packages • PDF, RTF, Excel, Office 2007 • Zip and unzip • RSS feeds • JSON • FTP, SMTP, POP3, IMAP • MS Exchange • Google Maps, Translate, Calendar • Twitter • SOAP or REST • … plus some others • … and more to come
  12. 12. “when you have a golden hammer, everything looks like a nail” … but it’s fun, all the same
  13. 13. AMAZON_AWS_S3_PKG • Uses UTL_HTTP • Requires AMAZON_AWS_AUTH_PKG • which requires execute on DBMS_CRYPTO
  14. 14. AMAZON_AWS_S3_PKG • get_bucket_list • get_bucket_tab • new_bucket • get_object_list • get_object_tab • get_download_url • new_object • delete_object • get_object
  15. 15. 1. Amazon Web Services 2. Amazon S3 3. Alexandria 4. Demo alex-demo.sql
  16. 16. Extending the package • Delete bucket • Extended object list • Get or Modify Website for a bucket • Get or Modify ACL for a bucket or object • Get BitTorrent URL • Multipart Upload   
  17. 17. Links Amazon Web Services bit.ly/KXDk aws.amazon.com S3 API Docs bit.ly/Ns6Dac docs.amazonwebservices.com/AmazonS3/ latest/API/Welcome.html Jason Straub bit.ly/OnSWVD jastraub.blogspot.com.au White Paper, Apex+S3 POC bit.ly/OnT1bL www.oracle.com/technetwork/developer -tools/apex/application- express/integration-086636.html Alexandria bit.ly/dMWOli code.google.com/p/plsql-utils/ Morten Braten bit.ly/USyXTQ ora-00001.blogspot.com
  18. 18. Thank you http://jeffkemponoracle.com

×