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

The meaning of using Packer

Avatar for linyows linyows
July 04, 2015

The meaning of using Packer

Avatar for linyows

linyows

July 04, 2015
Tweet

More Decks by linyows

Other Decks in Programming

Transcript

  1. +

  2. “Packer is a tool for creating machine and container images

    for multiple platforms from a single source configuration.
  3. w "84&$BNJ w %JHJUBM0DFBO w %PDLFS w (PPHMF$PNQVUF &OHJOF w

    0QFO4UBDL w 1BSBMMFMT w 2&.6 ,7.9FO  w 7JSUVBM#PY w 7.8BSF
  4. { "builders": [ { "type": "amazon-ebs", "access_key": "...", "secret_key": "...",

    "region": "us-east-1", "source_ami": "ami-de0d9eb7", "instance_type": "t1.micro", "ssh_username": "ubuntu", "ami_name": "packer {{timestamp}}" } ], "provisioners": [ { "type": "shell", "script": "setup_things.sh" } ] } packer-template.json
  5. !