

VirtualBox configurationįor this example we’re going to create two VirtualBox instances with Ubuntu Server 16.04 on them. So let’s see how you can setup and configure a network of VirtualBox instances, with static IP addresses and Internet access. And we’ll probably need to ensure they can access the Internet, to install packages as request by the scripts. We also need them to be accessible from the host if we want our Ansible playbooks to work, for example. We need the instances to be able to talk to each other, so we’ll probably have to assign static IP addresses to them. Thanks to virtualization technologies such as VirtualBox we can create such an environment in the comfort of your development machine. But if you are developing a pet project at home, you may not have that luxury.

If you’re working on an enterprise project, chances are the company provided you with such an environment. Ideally, you would test the deployment on a controlled environment.

It is really kind of obvious nowadays! But then why not also testing your deployment scripts before using them in production? Professional developers know they must test their code before releasing it.
