background preloader

DevOps

Facebook Twitter

Cómo Instalar y usar Docker. Es muy común que nos encontremos desarrollando una aplicación y llegue el momento que decidamos tomar todos sus archivos y migrarlos ya sea al ambiente de producción, de prueba o simplemente probar su comportamiento en diferentes plataformas y servicios.

Cómo Instalar y usar Docker

Para situaciones de este estilo existen herramientas que, entre otras cosas, nos facilitan el embalaje y despliegue de la aplicación, es aquí donde entra en juego Docker. ¿Qué es Docker? Esta herramienta nos permite crear lo que ellos denominan contenedores, lo cual son aplicaciones empaquetadas auto-suficientes, muy livianas que son capaces de funcionar en prácticamente cualquier ambiente, ya que tiene su propio sistema de archivos, librerías, terminal, etc. Actualmente Docker se encuentra bajo pesados procesos de desarrollo y cada actualización es vital, por lo que no se recomienda que sea utilizado en ambientes de producción hasta que alcance la versión 1.0.

¿Cómo lo instalo? Al momento de este escrito, Docker no soporta sistemas x86. Docker - Contenedores de Aplicaciones. El futuro de la distribución de aplicaciones. Docker Tutorial Series, Part 1: An Introduction. Docker, the new trending containerization technique, is winning hearts with its lightweight, portable, “build once, configure once and run anywhere” functionalities.

Docker Tutorial Series, Part 1: An Introduction

This is part one of Flux7’s Docker tutorial series. As we move forward, together, we will learn and evaluate how Docker makes a difference, and how it can be put to the best use. Let’s learn Docker and nail it in less than six to seven weeks. This part deals with the basics of Docker: its features, concepts and installation to get you onboarded with Docker. Docker Features Docker offers quite a number of interesting features which you will better understand as we maneuver through the tutorial series. Extremely fast and elegant isolation frameworkInexpensiveLow CPU/memory overheadFast boot/shutdownCross cloud infrastructure Docker Components & Elements Docker has three components and three basic elements.

Defining Components & Elements Docker Daemon sits on the host machine answering requests for services. Step 1: Build an image. Patrickdlee/vagrant-examples. Philshon/vagrant-storm. Ptgoetz/storm-vagrant. Andressanchez/vagrant-storm. Xuwang/demo-zk. Inercia/vagrant-cassandra-zookeeper. Using Vagrant and Ansible — Ansible Documentation. Ansible is Simple IT Automation. Ansible - Provisioning - Vagrant Documentation. Provisioner name: "ansible" The ansible provisioner allows you to provision the guest using Ansible playbooks.

Ansible - Provisioning - Vagrant Documentation

Ansible playbooks are YAML documents that comprise the set of steps to be orchestrated on one or more machines. This documentation page will not go into how to use Ansible or how to write Ansible playbooks, since Ansible is a complete deployment and configuration management system that is beyond the scope of a single page of documentation. Warning: If you're not familiar with Ansible and Vagrant already, I recommend starting with the shell provisioner. However, if you're comfortable with Vagrant already, Vagrant is a great way to learn Ansible. Inventory File When using Ansible, it needs to know on which machines a given playbook should run. The first and simplest option is to not provide one to Vagrant at all.

The ansible.groups option can be used to pass a hash of group names and group members to be included in the generated inventory file. A generated inventory might look like: Grove - Sourcegraph. Wirbelsturm: 1-Click Deployments of Storm and Kafka clusters with Vagrant and Puppet. I am happy to announce the first public release of Wirbelsturm, a Vagrant and Puppet based tool to perform 1-click local and remote deployments, with a focus on big data related infrastructure.

Wirbelsturm: 1-Click Deployments of Storm and Kafka clusters with Vagrant and Puppet

Wirbelsturm’s goal is to make tasks such as “I want to deploy a multi-node Storm cluster” simple, easy, and fun. In this post I will introduce you to Wirbelsturm, talk a bit about its history, and show you how to launch a multi-node Storm (or Kafka or …) cluster faster than you can brew an espresso. Update May 27, 2014: If you want to build real-time data processing pipelines based on Kafka and Storm, you may be interested in kafka-storm-starter. It contains code examples that show to integrate Apache Kafka 0.8+ with Apache Storm 0.9+, while using Apache Avro as the data serialization format. This section is an appetizer of what you can do with Wirbelsturm.

Done – you now have a fully functioning Storm cluster up and running on your computer! Want to run more Storm slaves? The wall of shame. Entornos virtuales de desarrollo con Vagrant - Onddo Blog. Comúnmente, en un proyecto web, los desarrolladores prueban la aplicación que están construyendo en su propio equipo de trabajo.

Entornos virtuales de desarrollo con Vagrant - Onddo Blog

Pero, muchas veces, configurar y mantener el entorno de desarrollo no es tarea sencilla. Veamos tres posibles escenarios: Jedi4ever/veewee. PuPHPet - Online GUI configurator for Puppet & Vagrant. Dotfiles You can add all your dot files (.bash_aliases, .vimrc, .gitconfig, etc), to the puphpet/files/dot/ folder that will appear after you extract your generated zip file.

PuPHPet - Online GUI configurator for Puppet & Vagrant

During initial startup, they will automatically be copied into the VM. There is a sample .bash_aliases file there for you to start with - overwrite at will! Script files. Getting Started with Zookeeper and Go. Here we’ll see how to use the Zookeper distributed coordination system from Go.

Getting Started with Zookeeper and Go

We’ll set up a Zookeeper and Go environment using Vagrant, show how to perform common Zookeeper operations from the native Go client, and discuss some basic Zookeeper principles along the way. Setup your own Apache Kafka cluster with Vagrant - Tutorial. Apache Kafka is a distributed publish-subscribe messaging system that aims to be fast, scalable, and durable.

Setup your own Apache Kafka cluster with Vagrant - Tutorial

If you want to just get up and running quickly with a cluster of Vagrant virtual machines configured with Kafka, take a look at this awesome blog post. It sets up all the VMs for you and configures each node in the cluster, in one fell swoop. However, if you want to learn how to install and configure a Kafka cluster yourself, utilizing your own Vagrant boxes, then read on. Ianbarber/Zookeeper-Example. Guardian/vagrants. A list of base boxes for Vagrant - Vagrantbox.es. Vagrant Cloud. Vagrant Documentation.