How to control your percentages of spot and on-demand EC2 instances for your AWS ASG

Photo by Mehmet Ali Peker on Unsplash.

In your Amazon Web Services Auto Scaling Group, you have the ability to specify what percentage of EC2 instances that come up are on-demand instances or spot instances.

AWS Auto Scaling is smart enough to convert this percentage into a number of instances for each. If the result of this is fractional, then the algorithm…

--

--

--

No Matter What People Tell You, Words And Ideas Can Change The World.

Recommended from Medium

Azure Repos and Azure Pipelines

Behind North America’s Largest Local Hack Day

CS373 Spring 2022: Brock Moore Week 4

Different Approaches to Prime Factorization

Android App From Scratch Part 2 — Implementing Must Have Libraries

Callback, a dapp to promote tokens

Evolving Apollo repository maintenance

FEZ Panda II with Matrix Keypad

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tremaine Eto

Tremaine Eto

Full-time software engineer since 2016. UCLA Computer Science B.S. with Atmospheric and Oceanic Sciences minor. Follow me for software engineering tips!

More from Medium

AWS Academy Introduction(AWS01) — VPC(Virtual Private Cloud)

Amazon QuickSight

How I Passed the AWS Solutions Architect Associates (SAA-C02) in One Month

Surfing on AWS Networking