For another personal project (that I can’t talk about for the moment ;-)), I wanted to have a Changelog file to get a better following of the infrastructure evolution (configuration management, scripts…all under git). Of course the documentation is very important, but when you do not write it at the same time you’re building the infrastructure, it may be complex to remember each little things you’ve done. That’s why a Changelog can help to understand how the infrastructure has been built step by step.

Continue reading

A few days ago I wanted to play with HAProxy SSL offloading. It was a good experience and alternative to Nginx SSL offloading (I already talked about in this blog). But this is not the topic here… When I was trying to make the offload working on the blog, I modified WordPress options which switched my blog into an infinite loop mode. As it was late and I was tired (bad idea), I just wanted to rollback my changes and needed to recover a SQL backup to do it fast.

Continue reading

A few months ago, I already talked about offloading SSL with Nginx. I also wanted to try it with HAProxy which can be more interesting in some cases. The good On HAProxy, the good thing is the simplicity to do it. First of all you need to have at least the version 1.5 of HAProxy so to get SSL support. Then you only need those lines to offload SSL: frontend frontend-https bind :443 ssl crt /etc/haproxy/ssl/server-unified.

Continue reading

Packer is a really great solution to make an image in several formats (VirtualBox, Docker…). I recently wanted to deploy it on a Jenkins server to automatically perform image build with the help of Packer. That’s why I’ve wrote a Packer role for Ansible really easy to use. You simply have to set (or let them by defaults) vars: # Packer version to install packer_version: '0.7.5' # Packer destination folder packer_destination: '/usr/bin' It will install the desired version :-)

Continue reading

For my company, I recently had to find a good solution to make Snapshots from Instance IDs or from tags on AWS. I made several searches but unfortunately didn’t find what I was searching for. That’s why I started to make a tool to do this kind of job. It’s written in Python and requires the Boto library. Here is what you can do with Simple EC2 snapshots: The tool is open source and can be downloaded on GitHub :-).

Continue reading

Packer is one of the tools I’ve used in the past to build VirtualBox boxes. You can find what I’ve done on my GitHub account. For Smash project, I wanted to make a packer configuration to manage Docker and VirtualBox. I also wanted to call Ansible to build specific images for each needs. The goal is to be able to build cloud image ready to start, without any special dependencies. This because I need different usages:

Continue reading

Author's picture

Pierre Mavro / Deimosfr


Qovery Co-Founder and CTO

Paris - France