From bf7b8199daac8940a920f800e959ba15ebe51bbc Mon Sep 17 00:00:00 2001 From: Henry Huang Date: Mon, 26 May 2014 23:03:49 +0800 Subject: [PATCH] Add the document for the new spot_price parameter --- website/source/docs/builders/amazon-ebs.html.markdown | 7 +++++++ website/source/docs/builders/amazon-instance.html.markdown | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/website/source/docs/builders/amazon-ebs.html.markdown b/website/source/docs/builders/amazon-ebs.html.markdown index f46e2d0da..012e0fb9a 100644 --- a/website/source/docs/builders/amazon-ebs.html.markdown +++ b/website/source/docs/builders/amazon-ebs.html.markdown @@ -117,6 +117,13 @@ each category, the available configuration keys are alphabetized. described above. Note that if this is specified, you must omit the security_group_id. +* `spot_price` (string) - The maximum hourly price to launch a spot instance + to create the AMI. It is a type of instances that EC2 starts when the maximum + price that you specify exceeds the current spot price. Spot price will be + updated based on available spot instance capacity and current spot Instance + requests. It may save you some costs. For example, it takes only "0.001" to + launch a spot "m3.medium" instance while "0.07" needed for on-demand. + * `ssh_port` (integer) - The port that SSH will be available on. This defaults to port 22. diff --git a/website/source/docs/builders/amazon-instance.html.markdown b/website/source/docs/builders/amazon-instance.html.markdown index 238eaead2..8f9b6f407 100644 --- a/website/source/docs/builders/amazon-instance.html.markdown +++ b/website/source/docs/builders/amazon-instance.html.markdown @@ -155,6 +155,13 @@ each category, the available configuration keys are alphabetized. described above. Note that if this is specified, you must omit the security_group_id. +* `spot_price` (string) - The maximum hourly price to launch a spot instance + to create the AMI. It is a type of instances that EC2 starts when the maximum + price that you specify exceeds the current spot price. Spot price will be + updated based on available spot instance capacity and current spot Instance + requests. It may save you some costs. For example, it takes only "0.001" to + launch a spot "m3.medium" instance while "0.07" needed for on-demand. + * `ssh_port` (integer) - The port that SSH will be available on. This defaults to port 22.