Skip to content

Option to hibernate agents after a timeout #1348

@gondalez

Description

@gondalez

Is your feature request related to a problem? Please describe.

Background

Using warm/always-on agents is great for improving build times for disk-cache heavy operations like fetching and building dependencies.

Warm agents are those with autoscaling disabled that are always on so their disk cache is maintained between builds.

Problem

Having the agents always on adds cost.

Describe the solution you'd like

Use ec2 hibernation.

I imagine a variable like ScaleInIdlePeriod where the instances in the group hibernate after an idle period.

For warm agents this seems great because the disk cache is maintained while dropping the instance cost.
Only the storage costs would be accumulating during hibernation

Also, coming out of hibernation should be quick for when a new build starts.

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