This is a quickstart guide to deploying BOSH Lite v2 locally in VirtualBox that adds some context to the bosh-deployment and cf-deployment guides that I think are important to capture in 2021.
These steps are based on running BOSH Lite and cf-deployment using the following 2 host machines. These steps should still apply to other Linux-based systems (slight alterations for macOS):
BOSH Lite + cf-deployment can easily chew up about 50GB of storage from the start. I recommend dedicating at least 100GB to this. Allocating more CPU threads and memory can help speed up the cf-deployment compilation process and deployment time.
As of writing, there is an open issue with BOSH Lite failing to deploy on VirtualBox 6.1. To get around this, I have installed VirtualBox 6.0.
Relatively modern Linux OS releases (Fedora 32+, Ubuntu 21.04+) no longer support VirtualBox 6.0 due to requiring an older package and kernel not provided in the default package managers' repositories.