Perl and AWS

2,527 views

Published on

Presentation for Barcelona Perl Mongers about Perl and Amazon Web Services

Published in: Technology
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total views
2,527
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
13
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Perl and AWS

  1. 1. Perl and AWS Jose Luis Martinez Perl Mongers BCN
  2. 2. AWS  Amazon Web Services  Not only EC2 (virtual machines)  ~30 services   ALL services are manageable from an API   Programmers wet dream :p APIs are REST based   Queues, Databases, Load Balancers, Datawarehouses, MapReduce Clusters : )________________________ The programmable datacenter
  3. 3. Perl  Do I have to introduce Perl?
  4. 4. Perl && AWS
  5. 5. Perl && AWS Bad news   No oficial SDK  Ruby, PHP, Python (started as community), JS, .Net, Java
  6. 6. Perl && AWS Good news   CPAN
  7. 7. AWS && Perl  We have LOTS of CPAN Support for different services  Net::AWS::SES  Net::Amazon::S3::Tools  AWS::CliWrapper  Net::S3  AWS::CloudFront  VM::EC2
  8. 8.  SimpleDB::Client  Net::Amazon::DynamoDB  Net::Amazon::R53  Net::Amazon::EC2  Amazon::SQS::Simple  Net::Amazon::HadoopEC2  Furl::S3  Net::Amazon::S3::Acl  Net::Amazon::EMR
  9. 9.  Amazon::SQS::ProducerConsumer  WebService::Amazon::Route53  Amazon::SNS  Net::Amazon::Glacier  Net::Amazon::EMR  AWS::CloudFront
  10. 10. Perl && AWS Bad news   Inconsistencies (method naming)  Nearly no STS Support  Arbitrary Defaults  eu-west-1?  us-east-1?  Not up to date (last API version)  Some are well architected. So easily extended.
  11. 11. Nothing for…  IAM  CloudFormation  SWF  RedShift  DataPipeline  CloudSearch  Elasticache  Elastic Beanstalk  …
  12. 12. What if we create an SDK  Lots of work…  Don’t think anybody is up to hand-coding all the APIs  So lets parse documentation?  No  Amazon doesn’t publish spec  Introspect other SDK objects and generate code from that   JS SDK has data-structures defining the APIs   Bingo! Execute JS and generate Perl code! Boto and PHP2   While doing that Even better. Have to do a proof of concept So lets “rob” (in an open source fashion )
  13. 13. There’s more work…  Calling schemes  9 json  19 query (done! needs testing!!!)  2 rest-json  4 rest-xml  Signers  HTTP library agnostic (so people can go async)  Documentation  Autogenerated too, please!
  14. 14. Want to help?  Fork and hack on it https://github.com/pplu/aws-sdk-perl

×