Cloud-based Load Testing Service can be used for performance and scale testing of an application by generating load from Azure.
It is often observed that application is deployed in the internal environment behind the firewall before it is deployed to production or you have an application that is deployed internally and accessible on your organization's network only.
Load testing such Internal Apps require the load test agents in the Cloud-based Load Testing Service to reach them in a secure way. One way to accomplish this scenario is to use 'Trusted IP' as described below.
Trusted IP
This feature is in limited preview for next few months. The following diagram briefly demonstrates how it works:
You need to follow these steps in order to start using this feature:
1. Fill in the following table and send it to vsoloadtest@microsoft.com from the Visual Studio Online account owner’s email ID:
Your Visual Studio Online account | |
Azure Region from where load needs to be generated from | East US2 (Virginia) or West Europe (Netherlands) Note that: At present, load generation is supported from East US2 or West Europe regions only, depending on where your VSO account is hosted. |
Number of IPs to reserve | Number of IPs you should request depends on the number of concurrent Load Test runs you plan to execute. Concurrent runs are only needed if you have to use more than 20 cores to generate the load. |
2. You should hear back from us in a week. If the request is accepted, you will receive a set of trusted public IPs allocated for your exclusive use.
3. You should then enable exceptions for those IPs in your firewall. Refer to the Windows Firewall and IPsec Policy Deployment Guide here
4. There is no other configuration or other changes required in your load test settings for this to work.
All load test runs originating from your account will use one of the allocated Trusted IPs. And if your firewall is configured correctly, the requests from the load generators will be able to reach your Internal App.
Since the IPs are reserved against your account, you are assured that the traffic from those IPs are only on account of the load test runs initiated from your account
5. Since the feature is in internal preview:
a. The number of IPs you can reserve is limited
b. You will not be billed for the IPs allocated for your account
c. You will currently be able to reserve IPs for a period of 2 months.
After which you will need to tell us if you want to continue using the IPs.
This is only to make sure that we can reclaim IPs that are not being used.
We are more than eager to further engage with you to understand your specific environment and help you load test your internal App using the Cloud-based Load Testing Service.
Feel free to reach out to us at vsoloadtest@microsoft.com
You can find additional Load Testing resources like articles, tutorials and guides here.