parent
93f7f36cc1
commit
1b95c23c0e
@ -1,3 +1,4 @@ |
||||
#!/bin/bash -x |
||||
cd /home/ec2-user/projects/src/harmony-benchmark |
||||
./deploy_one_instance.sh global_nodes.txt |
||||
# ./deploy_one_instance.sh global_nodes.txt |
||||
echo "Run" >> tmplog |
@ -0,0 +1 @@ |
||||
echo "Bye" > tmplog |
@ -1 +1 @@ |
||||
echo "Hi, I am in aws-scripts and its seems to have worked." |
||||
echo "Hello" > tmplog |
@ -0,0 +1,7 @@ |
||||
aws ec2 run-instances \ |
||||
--count 1 \ |
||||
--image-id ami-f2d3638a \ |
||||
--instance-type m3.medium \ |
||||
--key-name richard-spot-instance \ |
||||
--security-group-ids sg-06f90158506dca54f \ |
||||
--user-data file://instance-setup.sh |
@ -0,0 +1,7 @@ |
||||
#!/bin/bash |
||||
yum -y update |
||||
yum install -y ruby |
||||
cd /home/ec2-user |
||||
curl -O https://aws-codedeploy-us-west-2.s3.amazonaws.com/latest/install |
||||
chmod +x ./install |
||||
./install auto |
Loading…
Reference in new issue