Create the Security Onion Virtual Machine

Now it’s time to create the Security Onion virtual machine (VM).

As I mentioned in the introduction, Security Onion is very resource intensive, particularly for RAM/memory. Review their Minimum Specs for hardware. In this tutorial series, I am going to deploy a Standalone instance of Security Onion using:

  • 8 CPU cores (4 recommended)
  • 24GB of RAM
  • 200GB of disk storage
  • 2 network interface cards
  1. In VMware Workstation Pro, click the File menu and then click New Virtual Machine.
  2. When the New Virtual Machine Wizard opens, leave the Typical (recommended) radio button selected and click Next.
  3. On the Guest Operating System Installation screen, select Installer from disk image (iso) and click Browse underneath it.
  4. In the Browse for ISO Image dialog, navigate to the Security Onion ISO that you downloaded earlier, select it, and click Open.
  5. VMware will detect the operating system type based on the ISO. Click Next.
  6. On the Name the Virtual Machine screen, enter a name for the OPNsense VM. I named mine onion2026. Then click the Browse button to select the location where the VM and its files will be saved to and stored.
  7. Select the folder where VMware stores the collection of files and other data that make up the virtual machine. I have created a folder on my local drive called onion-virtual-machines. Within that, I created a new folder and gave it the same name as the VM, onion2026. Navigate to the location where you want the VM stored and click OK.
  8. Click Next.
  9. On the Specify Disk Capacity screen, increase the default Maximum disk size (GB) from 20GB to 200GB, which is the recommended disk size for Security Onion, which produces a lot of log data. Leave the Split virtual disk into multiple files radio button selected and click Next.

    As of Security Onion version 3.1.0 in mid-2026, the recommended storage/disk size for a Standalone Security Onion deployment is 200 GB.

  10. The Ready to Create Virtual Machine screen displays a summary of the VM’s properties. Click Customize Hardware.
  11. The Hardware dialog opens. Click Memory. Security Onion needs a lot of RAM for a personal computer. Increase Memory for this virtual machine to 24GB of memory (24,576MB in computer math).

    As of Security Onion version 3.1.0 in mid-2026, the minimum required RAM/memory for a Standalone Security Onion deployment is 24GB.

  12. Next, click Processors. Click the Number of processors drop-down menu and select 4, then click the Number of cores per processor dialog and select 2 for Total processor cores: 8.

    As of Security Onion version 3.1.0 in mid-2026, the number of CPU cores for a Standalone Security Onion deployment is 4 cores.

  13. Click Network Adapter in the sidebar. The virtual machine’s single network adapter already has a NAT connection. We’re going to use this as the management interface for the Security Onion VM. You need to add another network adapter that Security Onion will use to monitor network traffic, so click Add at the bottom of the sidebar.
  14. When the Add Hardware Wizard displays, select Network Adapter and click Finish.
  15. Network Adapter 2 displays on the Device list. Click it and select the Custom: Specific virtual network radio button, then click the drop-down menu and select HOME_NET_LAN from the list of VMnets.
  16. You’re done adding hardware to the OPNsense VM. Click Close.
  17. Click Finish to close the New Virtual Machine Wizard and complete the creation of the OPNsense VM.
  18. The OPNsense VM appears in the left sidebar. Drag it into the Security-Onion-2026 folder.
  19. Create a snapshot of the VM so that you can revert to this state if something goes wrong in the future. Look for the clock icon with the red plus sign in the menu bar to Take a snapshot of this virtual machine.
  20. In the Take snapshot dialog, enter a Name and Description for the snapshot and click Take Snapshot.
  21. You are now ready to start your OPNsense VM, install it, and configure it to handle the traffic for your local lab.

Back to top

Last built: Friday, July 17, 2026 at 14:34 UTC
This site uses Just the Docs, a documentation theme for Jekyll.