Skip to content

Releases: aws/amazon-ec2-instance-selector

v2.0.2

17 Dec 23:01
1905503
Compare
Choose a tag to compare

Changes

  • add output option for one-line comma separated (#66)
  • show message on stderr when results have been truncated (#56)
  • upgrade to go 1.15 (#49)

EC2 Instance Selector v2.0.1

30 Jul 17:43
f6086b0
Compare
Choose a tag to compare

Bug Fixes 🐞

  • Add /v2 path to go module so that the new major version of the pkg can be depended on w/ go modules. The new full module is: github.com/aws/amazon-ec2-instance-selector/v2 (#45)

EC2 Instance Selector v2.0.0

30 Jul 12:58
1c00141
Compare
Choose a tag to compare

New Features 🎊 🥳

  • You can now specify --memory and --gpu-memory-total as a byte quantity such as "4gb", "12tb", or "612mb". If you just specify an integer with no unit, ec2-instance-selector will default to use GiB. NOTE: the previous versions would always use MiB, so this is a breaking change. (#36)

Removals

  • The singular --availability-zone flag has been removed. This flag was previously deprecated in favor of the plural --availability-zones flag which will do an intersection of instance types available in all of the availability zones given. (#42)

Tests

  • New e2e tests have been added! (#41)

Other:

EC2 Instance Selector v1.3.3

20 Jul 21:18
42ea818
Compare
Choose a tag to compare

Bug Fixes

  • Treat amd64 the same as x86_64 when passed as a --cpu-architecture filter. #35

EC2 Instance Selector v1.3.2

16 Jul 17:51
be67b3f
Compare
Choose a tag to compare

Other:

  • Release to homebrew tap automatically

EC2 Instance Selector v1.3.1

09 Jul 18:35
d98d38b
Compare
Choose a tag to compare

Bug Fixes

  • Raise the lower bound of the vcpus and memory similarity resource band to 10% below and 20% above the resources of the base-instance-type passed in. This will promote a narrower band of flexibility for selected instance types that are below the resources of the instance type passed in. #23
  • When --base-instance-type is fed a non-gpu instance type, only non-gpu instance types should be selected. If a gpu instance type is fed in, then only gpu instance types will be selected. #22

Other:

  • We are publishing .tar.gz archives of the binaries to reduce the asset sizes when downloading and use as static bottles for homebrew. #24

EC2 Instance Selector v1.3.0

24 Jun 17:26
a7e05ab
Compare
Choose a tag to compare

New Features 🎊 🥳

  • You can now specify the --flexible flag to retrieve a group of similar instance types using an opinionated set of raw filters filled in for you automatically. All the filters can be overridden if specified directly, but by default, you will get a list of x86_64 c, m, r, or t family instance types that are spread across generations. The instance type selections with --flexible are perfect to put into an ASG MixedInstancesPolicy w/ Spot. #20

Bug Fixes

  • The --vcpus-to-memory-ratio has been modified to be more lenient to support selection of older instance types that do not fall into a perfect ratio. #18
  • Verbose output showing allow-list and deny-list regex input has been fixed. Before this fix, an empty {} output would be shown if a regex was specified and null if no regex was specified. Now you will see the full regex string passed in as you probably would expect :) . #17

EC2 Instance Selector v1.2.0

22 Jun 21:00
7c54be8
Compare
Choose a tag to compare

New Features 🎊 🥳

  • You can now use --allow-list and/or --deny-list to supply regex patterns to filter out certain instance types or only allow certain instance types to be selected. #11

Bug Fixes

  • The AWS_PROFILE environment variable is now processed correctly for credentials and region discovery. Thanks to @ruecarlo #15

EC2 Instance Selector v1.1.0

11 Jun 21:25
ec04254
Compare
Choose a tag to compare

New Features

  • Pass in an instance-type through the --base-instance-type flag and ec2-instance-selector will find instance types that are similar to the passed in one. #6
  • A new flag was added to support passing in a list of availability zones. The --availability-zones flag will replace the previous singular version --availability-zone in a future release, but for now the previous version still works and will display a warning message when used. The list of availability zones is used to find instance types that are available in all AZs that are passed in. #8
  • Region detection has been improved by adding aws profile config parsing and the AWS_DEFAULT_REGION environment variable in addition to the already supported --region flag and AWS_REGION environment variable. #9

EC2 Instance Selector v1.0.0

02 Jun 17:04
e864c14
Compare
Choose a tag to compare

Summary:

This is the first major release of the ec2-instance-selector tool.

ec2-instance-selector is a CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory.

Why did we build this?

There are over 270 different instance types available on EC2 which can make the process of selecting appropriate instance types difficult. Instance Selector helps you select compatible instance types for your application to run on. The command line interface can be passed resource criteria like vcpus, memory, network performance, and much more and then return the available, matching instance types.

If you are using spot instances to save on costs, it is a best practice to use multiple instances types within your auto-scaling group (ASG) to ensure your application doesn't experience downtime due to one instance type being interrupted. Instance Selector will help to find a set of instance types that your application can run on.

Instance Selector can also be consumed as a go library for direct integration into your go code.

Major Features

  • Filter AWS Instance Types using declarative resource criteria like vcpus, memory, network performance, and much more!
  • Consumable as a go library