Deploy scripts for HealthStar servers
Install
- On the root of the bastion server you must add
deploy.shandsingle-deploy.sh - On the deploy web server you must add
create-image.shand run aws configure. This file is not needed any other server that doesnt use autoscaling. - On bastion server create a file named
idput the server tag in there (ia-agp) - On Deploy (web server) create file called
elb, in that file add the elb name for that instance - install dialog
sudo apt-get install dialog - You will need to change permissions on the directory to make sure user
ubuntucan access it.
--sudo chown -R ubuntu:ubuntu .aws - Then run
aws configure
--sudo chown -R ubuntu:ubuntu /var/tmp/aws-mon
*AWS CONFIG OPTIONS* #### #### us-east-1 text DEPLOY To deploy to all servers use the following:
./deploy.sh <branch version>- example:
./deploy.sh 4.150.0 - You'll still need to create the launch config and add the instance back to the elb
- it'll prompt for manual migrations
- Regular migrations will run automatically
To deploy to single servers use:
./single-deploy.sh agp-tn 4.150.0 intake
Deploy Servers will automatically create an image based off server and branch version. You'll still need to manually add the new AMI to the launch config and do the autoscaling for now.
YOU CANNOT CLONE THIS REPO TO THE SERVER ||| YOU MUST MANUALLY CREATE THE FILES UNLESS PARENT DIRECTORY IS EMPTY