Devops

Mitigare un DDoS con Route53

Negli ultimi anni, gli amministratori di sistema sempre più spesso sentono l’esigenza di trovare strumenti per difendersi da attacchi DoS o DDoS. La diffusione di questo tipo di attacchi in futuro sarà sempre maggiore al crescere della capacità di banda delle connessioni casalinghe e non solo, ma anche per il…

Bucket S3 come un VirtualHost

Il servizio AWS S3 (Simple Storage Service)  è nato e si è diffuso per la sua caratteristica di essere uno storage ad oggetti, semplice da usare, sicuro e, in alcuni casi, anche economico. I nostri oggetti presenti su S3 possono essere gestiti attraverso l’API, la GUI e l’SDK messi a disposizione da…

DevMarche: Scaling PHP apps

Martedi 9 Gennaio 2018 Madisoft sarà al Cowo42 di Osimo (AN) per parlare di scalabilità di applicazioni PHP. Partendo da sfide affrontate quotidianamente sul nostro software Nuvola, vedremo come siamo riusciti a scalare con successo l’applicazione per gestire milioni di visite e miliardi di dati. La serata è gratuita, compresa la…

Warm up and moving

In the previous articles we created our infrastructure on AWS and configured the services. All this using Ansible and creating an infrastructure as code. In this article we will describe the steps we have followed to migrate our infrastructure to AWS. Warm up The switch off and switch on was done on…

Multiple services on multiple env: how do I find them?

In the previous articles we created our infrastructure on AWS and configured the services. All using Ansible and creating an infrastructure as code. When the number of servers or services grows, keeping track of their names clearly can be complicated. This article describes how to manage your servers automatically using AWS Route53….

Provisioning Playbooks

In the previous article we showed you how we created our infrastructure as code. This article describes how to configure services within our EC2 instances.  Provision Backend Let’s start with a bash script to run the playbooks:

Here is the playbook used to configure backend services:

Let’s focus on php…

Infrastructure scripts

In the previous article we described the reasons that made us change the provider.  In this article we will describe how we built our infrastructure as code. As a first step let’s create a bash script to run the playbook:

With the flexibility of AWS & Ansible we can easily craft an isolated…

Nuvola: a tale of migration to AWS

In this series of articles we will describe our migration experience to AWS. Why a migration? Our old provider had limits. We had to overcome. In particular: No automation No flexibility No autoscaling If we wanted to grow it was necessary to migrate to a provider with these features. Need…

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…

1 2