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

[IT-3266] Move bastian host into private subnet #23

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

zaro0508
Copy link
Member

@zaro0508 zaro0508 commented Jan 8, 2024

We switch to using GH self hosted runner therefore the bastian hosts do not need to be accessible from the internet anymore.

depends on Sage-Bionetworks/agora-data-manager#116

We switch to using GH self hosted runner therefore the bastian
hosts do not need to be accessible from the internet anymore.

depends on Sage-Bionetworks/agora-data-manager#116
@zaro0508 zaro0508 requested review from a team as code owners January 8, 2024 17:19
@@ -12,7 +12,7 @@ parameters:
# Name of an the environment either develop, staging or prod
Environment: "develop"
# Name of an existing VPC subnet to run the instance in
VpcSubnet: "PublicSubnet"
VpcSubnet: "PrivateSubnet"
Copy link
Member Author

@zaro0508 zaro0508 Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: AWS will create a new EC2 instance on this change which means that the Github self-hosted runners (in agora-data-manger repo) will need to be manually re-configured.

Copy link
Contributor

@xschildw xschildw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could create an AMI after config and use that AMI (no manual reconfig if the instance was lost for whatever reason).

@zaro0508
Copy link
Member Author

zaro0508 commented Jan 9, 2024

We could create an AMI after config and use that AMI (no manual reconfig if the instance was lost for whatever reason).

i would prefer to figure out a way to automate setting up of the bastian as a github self-hosted runner. i'm thinking it might be possible to bootstrap the self-hosted runner config and run scripts in the EC2 init.

@zaro0508 zaro0508 merged commit 08bf5b6 into Sage-Bionetworks:main Jan 9, 2024
8 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.

2 participants