Posted On: Nov 25, 2019
You can now run your applications on AWS 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 AWS 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 AWS Elastic Beanstalk environments through the Elastic Beanstalk console, EB CLI, and Elastic Beanstalk API.
You can upgrade your existing AWS 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 AWS 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 here.