Skip to content

Feature: Enable runner instance volume type choices #578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ryancormack opened this issue Nov 24, 2022 · 1 comment · Fixed by #579
Closed

Feature: Enable runner instance volume type choices #578

ryancormack opened this issue Nov 24, 2022 · 1 comment · Fixed by #579

Comments

@ryancormack
Copy link
Contributor

Summary

Currently ec2 instances are launched with a gp2 volume type by default, however, gp3 volume types can be more performant and cheaper. The host runner can be launched with gp3 EBS volume types, but it's not possible to enable gp3 volume types. The GitLab Docker EC2 Driver supports setting this value, https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/blob/main/drivers/amazonec2/amazonec2.go#L211

Suggested Implementation

I propose to allow setting a new variable/option of runners_volume_type, which will default to gp2 to maintain backwards compatibility, that can then be passed into the Runners Machine Config in the launch template

@ryancormack
Copy link
Contributor Author

I'm happy to pick up the work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant