Mitchell Hashimoto
4857faa363
Merge branch 'builder-amazon-instance'
...
This adds the "amazon-instance" builder to Packer which can create
instance-storage backed AMIs. The instance-storage backed AMIs are built
by launching another instance-store backed instance, provisioning it,
and then using EC2 AMI tools to bundle and register a new AMI.
2013-07-25 10:52:16 -05:00
Mitchell Hashimoto
0130b1310c
builder/amazon/instance: default x509_upload_path
2013-07-25 10:51:38 -05:00
Mitchell Hashimoto
30a4bf7687
website: document the amazon-instance builder
2013-07-25 10:51:21 -05:00
Mitchell Hashimoto
8c3281405d
builder/amazon/*: wait for AMI to be ready in common, use it instance
2013-07-25 00:56:37 -05:00
Mitchell Hashimoto
072d7a647a
builder/amazon/instance: register AMI using API
2013-07-25 00:45:55 -05:00
Mitchell Hashimoto
77b92cd048
builder/amazon/instance: register the AMI
2013-07-25 00:19:04 -05:00
Mitchell Hashimoto
17f6914fc1
builder/amazon/instance: prefix has CreateTime support
2013-07-24 23:51:46 -05:00
Mitchell Hashimoto
5e6695264a
builder/amazon/instance: upload bundle
2013-07-24 23:29:21 -05:00
Mitchell Hashimoto
ad1015f35c
builder/amazon/instance: bundle volume and keep track of dir
2013-07-24 23:22:16 -05:00
Mitchell Hashimoto
801541714e
builder/amazon/instance: run ec2-bundle-vol in batch mode
2013-07-24 22:51:59 -05:00
Mitchell Hashimoto
3f543dddaa
builder/amazon/instance: sudo the ec2-bundle-vol by default
2013-07-24 16:07:33 -05:00
Mitchell Hashimoto
b5552c00f3
builder/amazon/instance: detect error bundling
2013-07-24 15:44:58 -05:00
Mitchell Hashimoto
c6358b0475
builder/amazon/instance: ec2-bundle-vol is called
2013-07-24 15:43:35 -05:00
Mitchell Hashimoto
544b4b1429
builder/amazon/instance: check for the ami tools
2013-07-23 23:19:44 -05:00
Mitchell Hashimoto
3efdb009d7
builder/amazon/common: SSH into private IP if in VPC
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
b9b5de5684
fmt
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
a5546fa0f3
builder/amazon/*: Fix failing tests from rebase of VPC
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
b11b60746b
builder/amazon/instance: boilerplate for bundle volume
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
c39299c21f
builder/amazon/instance: after upload x509, should continue
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
d11cabf893
builder/amazon/instance: upload x509 cert
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
caaa6667ed
plugin/builder-amazon-instance: add the plugin
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
b91fb5e1a0
fmt
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
a780d0e0dd
builder/amazon/common: extract Artifact
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
5a4f5c3f6f
builder/amazon: provision on instance
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
5c7c0a6ee2
builder/amazon: extract SSH connect funcs
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
51f7db35f4
builder/amazon: extract StepRunSourceInstance
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
579eaaabc5
builder/amazon/common: panic if SSHPot is 0
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
f8319f8881
builder/amazon: extract StepSecurityGroup
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
e67e4cfa16
builder/amazon: extract StepKeyPair for both
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
5921492c8e
fmt
2013-07-23 22:48:32 -05:00