airavata-courses / spring17-laravel-portal

Web Portal to experiment with Load Balancing
Apache License 2.0
4 stars 2 forks source link

Create AMI / userdata script for Portal instance #11

Closed Ameya05 closed 7 years ago

Ameya05 commented 7 years ago

Need an AMI or userdata script which will be used to setup all dependencies for the CI/CD & Laravel portal. This AMI / script must install/setup-

  1. AWS CLI (With configuration)
  2. Codedeploy agent
  3. Install and start docker
  4. Install and start Consul Agent client. (Join the Consul Agent Server which is present on HA/LB Instance)
  5. Install and start Registrator
  6. Deploy latest revision of Laravel Portal from git
Ameya05 commented 7 years ago

A subset of the script is already present in the HA / LB AMI script. Working on the remaining scripts. The HA/LB script is specific for Ubuntu 16.04. https://github.com/airavata-courses/spring17-laravel-portal/blob/master/scripts/userdata.sh

Reviewing the scripts created so far for the portal which has been deployed on Amazon Linux and may migrate it to ubuntu.