TAPA 101: Terraform+AWS

This is the very first article of the Deploying infrastructure with Terraform+AWS+Packer+Ansible series, to show a basic infrastructure deployment on AWS.

In this post we’ll use terraform to create an instance on AWS, but we’ll do a little more than that.

We’ll create everything you need to get an instance running: vpc, subnet, securitygroup, keypair, internet gateway, route table….

Continuar lendo “TAPA 101: Terraform+AWS”

TAPA: Deploying infrastructure with Terraform+AWS+Packer+Ansible

It´s been a long time I know, but it was time to study new tools and, of course, write something here so I don´t forget what I´ve been using for now.

I used to write a lot about Foreman and Puppet and I´ll surely write more about them, but nowadays I´m using a complete different set of tools while working with short-term servers.

In this new series of articles I´ll be showing how to use these cool tools to interact with Amazon cloud and instances without logging into the AWS console or in the instances.

SPOILER: This will be a briefing of what is the so called “Immutable infrastructure”.

Continuar lendo “TAPA: Deploying infrastructure with Terraform+AWS+Packer+Ansible”

RLabs: Provisioning Windows with Foreman on VMware from template

Ok, so now you have connected Foreman with VMware you want to start creating Windows VMs.

Continuar lendo “RLabs: Provisioning Windows with Foreman on VMware from template”

RLabs: Provisioning Linux with Foreman on VMware from template

Ok, so now you have connected Foreman with VMware and want to start creating Linux VMs.

Continuar lendo “RLabs: Provisioning Linux with Foreman on VMware from template”

RLabs: Integrating Foreman with VMware

Foreman can create hosts on VMware but even if you won´t do so, Foreman and VMware integration still worth it since it can delete, power on/off VMs and even get Console Access via VMRC.

Continuar lendo “RLabs: Integrating Foreman with VMware”

RLabs: Foreman and Puppet integration

Foreman already comes with Puppet. In fact, when you run foreman-installer it uses Puppet to install and configure Foreman.

Even if you won´t manage servers with Puppet, it´s useful to install the Puppet agent on all hosts connected to Foreman so you´ll have reports and inventory.

Here we´ll talk about adding hosts to the Puppet Server running on Foreman.

Continuar lendo “RLabs: Foreman and Puppet integration”

RLabs: Managing CentOS content with Katello

Foreman has a bunch of plugins but none of them can be compared to Katello, a plugin that is so big, so big, that it changes the way you install and configure Foreman.

Katello is a “plugin” to manage CentOS and RedHat repositories, mirroring content and managing updates and erratas. This is called content management.

In fact, Satellite is the paid and suported version of Foreman/Katello by RedHat, but it suports only RedHat systems while the upstream Foreman/Katello suports both RedHat and CentOS.

Continuar lendo “RLabs: Managing CentOS content with Katello”

RLabs: Everything about Foreman

The Foreman is a great tool. It´s a complete lifecycle manager for physical, virtual and cloud servers.

It does configuration management and orchestration with Puppet, Chef, Salt and Ansible.

It does server provisioning on almost all of the cloud providers, virtualization solutions and even bare metal.

When combined with the Katello plugin, it becomes what RedHat sells as RedHat Satellite 6, a complete system to manage updates, erratas, security patches and compliance and provisioning of Linux systems.

Continuar lendo “RLabs: Everything about Foreman”

RLabs: Foreman and Katello installation

Let´s install The Foreman with the Katello plugin.

Proceed only if you have your lab up and running and will start with Foreman now.

Continuar lendo “RLabs: Foreman and Katello installation”

RLabs: specs

My lab environment.

You can run your lab in the Cloud as I used to do so until few months ago when most of the things I needed to test was related to VMware.

So, I bought two HP z800 workstations, with two Xeon six core and 96Gb of ram each. I needed this resources because I was testing the automation of ESXi Host installation itself, and running many of then inside the physical ESXi hosts – nested virtualization. But you won´t need this much unless you want to do the same.

Continuar lendo “RLabs: specs”