Devops

RDS infrastructure automation with Ansible

In this article we are going to describe how we realized our RDS infrastructure using Ansible as automation tool. We’ve completely avoided using AWS GUI, both for implementation and management activities. Our aim was to develop a parametric infrastructure, able to adapt to all of our projects simply by changing few parameters in…

Symfony and multi-tenant apps: Nuvola

This article starts a series of posts regarding a case-study about Symfony and multi-tenancy. Subject of the case-study is our flagship software Nuvola, a multi-tenancy product for schools, used since 2013 by more than 1 thousands Italian schools. Nuvola let them fulfill their administrative tasks, teachers completely accomplish their work online (grade…

Rome AWS Meetup day

Saturday the 15th of October we leaved the comfort of our couches (have we already said we are a distributed team from all around Italy?) to leave to the glorious destination of Rome! The ancient town best known for the engineers of the Roman empire, was once again at center…

Amazon S3 point in time restore

It’s said necessity is the mother of invention and in this article we’ll show the reason why we initially wrote s3-pit-restore. Our infrastructure heavily rely on S3 object storage to store the several millions files our users everyday produce. S3 works reliably and everything went well until we were in…

Peering multiple VPCs with Ansible

Sometimes happens, as it happened to us, that you have one or more services you want to share between your VPCs. For us, the case was for an ELK stack that we use internally to monitor the state of our infrastructure. With this article we want to share our recipe…

AWS Meetup – Rome

AWS is well known for its cloud services for almost everything you need in a cloud environment. As Madisoft we like them a lot and we use many of them for our cloud activities. We’re very proud and happy to be part of the AWS Meetup in Rome on 15th…

EC2 snapshots automating with Ansible

We were looking for a way to have our EC2 EBS volumes snapshotted on a daily basis. We already use AWS and Ansible, so the solution comes quite straightforward: Ansible + AWS = Daily Snapshots Our procedure works with Ansible >= 2.1. First step is about gathering every information required to build the…

Scaling Symfony sessions with Memcached

Sessions are one of the main building blocks of a login-based web application. We’re going to see what they are, what Symfony offers us to handle them and how to scale when you have ton of them. What’s a session? As you know the HTTP protocol is stateless: each request is independent from…