diff --git a/website/source/docs/builders/amazon-ebs.html.markdown b/website/source/docs/builders/amazon-ebs.html.markdown index 9c62390cc..da531a35e 100644 --- a/website/source/docs/builders/amazon-ebs.html.markdown +++ b/website/source/docs/builders/amazon-ebs.html.markdown @@ -144,6 +144,14 @@ the section above for more information on what environmental variables Packer will look for. +## Accessing the Instance to Debug + +If you need to access the instance to debug for some reason, run the builder +with the `-debug` flag. In debug mode, the Amazon builder will save the +private key in the current directory and will output the DNS or IP information +as well. You can use this information to access the instance as it is +running. + ## AMI Block Device Mappings Example Here is an example using the optional AMI block device mappings. This will add diff --git a/website/source/docs/builders/amazon-instance.html.markdown b/website/source/docs/builders/amazon-instance.html.markdown index 6dc4a2a8a..3f5efe827 100644 --- a/website/source/docs/builders/amazon-instance.html.markdown +++ b/website/source/docs/builders/amazon-instance.html.markdown @@ -189,6 +189,14 @@ the section above for more information on what environmental variables Packer will look for. +## Accessing the Instance to Debug + +If you need to access the instance to debug for some reason, run the builder +with the `-debug` flag. In debug mode, the Amazon builder will save the +private key in the current directory and will output the DNS or IP information +as well. You can use this information to access the instance as it is +running. + ## Custom Bundle Commands A lot of the process required for creating an instance-store backed AMI