Include Page | ||||
---|---|---|---|---|
|
Generate student images
- Make sure "gte" command has right branch in it in last line
Make sure the mkstudent.sh file points to the right build, and has the right docker containers to pull for exercises, and the right commands to download
Code Block export GROUPER_GTE_BRANCH=GROUPER_BUILD_CLOUD_FORMATION #export GROUPER_GTE_DOCKER_BRANCH=GROUPER_BUILD_CLOUD_FORMATION export GROUPER_GTE_DOCKER_BRANCH=202006
- Commit to a branch in https://github.internet2.edu/docker/grouper_training
- Make sure the Docker images are available in dockerhub after CI/CD
- Tag the commit that you want to build EC-2's for with GROUPER_BUILD_CLOUD_FORMATION. Note this uses a tag since that is hardcoded in the AWS launch configuration in the user data script, and that cannot be edited (immutable).
- Go to https://aws.internet2.edu, 626413038627, us-east-2
- Ec-2 - Autoscaling groups, Grouper Training, adjust the number of hosts
Wait 15 minutes, then run this to generate passwords
Code Block [mchyzer@i2midev6 ~]$ wget https://github.internet2.edu/docker/grouper_training/raw/GROUPER_BUILD_CLOUD_FORMATION/internal/passwordsToSpreadsheet.sh [mchyzer@i2midev6 ~]$ chmod +x passwordsToSpreadsheet.sh [mchyzer@i2midev6 ~]$ ./passwordsToSpreadsheet.sh
...