Sebastian Caceres posts

Archi & Techno

The Wizard: Side effects

See the previous episode here. He has questions. Nevertheless, he has not yet arrived. And you know you have answers. You interrupt your summoning, and sit down. You can continue in another moment. Everything happens for a reason. You just hope the reason is good. N appears right next to you. Hey, what’s up? I'm setting up the auto-scaling configuration of the new project. Nothing huge. Cool. I need some help. He has progressed immensely since the last time you saw him. People are starting to…

Read more
Archi & Techno

Kubernetes vs Swarm: Volumes!

Hey everybody! After reading both the Kubernetes and Docker “How does it work?” series, I guess you can’t wait to transform your old-school infrastructure and put all your applications inside containers. Indeed, containers are a great way to make your applications portable and easy to deploy. Nevertheless, there is a subject we have not discussed yet: data persistence.

Read more
Agile

The Wizard: Ansible, Molecule and Test Driven Development

Magic has existed since the dawn of time. It has always been there, hidden in plain sight, making amazing things possible for those willing to open their eyes and harness its power. You can't remember the first time you used it, and yet it feels like you've never existed without it. You've obliterated endless armies of enemies by virtue of spells and enchantments, and you've also constructed awe-inspiring marvels from the ground up. As a result, you're renowned for your overwhelming powers in every single…

Read more
Archi & Techno

Ansible reporting with ARA: Ansible Run Analysis

̛I had a Slack conversation with some friends from work (B, R and G) the other day. It went somewhat like this: B: “Hey, have you guys ever heard of ARA?” This was followed by 5 minutes of the deafening sound of contextualisation and Google searches by everyone on the channel. R: “Nope, but every piece of technology that could enable Ansible to catch up with PuppetDB/Board would be very much appreciated” G: “Reporting is cheating” (This statement makes way more sense in French) Me:…

Read more
Archi & Techno

How does it work? Docker! Part 5: Get some work(ers) done!

Hey there! TL;DR I hacked another thing together, this time in order to install a highly available Docker Swarm cluster on CoreOS (yeah, Container Linux), using Ansible. The whole subject was way too long for a single article. Therefore, I’ve divided it into 5 parts. This is episode 5, regarding the actual implementation of the local cluster’s Worker nodes, using Vagrant, CoreOS and Ansible. If you want to try it: git clone https://github.com/sebiwi/docker-coreos.git cd docker-coreos make up You will need Ansible 2.2+, Docker, Vagrant and…

Read more
Archi & Techno

How does it work? Docker! Part 4: Control your Swarm!

Hey there! TL;DR I hacked another thing together, this time in order to install a highly available Docker Swarm cluster on CoreOS (yeah, Container Linux), using Ansible. The whole subject was way too long for a single article. Therefore, I’ve divided it into 5 parts. This is episode 4, regarding the actual implementation of the local cluster’s Manager nodes, using Vagrant, CoreOS and Ansible. If you want to try it: git clone https://github.com/sebiwi/docker-coreos.git cd docker-coreos make up   You will need Ansible 2.2+, Docker, Vagrant…

Read more
Archi & Techno

How does it work? Docker! Part 3: Load balancing, service discovery and security!

Hey there! TL;DR I hacked another thing together, this time in order to install a highly available Docker Swarm cluster on CoreOS (yeah, Container Linux), using Ansible. The whole subject was way too long for a single article. Therefore, I’ve divided it into 5 parts. This is episode 3, regarding Swarm Service Discovery, Load Balancing and Security. If you want to try it: git clone https://github.com/sebiwi/docker-coreos.git cd docker-coreos make up You will need Ansible 2.2+, Docker, Vagrant and Molecule  

Read more
Archi & Techno

How does it work? Docker! Part 2: Swarm networking

Hey there! TL;DR I hacked another thing together, this time in order to install a highly available Docker Swarm cluster on CoreOS (yeah, Container Linux), using Ansible. The whole subject was way too long for a single article. Therefore, I’ve divided it into 5 parts. This is episode 2, regarding Swarm networking. If you want to try it: git clone https://github.com/sebiwi/docker-coreos.git cd docker-coreos make up You will need Ansible 2.2+, Docker, Vagrant and Molecule

Read more
Archi & Techno

Serverless sweetness: enforcing strict EC2 instance tagging policies with Lambda

Hey everybody, TL;DR I coded something in order to enforce strict tagging policies on AWS EC2 instances using Python and a bunch of AWS services (Lambda, Cloudtrail, SNS, and S3). If you keep reading, I’m going to talk to you about AWS Lambda and Serverless computing, or FaaS (Function as a service). You can check the source code and permission related template files here: https://github.com/sebiwi/broom If you want to use it, create a Cloudtrail trail, activate it on every region, create an S3 bucket to…

Read more