Perl and AWS
Jose Luis Martinez
Perl Mongers BCN
Amazon Web Services
Not only EC2 (virtual machines)
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
Perl && AWS
Inconsistencies (method naming)
Nearly no STS Support
Not up to date (last API version)
Some are well architected. So
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?
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 )
There’s more work…
19 query (done! needs testing!!!)
HTTP library agnostic (so people can go async)
Autogenerated too, please!
Want to help?
Fork and hack on it https://github.com/pplu/aws-sdk-perl