Skip to content

Does Autospotting support Graviton2 and Mixed Instance Policy? #459

@bilalmughal

Description

@bilalmughal

I don't know if it's the right place to ask this question but I feel this feature will not only takes the "AutoSpotting" a level above. And will help many others as well.
We can have multiple launch templates to allow instances with different CPU architectures (Arm and x86) to launch in the same Auto Scaling group.
We can achieve this with following cloudformation template snippet

MixedInstancesPolicy:
        LaunchTemplate:
          LaunchTemplateSpecification:
              LaunchTemplateId: !Ref LaunchTemplate
              Version: !GetAtt "LaunchTemplate.LatestVersionNumber"
          Overrides:
            - InstanceType: t4g.small
              LaunchTemplateSpecification:
                # Override template for Arm based CPU t4g.small
                LaunchTemplateId: !Ref LaunchTemplateArm
                Version: !GetAtt "LaunchTemplateArm.LatestVersionNumber"
            - InstanceType: t3a.small
            - InstanceType: t3.small

Since the mixed instance policy does not support LaunchConfiguration, so we are forced to use launch template here. And I was never able to make AutoSpotting work with the launch template anyways.

To sum up everything

  • Does Autospotting support Arm Based CPUs?
  • Does Autospotting fully support launch templates?
  • Does Autospotting work with MixedInstancesPolicy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions