Modern Applications – Episod 4: Docker Compose – YAML

The topic of this article is understanding how to automatize the delivery of a micro-service.

In the previous one, I showed the flow process of a service. This flow requires typing a lot of commands to launch any single container.

Is there a way to automatize the entire process making it easier?

Yes, Docker-compose is a tool for defining and running an environment multi-container.

Docker-compose works with a describing file that includes all the configurations. The file has the extension YAML (human-readable data-serialization language).

After writing the YAML file (in this example it is named mypersonalfile.yaml), the syntax of the command is:

docker-compose -f mypersonalfile.yaml

Let’s see an easy example using the article I wrote in the last episode as a source.

I had to type all these commands to implement the service:

a. Mongo DB commands

b. Mongo Express commands

In their place,  it’s possible to use the following yaml file.


We will find yaml files again when writing about Kubernetes architecture and its protection.

That’s all for now, take care guys

VBR & Cloud Business Model – Part 2

In the previous article, I wrote a small pill about vCloud Director.

Today I’m going to expand the Business model that can be deployed through this great VMware technology.

Picture 1 shows the main components (VBR, Repository, Enterprise Manager and vCloud Director) mandatory to provide services.

As usual please refer to official guides to deploy correctly the Veeam technologies.

Picture 1

On the corners of the above picture, it’s possible to observe two funny images. The scope of those pictures is to show the services that the Serice Provider can sell: Managed, and un-managed.

Let’s start !!!!

a) Managed Service: Backup as a service on vCloud Director

In this scenario,  the service provider will install VBR components and it will take care of all the backup and restore activities.

The tenant will open a ticket to Service Provider for asking backup policies changes and for restore tasks.

b) Un-managed Service: Backup as a Service vCloud Director

Tasks and responsibilities:

SP administrator (backup for vDC):

        • Deploying the backup end architecture (VBR, Repository)
        • Defines templates for Backup jobs of the tenants (by selecting Repository and Quota) (picture 2)
        • If necessary apply schedule restrictions (picture 3)

Tenant Administrator (by Enterprise Manager):
Tenant through his vCD credentials can:

      • Create new backup jobs based on templates
      • Edit / Delete / Enable / Disable Jobs
      • Start, stop, restart jobs
      • View backup statistics
      • Restore VMs and vApps
      • Restore the VM guest files
      • Restore SQL Server and Oracle objects

Picture 2

Picture 3

That’s all for today folks.

The next article will show you all about licensing