I currently have an almost perfect environment for local development using Vagrant and VirtualBox when working on Apple M1 chip (ARM-based). Configuration diagram as in the image below:
I am quite happy with this setup – doesn't take long to prepare. And what is most satisfying about such a solution is the code synchronization times - they are instantaneous, there is no noticeable delay - and the code compilation time. The latter, in the case of preparing a debian package, decreased from 12 minutes (with the standard use of VirtualBox locally) to 2.5 minutes!
More details:
- VPN service is running on Synology NAS
- Code synchronization uses Synology Drive
Do you have any insights or tips?