Skip to content

Instantly share code, notes, and snippets.

@rahulmamgain
Created May 12, 2018 16:11
Show Gist options
  • Save rahulmamgain/93f2ad23c9934a5da5bc878f49c91d64 to your computer and use it in GitHub Desktop.
Save rahulmamgain/93f2ad23c9934a5da5bc878f49c91d64 to your computer and use it in GitHub Desktop.
Spot Instance Configuration Elastic Beanstalk
Resources:
AWSEBAutoScalingLaunchConfiguration:
Type: "AWS::AutoScaling::LaunchConfiguration"
Properties:
SpotPrice:
"Fn::GetOptionSetting":
Namespace: "aws:elasticbeanstalk:application:environment"
OptionName: "EC2_SPOT_PRICE"
DefaultValue: {"Ref":"AWS::NoValue"}
@trevor403
Copy link

"The value for EC2_SPOT_PRICE, can be set through the elastic beanstalk environment configuration.”  https://link.medium.com/FpTldH0Sl1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment