Skip to content

Fastest provider #260

Answered by kichik
automartin5000 asked this question in Q&A
Mar 21, 2023 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

0.9.1 now has support for EcsRunnerProvider and you can use something like:

new GitHubRunners(stack, 'runners', {
  providers: [
    new EcsRunnerProvider(stack, 'ECS', {
      minInstances: 1,
  ],
});

Even with the default minInstances: 0, the instances stay behind for 15 minutes. You have access to the ASG with new EcsRunnerProvider(this, 'ECS').capacityProvider.autoScalingGroup so you should be able to even add scheduled scaling or anything else you might need. And if you want even more control, you can override the capacity provider completely.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@automartin5000
Comment options

@kichik
Comment options

Answer selected by kichik
@automartin5000
Comment options

@sercantor
Comment options

@kichik
Comment options

@sercantor
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants