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

Converge

 Converge

Steven Borrelli

September 19, 2016
Tweet

More Decks by Steven Borrelli

Other Decks in Technology

Transcript

  1. converge
    http://aster.is
    September 2016

    View full-size slide

  2. A B O U T
    https://aster.is
    mantl
    elm-conf
    converge

    View full-size slide

  3. G OA L
    converge
    the best and easiest way
    to configure servers

    View full-size slide

  4. P RO B L E M S W E WA N T TO S O LV E
    converge
    deploying schedulers (kubernetes,
    swarm)
    managing servers, laptops, and devices
    configuring development environments

    View full-size slide

  5. key features
    converge

    View full-size slide

  6. easy to install and run
    converge plan consul.hcl
    converge apply —param masters=3 etcd.hcl
    11mb binary (cli + modules + agent)
    converge

    View full-size slide

  7. powerful graph engine

    View full-size slide

  8. graph benefits
    automatic dependency generation
    pinpoint failures
    parallel execution
    converge

    View full-size slide

  9. api first
    nodes exposed via grpc/rest api
    streaming data
    converge
    local operations same as remote

    View full-size slide

  10. basic file
    converge
    param "image-tag" {
    default = "1.10-alpine"
    }
    docker.image "nginx" {
    name = "nginx"
    tag = "{{param `image-tag`}}"
    timeout = "60s"
    }
    docker.container "nginx" {
    name = "nginx-server"
    image = "nginx:{{lookup `docker.image.nginx.Tag`}}"
    force = "true"
    ports = ["80"]
    env {
    "CONVERGE" = "AWESOME"
    }
    }

    View full-size slide

  11. converge in converge
    easily share dev configurations
    converge
    converge apply converge.hcl

    View full-size slide

  12. create graphs
    visualize install tasks
    converge
    converge graph converge.hcl
    replace curl | bash -

    View full-size slide

  13. verify modules via pgp
    add trusted keys and verify modules
    converge
    converge key trust samples/pubkey.gpg
    converge plan —verify-modules samples/
    basic.hcl

    View full-size slide

  14. converge
    docker running?
    deferred evaluation
    start docker.container
    lookup docker.container.port

    View full-size slide

  15. deferred execution
    converge

    View full-size slide

  16. converge uses
    all communication (including cli)
    is via grpc
    devices look like another
    microservice
    http/2 bi-directional streaming
    converge

    View full-size slide

  17. W E B S O C K E T GAT E WAY

    View full-size slide

  18. D O C K E R E L K D E M O

    View full-size slide

  19. https://asciinema.org/a/1yimck6d4me5t69al27qkt9rc
    D O C K E R E L K D E M O
    converge

    View full-size slide

  20. summary
    easy & powerful
    scales down
    made for modern infrastructure
    converge

    View full-size slide

  21. Thanks!
    converge.aster.is
    github.com/asteris-llc/converge
    converge-slack.aster.is

    View full-size slide

  22. I M AG E C R E D I T S
    Arch: Logan Troxel https://unsplash.com/search/arch?photo=DsQmBlby
    Arch Tram: https://upload.wikimedia.org/wikipedia/commons/8/8f/
    Gateway_Arch_tram_car.JPG
    Brooklyn Bridge: Vita Vilcina https://unsplash.com/search/wires?
    photo=0G1r-Cg0zS8
    Typewriter: Florian Klauer https://unsplash.com/search/typewriter?
    photo=mk7D-4UCfmg
    Tower: Richard Hinds https://unsplash.com/search/tower?
    photo=TH8a7L1HJXA
    Stars: Dimi Pigoff https://unsplash.com/new?photo=6y6D3S_sEjw

    View full-size slide