Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Consul 101 - BA Tech Talk #2

Consul 101 - BA Tech Talk #2

Agustín Roca dando una Introducción a Consul, la herramienta de Service Discovery de HashiCorp.

Avatar for Edrans Social

Edrans Social

October 04, 2017
Tweet

More Decks by Edrans Social

Other Decks in Technology

Transcript

  1. Hello! I am Agustin/aroca/Brahama You can find me at [email protected].

    Devops, like the new kids like to call it; @ Edrans.
  2. • Instance • VPC • Subnet • CIDR • Security

    Groups • ACL AWS basic glossary... • ELB/ALB • Region • Availability Zones • Huge etc...
  3. What is terraform? × Terraform is a tool for building,

    changing, and versioning infrastructure safely and efficiently. × Terraform can manage existing and popular service providers such as AWS, Openstack, etc. × Infrastructure as a code is the key word
  4. • Configuration Management • Automation • Idempotent. (What?!) Puppet concepts

    ... • Puppet master • Masterless • Manifest • Catalog • Hiera
  5. What is docker ?!? Docker is the world’s leading software

    container platform. Developers use Docker to eliminate “works on my machine” problems when collaborating on code with co-workers.
  6. What is consul ? Consul is a distributed, highly available

    system. Consul has multiple components, but as a whole, it is a tool for discovering and configuring services in your infrastructure. × Service Discovery × Health Checking × Key/Value store × Multi Datacenter
  7. Consul from basic to details... Every node that provides service

    to consul, runs a consul agent. Though running an agent is not required to discover/register/getting/setting key value data. Basic components • Consul Agent. • Key/value store • Health Checks • Services • Multi-datacenter Advanced Consul Internals • Consensus Protocol: Raft • Gossip Protocol: Serf (swim) • RPC. • ACL.
  8. “What do you think about distributed services, microservices with docker

    for example. Clusters creation? Or just simple dynamic configuration”
  9. Demo components look, from the sky RP Nginx Docker Docker

    ap1 ap2 ap3 ap1 Docker Containers Nginx Conf Consul Upstream app1 { } Upstream app2 { }