Security skills are learned by doing, and doing means attacking systems. The only safe and legal way to practise is against systems you own or are explicitly authorized to test. A private lab on VPS or dedicated servers gives you realistic targets, always available, without risking anyone else's systems. This guide explains how to build one responsibly.
Ground Rules
- Authorization: test only systems you own or have written permission to test, within an agreed scope and time.
- Provider policy: read your hosting provider's acceptable use policy; scanning or exploiting systems you do not own is prohibited and illegal.
- Containment: vulnerable targets must not be reachable from the internet.
- Purpose: learning, research and authorized engagements, never attacks on third parties.
Lab Architecture
you ─▶ VPN (WireGuard/OpenVPN) ─▶ lab network
├─ attack box (Kali Linux)
├─ web targets (containers: DVWA, Juice Shop)
├─ Linux target VMs
└─ Windows / Active Directory targets (optional)
public internet ✗ no access to targets
All lab traffic stays inside the VPN or a private network. Firewall rules allow nothing from the internet to the targets, and restrict targets' outbound traffic to what exercises need.
The Attack Machine
Kali Linux bundles common security tools. Run it on a VPS reachable through the VPN, or use a Kali desktop over RDP for a graphical environment (see SkyRainCloud's Kali Linux RDP page). Keep it updated, and do not store client data from real engagements on a shared lab box.
Targets
| Target type | Examples | How to run |
|---|---|---|
| Vulnerable web apps | DVWA, OWASP Juice Shop, WebGoat | Containers on a private network |
| Vulnerable Linux machines | Metasploitable-style VMs, practice VMs | VMs on a hypervisor (dedicated server or nested where supported) |
| Windows and Active Directory | Evaluation Windows Server images with a lab domain | VMs with more RAM |
| Your own applications | Staging copies of your products | Isolated environment with test data only |
Use evaluation licences properly for Windows and never use production data.
VPS or Dedicated Server?
Container-based web labs run well on a VPS. Labs with many full VMs, especially Windows and Active Directory, are easier on a dedicated server running a hypervisor such as Proxmox, where you can create private networks and snapshots freely. SkyRainCloud's dedicated servers include 128 GB RAM for larger labs.
Snapshots and Resets
Exercises change targets. Snapshot targets in a clean state and reset them after each session, or rebuild containers from images. Automate resets so the lab is always ready and nothing compromised lingers.
Logging and Documentation
Log what you do: commands, tools, timestamps and findings. For authorized engagements, this record supports your report and protects you if questions arise. In the lab, it turns practice into reusable notes and helps you write better detection rules for defenders (see our honeypot guide for the defensive side).
Securing the Lab Itself
- Access only through a VPN (see our OpenVPN guide) with strong authentication.
- Separate the lab from production infrastructure and accounts.
- Restrict outbound traffic from targets.
- Remove or stop targets you are not using.
Sizing
| Lab | Suggested resources |
|---|---|
| Attack box plus containerised web targets | 4 vCores / 16 GB |
| Several Linux VMs and web targets | 8 vCores / 32 GB |
| Windows / Active Directory lab with many VMs | Dedicated server with 128 GB RAM |
Labs for Teams and Training
Training providers and companies running internal training can give each learner an isolated set of targets, reset between sessions, with access through individual VPN accounts. Document lab rules and scope for participants, and monitor usage.
Example: A Small Consultancy's Lab
A security consultancy runs a dedicated server with Proxmox hosting a Kali VM, a Windows Active Directory lab and several vulnerable Linux VMs on an internal network. Consultants connect through WireGuard, targets have no internet access, snapshots reset everything nightly, and the lab is used to rehearse techniques before authorized client engagements.
Common Mistakes
- Exposing intentionally vulnerable apps to the internet.
- Scanning or testing systems without written authorization.
- Mixing lab and production on the same server or account.
- Never resetting compromised targets.
- Ignoring the provider's acceptable use policy.
In Short
Build labs on infrastructure you control, keep vulnerable targets behind a VPN, test only what you are authorized to test, follow provider policies, snapshot and reset, and document your work.
Next Steps
Write down your lab's rules and scope, set up a VPN, deploy an attack box and one containerised target, confirm nothing is reachable from the internet, then add targets one at a time. Security tools are only as good as the people and routines around them, so assign an owner, schedule regular reviews and record what you change and why.
SkyRainCloud Plans for This Workload
A small lab (attack box plus two or three targets) fits 4 vCores / 16 GB with containers; larger labs with Windows and Active Directory targets suit 8 vCores / 32 GB or a dedicated server running a hypervisor.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Dedicated Server India
Unshared Intel Xeon bare-metal servers in Mumbai and Delhi with 1 Gbps connectivity.
| Plan | Cores / Threads | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| 2× Intel Xeon E5-2699 v4 (Mumbai / Delhi) | 44 / 88 (2.2 GHz base, 3.6 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹17,999/month | Business websites, stores, databases, ERP and many client sites | Order |
| 2× Intel Xeon Platinum 8269CY (Mumbai / Delhi) | 52 / 104 (2.5 GHz base, 3.8 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹19,999/month | Virtualization hosts, large databases, SaaS and container platforms | Order |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.