PushToTest does performance testing for Social/Mobile Web apps. For example, We used 20 AWS EC2 c1.medium instances to generate 50,000 user transactions in a 10 minute period.
Our TestMaker software is Java and runs on EC2/Centos, Windows, Linux, Unix to operate virtual users. Each virtual user operates a headless browser. The browser operates a test use case to operate the app.
Our customer's site are often served from the Akamai Edge Cache. The user's browser makes a DNS query for the IP address and Akamai dynamically finds the Edge Cache (called a Region) that is closest to the user. The Edge Cache serves the HTML of the site and the media (jpg, png, Flash, etc.) from the region.
Our test solution needs to do the DNS query as a set of source IP addresses. Each EC2 instance needs to be from a unique IP address that the test environment sets. It is a range of IP addresses from various locations around North America. PushToTest provides the IP addresses.
We need a way to tell the Centos instance the source IP address when it makes the DNS query.
How can we do this in EC2?
-Frank