The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/aws-setup/user-data.sh

9 lines
284 B

7 years ago
#!/bin/bash -x
REGION=$(curl 169.254.169.254/latest/meta-data/placement/availability-zone/ | sed 's/[a-z]$//')
yum update -y
yum install ruby wget -y
cd /home/ec2-user
7 years ago
wget https://aws-codedeploy-$REGION.s3.amazonaws.com/latest/install
chmod +x ./install
7 years ago
./install auto
mkdir projects