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

Ansible & Docker - The Path to Continuous Delivery LRUG 20x20

Gerhard Lazu
February 10, 2014

Ansible & Docker - The Path to Continuous Delivery LRUG 20x20

Ansible completes Docker in ways which make the two a killer combination. Without leaving the local shell environment, I can create new DigitalOcean droplets, configure them (including docker), clone a git repository remotely, build Docker images, start Docker containers, register them with a load balancer, update DNSMadeEasy, notify HipChat - all with minimal effort. Both make me excited beyond words. I’m a child again, discovering the shell, writing my first for loop… thank you for making infrastructure fun again : )

Presented at LRUG 10th February 2014

http://gerhard.lazu.co.uk/ansible-docker-the-path-to-continuous-delivery-1

Gerhard Lazu

February 10, 2014
Tweet

More Decks by Gerhard Lazu

Other Decks in Programming

Transcript

  1. The Path to
    Continuous Delivery

    View Slide

  2. Don’t write cookbooks,
    just play

    View Slide

  3. Ship processes,
    not code

    View Slide

  4. reate DO 2GB AMS2
    1’ 25” 1’ 50”
    Base system setup

    View Slide

  5. 16”
    8’

    View Slide

  6. 45”
    4’

    View Slide

  7. 23”
    2’

    View Slide

  8. PROCESS
    ==
    CONTAINER

    View Slide

  9. BUILD
    TEST
    LAUNCH

    View Slide

  10. SIMPLE CI

    View Slide

  11. BRANCH
    SPECIFIC

    View Slide

  12. FQDN

    View Slide

  13. branch.FQDN

    View Slide

  14. D
    O
    N
    E
    N
    O
    T

    View Slide

  15. CLEANUP

    View Slide

  16. MORE
    DOCKERS

    View Slide

  17. PRIVATE
    REGISTRY

    View Slide

  18. DNS
    for
    service
    discovery

    View Slide

  19. HUBOT
    PLAY
    DOCKER

    View Slide

  20. gerhard/ansible-docker
    gerhard.lazu.co.uk

    View Slide