Created
May 12, 2018 16:11
-
-
Save rahulmamgain/93f2ad23c9934a5da5bc878f49c91d64 to your computer and use it in GitHub Desktop.
Spot Instance Configuration Elastic Beanstalk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resources: | |
AWSEBAutoScalingLaunchConfiguration: | |
Type: "AWS::AutoScaling::LaunchConfiguration" | |
Properties: | |
SpotPrice: | |
"Fn::GetOptionSetting": | |
Namespace: "aws:elasticbeanstalk:application:environment" | |
OptionName: "EC2_SPOT_PRICE" | |
DefaultValue: {"Ref":"AWS::NoValue"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"The value for
EC2_SPOT_PRICE
, can be set through the elastic beanstalk environment configuration.” https://link.medium.com/FpTldH0Sl1