AWS EC2 API wrapper

Let me send a pull request about AWS EC2 related APIs.

Of note,  EC2 API unit test in this commit takes around 1 min since it has to wait EC2 Instance creation and termination.