#!/bin/bash sudo yum update sudo yum install -y ruby sudo wget <https://aws-codedeploy-ap-northeast-2.s3.ap-northeast-2.amazonaws.com/latest/install> sudo chmod +x ./install sudo ./install auto sudo service codedeploy-agent start