Skip to content
Browse files

Add Ubuntu packer template

  • Loading branch information...
winebarrel committed Feb 27, 2014
1 parent 3d6667a commit f279812317a35b083d673d6128314af35f18fdfe
Showing with 28 additions and 0 deletions.
  1. +28 −0 packer/Ubuntu-12.04.4-LTS-x86_64-ebs-Asia_Pacific.json
@@ -0,0 +1,28 @@
"variables": {
"aws_access_key": "{{env `AWS_ACCESS_KEY_ID`}}",
"aws_secret_key": "{{env `AWS_SECRET_ACCESS_KEY`}}"
"builders": [{
"type": "amazon-ebs",
"ami_name": "Ubuntu-12.04.4-LTS-x86_64-ebs-{{timestamp}}",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "ap-northeast-1",
"source_ami": "ami-f381f5f2",
"instance_type": "t1.micro",
"ssh_username": "ubuntu",
"ssh_timeout": "3m"
"provisioners": [{
"type": "shell",
"inline": [
"sudo apt-get -y install python-setuptools",
"wget -P /tmp",
"sudo mkdir -p /tmp/aws-cfn-bootstrap-latest",
"sudo tar xvfz /tmp/aws-cfn-bootstrap-latest.tar.gz --strip-components=1 -C /tmp/aws-cfn-bootstrap-latest",
"sudo easy_install /tmp/aws-cfn-bootstrap-latest/",
"sudo rm -rf /tmp/aws-cfn-bootstrap-latest"

0 comments on commit f279812

Please sign in to comment.
You can’t perform that action at this time.