Skip to content
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

Ephemeral runners for dev purposes #382

Merged
merged 3 commits into from
Feb 20, 2024
Merged

Ephemeral runners for dev purposes #382

merged 3 commits into from
Feb 20, 2024

Conversation

ntampakas
Copy link
Collaborator

Description

With this PR you can trigger a workflow that deploys bandada on an ephemeral EC2 instance. From the moment you launch the instance through to its (auto)termination, the uptime is 6h. Each user has the option to spawn only one running instance, regardless of the deployment branch; there is also the possibility to re-deploy a newer version. In this scenario the old instance is destroyed, and a new one is launched.
The instance' s IP address appears during the workflow execution, allowing access to bandada via a web browser and/or connecting to the instance via SSH. VPN access is required for both cases (to receive the SSH key, please DM me).

Please keep in mind that bandada deployment takes between 20-30' after workflow execution and the ephemeral instance specs consist of 2vCPUS, 8GB of RAM and 32G HDD.

The workflow is scheduled to execute every 6h in order to terminate any instances that hung for any reason.

Related Issue

No

Does this introduce a breaking change?

  • Yes
  • No

Other information

Not available

@0xjei
Copy link
Contributor

0xjei commented Feb 16, 2024

@baumstern Would you like to give an eye on this if you have any spare time? Thank you in advance!

@vplasencia vplasencia merged commit 1bd08a7 into bandada-infra:main Feb 20, 2024
2 checks passed
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 this pull request may close these issues.

3 participants