RTXteam / RTX

Software repo for Team Expander Agent (Oregon State U., Institute for Systems Biology, and Penn State U.)
https://arax.ncats.io/
MIT License
33 stars 21 forks source link

Move cicd.rtx.ai to `us-east-1` #2401

Closed amykglen closed 3 weeks ago

amykglen commented 1 month ago

this came up at the KG2 rollout party today

it's been taking the cicd.rtx.ai instance a really long time to download databases, and we imagine a big part of that is because it is still in us-west-2 while arax-databases.rtx.ai is in us-east-1.

at some point we should probably move cicd.rtx.ai to us-east-1 as well

saramsey commented 1 month ago

making an AMI now....

saramsey commented 1 month ago

excellent idea Amy and Sundar!

saramsey commented 3 weeks ago

copying the AMI to us-east-1 now...

Screenshot 2024-10-22 at 10 58 31 AM

saramsey commented 3 weeks ago

OK, the AMI has been copied, but we are now waiting on availability of an elastic IP address

Screenshot 2024-10-22 at 11 25 50 AM

I've sent a request to COE IT to get the elastic IP address limit raised, for the us-east-1 region.

saramsey commented 3 weeks ago

Request to raise the quota has been logged via the AWS CLI:

Screenshot 2024-10-22 at 12 10 08 PM

following these instructions from AWS: https://repost.aws/knowledge-center/request-service-quota-increase-cli

saramsey commented 3 weeks ago

I anticipate we should have a response from AWS within a day or so.

saramsey commented 3 weeks ago

OK, we got our quota raised: Screenshot 2024-10-22 at 12 36 09 PM

saramsey commented 3 weeks ago

I can now ssh into cicd2.rtx.ai in us-east-1:

Screenshot 2024-10-22 at 12 40 25 PM

saramsey commented 3 weeks ago

OK, I believe I have set up the new CI/CD server in us-east-1 with hostname cicd.rtx.ai (the old CI/CD server in us-west-2 has been stopped, and its hostname is now cicd-old.rtx.ai). I ran /home/ubuntu/actions-runner/run.sh inside a screen session on that instance, as user ubuntu . It seems happy?

(base) ubuntu@ip-172-31-42-117:~/actions-runner$ ./run.sh

√ Connected to GitHub

Current runner version: '2.320.0'
2024-10-22 20:09:53Z: Listening for Jobs
saramsey commented 3 weeks ago

Running a manually triggered Test Build now on the new cicd.rtx.ai...

Screenshot 2024-10-22 at 1 20 12 PM

saramsey commented 3 weeks ago

Test Build completed successfully. Closing this issue.

Screenshot 2024-10-22 at 2 13 41 PM

saramsey commented 3 weeks ago

The cicd-old.rtx.ai instance in us-west-2 has been terminated.