Posted On: Jan 20, 2020
You can now run your applications on Amazon Elastic Beanstalk using Amazon EC2 Spot Instances. You can add Amazon EC2 Spot Instances to your environment’s capacity in both single instance and load balanced environments. Previously, Elastic Beanstalk supported only On-Demand and Reserved Instances .
Amazon EC2 Spot Instances let you take advantage of unused EC2 capacity in the Amazon Web Services cloud. Spot Instances are available at up to a 90% discount compared to On-Demand prices. You can use Spot Instances for various stateless, fault-tolerant, or flexible applications, and other test and development workloads. You can add, scale, and manage Spot Instances in your Amazon Elastic Beanstalk environments through the Elastic Beanstalk console, EB CLI, and Elastic Beanstalk API.
You can upgrade your existing Amazon Elastic Beanstalk environments capacity to run on a combination of Spot Instances, On-Demand, and Reserved Instances by changing the configuration of your environments. To get started with using EC2 Spot instances in your Amazon Elastic Beanstalk environment, modify the ‘Capacity’ on the environment configuration page in the Elastic Beanstalk console. For more information on using Spot Instances in Elastic Beanstalk, visit Spot Fleet Support section in the Elastic Beanstalk Developer Guide.