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
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
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.
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. 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!