Vagrant Usage Research 2017

In 2014, right before the release of Vagrant Cookbook, I conducted a Vagrant usage research to get more insights on how people were using Vagrant at that time. Three years have passed since then, and I figured it would be interesting to repeat the research and compare the data, see what changed and how Vagrant is being used nowadays. In 2014, right before the release of Vagrant Cookbook, I conducted a Vagrant usage research to get more insights on how people were using Vagrant at that time. Three years have passed since then, and I figured it would be interesting…
View Post

OpsFirst: turning ops into a first-class citizen in your development process

We finally have the tools and the processing power to create real isolated environments that can be used seamlessly as day-to-day development envs. Nevertheless, some people still prefer to stick with older methods, for various reasons. Usually, the excuse is that it’s a lot of work – having to setup and automate an environment (a VM for instance) just to start developing the application, without even knowing for sure what kind of dependencies the app will need in the nearby future – and nobody has time for that. If you think that way, this post is for you. In the last 10 years,…
View Post

Using Phansible to provision a remote PHP server

Phansible is an open source project that provides an easy web interface to create Ansible provisionings for PHP based projects. Although the project is more focused on development environments with Vagrant, it’s quite easy to configure the downloaded bundle for provisioning any remote servers that you control. All it takes, besides making sure you have a proper SSH connection to those servers, is that you create a new inventory file to include the servers you want to control. Phansible is an open source project that provides an easy web interface to create Ansible provisionings for PHP based projects. Although the project is…
View Post

Configuring SSH server access for Ansible

This post is a practical guide on how to configure your SSH server access to use Ansible in the simplest and most efficient way. This practical guide will show how to setup SSH keys for a server/VPS so you can use Ansible from your local machine in a very straightforward way. This is what we want to achieve, in order to make things simple and efficient – no need for extra parameters when running Ansible: Make sure you have a SSH keypair for the current user* Make sure you have a user in the server, with the same username as your current user…
View Post

Configuring a multistage environment with Ansible and Vagrant

Ansible is a powerful and clean tool for automation. This post covers the configuration of a multistaging environment, consisting of one local development environment controlled by Vagrant, and one or more remote servers (staging, production etc) that will be controlled directly by Ansible, reusing a pre-existent development environment provisioning. These instructions cover the server and control machine configuration needed to run Ansible in a multistage environment, using Vagrant for controlling a local dev VM and one or more (production, staging) remote servers that will be controlled via Ansible. This way you can reuse most part of your Vagrant provisioning to create a powerful…
View Post