Update docs to reflect current AMI IDs and instance sizes
- Using Ubuntu-supported image, 14.04 LTS current, for us-east-1 - t1.micro no longer exists, t2.micro replaces it - Raised in issue #3052
This commit is contained in:
parent
a6254dcb25
commit
0369b8e7c0
|
@ -208,8 +208,8 @@ Here is a basic example. It is completely valid except for the access keys:
|
||||||
"access_key": "YOUR KEY HERE",
|
"access_key": "YOUR KEY HERE",
|
||||||
"secret_key": "YOUR SECRET KEY HERE",
|
"secret_key": "YOUR SECRET KEY HERE",
|
||||||
"region": "us-east-1",
|
"region": "us-east-1",
|
||||||
"source_ami": "ami-de0d9eb7",
|
"source_ami": "ami-72b9e018",
|
||||||
"instance_type": "t1.micro",
|
"instance_type": "t2.micro",
|
||||||
"ssh_username": "ubuntu",
|
"ssh_username": "ubuntu",
|
||||||
"ami_name": "packer-quick-start {{timestamp}}"
|
"ami_name": "packer-quick-start {{timestamp}}"
|
||||||
}
|
}
|
||||||
|
@ -237,8 +237,8 @@ the /dev/sdb and /dev/sdc block device mappings to the finished AMI.
|
||||||
"access_key": "YOUR KEY HERE",
|
"access_key": "YOUR KEY HERE",
|
||||||
"secret_key": "YOUR SECRET KEY HERE",
|
"secret_key": "YOUR SECRET KEY HERE",
|
||||||
"region": "us-east-1",
|
"region": "us-east-1",
|
||||||
"source_ami": "ami-de0d9eb7",
|
"source_ami": "ami-72b9e018",
|
||||||
"instance_type": "t1.micro",
|
"instance_type": "t2.micro",
|
||||||
"ssh_username": "ubuntu",
|
"ssh_username": "ubuntu",
|
||||||
"ami_name": "packer-quick-start {{timestamp}}",
|
"ami_name": "packer-quick-start {{timestamp}}",
|
||||||
"ami_block_device_mappings": [
|
"ami_block_device_mappings": [
|
||||||
|
@ -265,8 +265,8 @@ Here is an example using the optional AMI tags. This will add the tags
|
||||||
"access_key": "YOUR KEY HERE",
|
"access_key": "YOUR KEY HERE",
|
||||||
"secret_key": "YOUR SECRET KEY HERE",
|
"secret_key": "YOUR SECRET KEY HERE",
|
||||||
"region": "us-east-1",
|
"region": "us-east-1",
|
||||||
"source_ami": "ami-de0d9eb7",
|
"source_ami": "ami-72b9e018",
|
||||||
"instance_type": "t1.micro",
|
"instance_type": "t2.micro",
|
||||||
"ssh_username": "ubuntu",
|
"ssh_username": "ubuntu",
|
||||||
"ami_name": "packer-quick-start {{timestamp}}",
|
"ami_name": "packer-quick-start {{timestamp}}",
|
||||||
"tags": {
|
"tags": {
|
||||||
|
|
|
@ -88,8 +88,8 @@ you can also use `token` configuration option.
|
||||||
"access_key": "{{user `aws_access_key`}}",
|
"access_key": "{{user `aws_access_key`}}",
|
||||||
"secret_key": "{{user `aws_secret_key`}}",
|
"secret_key": "{{user `aws_secret_key`}}",
|
||||||
"region": "us-east-1",
|
"region": "us-east-1",
|
||||||
"source_ami": "ami-de0d9eb7",
|
"source_ami": "ami-72b9e018",
|
||||||
"instance_type": "t1.micro",
|
"instance_type": "t2.micro",
|
||||||
"ssh_username": "ubuntu",
|
"ssh_username": "ubuntu",
|
||||||
"ami_name": "atlas-example {{timestamp}}"
|
"ami_name": "atlas-example {{timestamp}}"
|
||||||
}],
|
}],
|
||||||
|
|
|
@ -198,8 +198,8 @@ Please note that double quote characters need escaping inside of templates:
|
||||||
"access_key": "...",
|
"access_key": "...",
|
||||||
"secret_key": "...",
|
"secret_key": "...",
|
||||||
"region": "us-east-1",
|
"region": "us-east-1",
|
||||||
"source_ami": "ami-de0d9eb7",
|
"source_ami": "ami-72b9e018",
|
||||||
"instance_type": "t1.micro",
|
"instance_type": "t2.micro",
|
||||||
"ssh_username": "ubuntu",
|
"ssh_username": "ubuntu",
|
||||||
"ami_name": "packer {{isotime \"2006-01-02\"}}"
|
"ami_name": "packer {{isotime \"2006-01-02\"}}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,8 +93,8 @@ just missing valid AWS access keys. Otherwise, it would work properly with
|
||||||
"access_key": "...",
|
"access_key": "...",
|
||||||
"secret_key": "...",
|
"secret_key": "...",
|
||||||
"region": "us-east-1",
|
"region": "us-east-1",
|
||||||
"source_ami": "ami-de0d9eb7",
|
"source_ami": "ami-72b9e018",
|
||||||
"instance_type": "t1.micro",
|
"instance_type": "t2.micro",
|
||||||
"ssh_username": "ubuntu",
|
"ssh_username": "ubuntu",
|
||||||
"ami_name": "packer {{timestamp}}"
|
"ami_name": "packer {{timestamp}}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,8 +57,8 @@ briefly. Create a file `example.json` and fill it with the following contents:
|
||||||
"access_key": "{{user `aws_access_key`}}",
|
"access_key": "{{user `aws_access_key`}}",
|
||||||
"secret_key": "{{user `aws_secret_key`}}",
|
"secret_key": "{{user `aws_secret_key`}}",
|
||||||
"region": "us-east-1",
|
"region": "us-east-1",
|
||||||
"source_ami": "ami-de0d9eb7",
|
"source_ami": "ami-72b9e018",
|
||||||
"instance_type": "t1.micro",
|
"instance_type": "t2.micro",
|
||||||
"ssh_username": "ubuntu",
|
"ssh_username": "ubuntu",
|
||||||
"ami_name": "packer-example {{timestamp}}"
|
"ami_name": "packer-example {{timestamp}}"
|
||||||
}]
|
}]
|
||||||
|
|
|
@ -95,8 +95,8 @@ The entire template should now look like this:
|
||||||
"access_key": "{{user `aws_access_key`}}",
|
"access_key": "{{user `aws_access_key`}}",
|
||||||
"secret_key": "{{user `aws_secret_key`}}",
|
"secret_key": "{{user `aws_secret_key`}}",
|
||||||
"region": "us-east-1",
|
"region": "us-east-1",
|
||||||
"source_ami": "ami-de0d9eb7",
|
"source_ami": "ami-72b9e018",
|
||||||
"instance_type": "t1.micro",
|
"instance_type": "t2.micro",
|
||||||
"ssh_username": "ubuntu",
|
"ssh_username": "ubuntu",
|
||||||
"ami_name": "packer-example {{timestamp}}"
|
"ami_name": "packer-example {{timestamp}}"
|
||||||
},{
|
},{
|
||||||
|
|
Loading…
Reference in New Issue