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

Move Fast, Don't Break Your Infra Configuraiontion

Move Fast, Don't Break Your Infra Configuraiontion

taichi nakashima

October 23, 2014
Tweet

More Decks by taichi nakashima

Other Decks in Technology

Transcript

  1. https://www.flickr.com/photos/unforgiven/9278027165 If you don't like Docker, or Docker isn't good

    for this specific use case, then Dockerfiles have to be translated over to another format. … Packer provides a pretty low-risk way @mitchellh “
  2. https://www.flickr.com/photos/unforgiven/9278027165 { "builders":[{ "type": "docker", "image": "ubuntu:latest", "commit": true }],

    ! "provisioners":[{...}], ! "post-processors": [{...}] } > cat machine.json Base Image to start with
  3. https://www.flickr.com/photos/unforgiven/9278027165 { "builders":[{...}], ! "provisioners":[{ "type": "chef-solo", "cookbook_paths": ["site-cookbooks"], "run_list":

    ["apache::default"] }], ! "post-processors": [{...}] } > cat machine.json How to Install and configure software CookBook path , run list
  4. https://www.flickr.com/photos/unforgiven/9278027165 { "builders":[{...}], ! "provisioners":[{...}], ! "post-processors": [{ "type": "docker-tag",

    "repository": “tcnksm/web-base", "tag": "0.1" }] } > cat machine.json How to generate machine Image Image repository with tag