Ec2 instances support

Initial PR for ec2 instances support.

I'm not attached to the 'data' hash being there, it's mostly for testing purposes.