In this guide, you determine how many Microsoft Defender for Identity sensors you need.
- Download the Defender for Identity Sizing Tool.
- Review the Defender for Identity architecture article.
- Review the Defender for Identity prerequisites article.
Use the sizing tool
The recommended and simplest way to determine capacity for your Defender for Identity deployment is to use the Defender for Identity Sizing Tool. If you’re unable to use the tool, you can manually gather traffic information. For more information the manual method, see the Domain controller traffic estimator section at the bottom of this article.
- Run the Defender for Identity Sizing Tool, TriSizingTool.exe, from the zip file you downloaded.
- When the tool finishes running, open the Excel file results.
- In the Excel file, locate and select the Azure ATP Summary sheet. The other sheet isn’t needed since it’s for ATA planning.
- Locate the Busy Packets/sec field in the Azure ATP sensor table in the results Excel file and make a note of it.
- Match your Busy Packets/sec field to the PACKETS PER SECOND field in the Defender for Identity sensor table section of this article. Use the fields to determine the memory and CPU that will be used by the sensor.
Defender for Identity sensor sizing
A Defender for Identity sensor can support the monitoring of a domain controller based on the amount of network traffic the domain controller generates. The following table is an estimate. The final amount that the sensor parses is dependent on the amount of traffic and the distribution of traffic.
The following CPU and Random Access Memory (RAM) capacity refers to the sensor’s own consumption, not the domain controller capacity.
|Packets per second||CPU (cores)*||Memory** (GB)|
* This includes physical cores, not hyper-threaded cores.
** Random-access memory (RAM)
When determining sizing, note the following items:
- Total number of cores that the sensor service will use.
It’s recommended that you don’t work with hyper-threaded cores. Working with hyper-threaded cores can result in Defender for Identity sensor health issues.
- Total amount of memory that the sensor service will use.
- If the domain controller doesn’t have the resources required by the Defender for Identity sensor, domain controller performance isn’t affected. However, the Defender for Identity sensor might not operate as expected.
- When running as a virtual machine, all memory is required to be allocated to the virtual machine at all times.
- For optimal performance, set the Power Option of the Defender for Identity sensor to High Performance.
- A minimum of 2 cores is required.
- A minimum of 6 GB of hard drive space is required, 10 GB is recommended, including space needed for the Defender for Identity binaries and logs.
When running as a virtual machine, all memory is required to be allocated to the virtual machine at all times.
|VM running on||Description|
|Hyper-V||Ensure that Enable Dynamic Memory isn’t enabled for the VM.|
|VMware||Ensure that the amount of memory configured and the reserved memory are the same, or select the following option in the VM setting – Reserve all guest memory (All locked).|
|Other virtualization host||Refer to the vendor supplied documentation on how to ensure that memory is fully allocated to the VM at all times.|
Domain controller traffic estimation
If for some reason you can’t use the Defender for Identity Sizing Tool, manually gather the packet/sec counter information from all your domain controllers. Gather the information for 24 hours with a low collection interval, approximately 5 seconds. Then, for each domain controller, calculate the daily average and the busiest period (15 minutes) average. The following sections present the instruction for how to collect the packets/sec counter from one domain controller.
There are various tools that you can use to discover the average packets per second of your domain controllers. If you don’t have any tools that track this counter, you can use Performance Monitor to gather the required information.
To determine packets per second, do the following steps on each domain controller:
- Open Performance Monitor.
- Expand Data Collector Sets.
- Right-click User Defined and select New > Data Collector Set.
- Enter a name for the collector set and select Create Manually (Advanced).
- Under What type of data do you want to include? select Create data logs, and Performance counter.
- Under Which performance counters would you like to log, select Add.
- Expand Network Adapter and select Packets/sec and select the proper instance. If you aren’t sure, you can select <All instances> and select Add and OK.
To perform this operation in a command line, run
ipconfig /allto see the name of the adapter and configuration.
- Change the Sample interval to five seconds.
- Set the location where you want the data to be saved.
- Under Create the data collector set, select Start this data collector set now, and select Finish.
You should now see the data collector set you created with a green triangle indicating that it’s working.
- After 24 hours, stop the data collector set, by right-clicking the data collector set and selecting Stop.
- In File Explorer, browse to the folder where the .blg file was saved and double-click it to open it in Performance Monitor.
- Select the Packets/sec counter, and record the average and maximum values.
In this guide, you determined how many Defender for Identity sensors you need. You also determined sizing for the sensors. Continue to the Create a Defender for Identity instance quickstart guide.