Automated Installation Scripts for General Applications

If you are using cloud computing you surely know what is a “boot start” script. Those scripts are used on “cloud-init” enabled clouds and baremetal providers (AWS, OpenStack, to mention some) in order to “install” software at server first-boot. That’s one of the most important aspects of modern cloud automation.

Many applications on the OpenSource world (LEMP, LAMP, WordPress, Odoo, etc.) can be installed that way, provided your base machine meet some minimal requirements that are normally found on all public clouds.

I’ve been working in the last months trying to include to my github site scripts for many of those applications, and also trying to keep them updated and tested. Those scripts contains many security and performance tweaks for the applications they install. All of them are fully cloud-init compatible and have been tested on many cloud environments (aws,, OpenStack) with base images for Centos 7 and Ubuntu 16.04lts. I hope you the reader find those useful, and of course all ideas to improve this effort are welcomed:

Note that this is a WIP with continuous improvement as a primary focus. If you want to participate with ideas, then go and write your comments here, or use the “issue” interface on my github site.

New OpenStack automated installers (PIKE) for Centos 7 and Ubuntu 16.04lts

Hi OpenSource Community,

I posted on my github site new OpenStack automated installers for “PIKE” OpenStack release on Centos 7 and Ubuntu 16.04lts. As always, please read carefully the documentation before using them:


Nextcloud with “minio” (S3 Mode) primary storage backend on Centos 7.

Hi there everyone,

Our new recipe is for nextcloud (again), but this time using a relatively new solution for S3-Like object storage backend: Minio:

This recipe explores many things:

  • Installing minio using docker and persistent storage.
  • Installing nextcloud and configuring it to use minio as primary storage (S3 compatible).
  • Make minio serve trough nginx using a proxypass-based configuration, that is compatible both with minio and nextcloud.

Enjoy !

Clusters solutions for Docker: Swarm, Kubernetes and Mesos/Marathon.

Hi everyone,

If you are into containers, and want to include orchestration and clustering in your dockerized applications, then the following articles can help you to construct orchestration clusters with swarm, kubernetes and mesos/marathon:

Enjoy !

Extending AWS Cloudwatch metrics: Monitoring WEB Services TCP Connection states

Good day to everyone,

If you are into AWS, and want or need to extend Cloudwatch with new metrics, then the following article is for you:

This article will show you how to monitor http/https tcp connection in different states (established, time-wait, fin-wait1, etc.) and how to get these metrics sent into AWS cloudwatch, everything explained step by step.

Owncloud-CEPH Recipe updated with Nextcloud using native CEPH-S3 as primary storage backend

Hi there people,

I just updated my last recipe (the one using CEPH with Owncloud) with a section dedicated to NEXTCLOUD using CEPH-S3 as primary storage backend. You can find the recipe in the “misc” section of my site ( or at the following URL:

One of the main differences between Owncloud and Nextcloud is the features. While some Owncloud features are restricted to the “Enterprise/Commercial” version, Nextcloud features are completely available right out of the box in the freely downloadable version. One of those very important features is the capability to use AWS-S3/CEPH-S3 as “PRIMARY” storage backend.

Owncloud server using CEPH-RBD and CEPH-S3 storage.

Hi there people,

This time, and interesting recipe combining Owncloud and CEPH. In this new I.T. recipe, we’ll deploy a 3-node, 6-OSD CEPH Cluster (Jewell) on Centos 7, and make it available for primary backing storage (ceph-rbd) and external additional storage (ceph-s3) in a Owncloud 9 server.

The recipe:

LAB: Owncloud server using CEPH-RBD and CEPH-S3 storage.

How you people enjoy this one.

New recipe – Zimbra mail Server in High Availability with Corosync/Pacemaker on Centos 7

Hi people,

A new recipe published on my github-pages site (internet apps section), specifically one for the construction of a Zimbra mail service in a clusterized way. Just go to:

Enjoy !!

AWS, Ansible and use of tags as service discovery

Hi guys and gals,

This week I’ll show you some tricks with AWS and Ansible. Our last recipe contains an interesting way to use AWS API as a simple but effective service discovery tool. Also, there is a lot of ansible usage for: Instance creation, autoscale group and launch configuration creation, and load balancer creation… all with ansible instead of cloudformation.

This new recipe is made entirely without using the web console !. All has been done by either using the aws-cli or ansible. Hope you guys-an-gals find it usefull either for your day-to-day or if you are just learning ansible and/or aws: