1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Not being able to see exactly how you might have tried to do this here is a solution below that should successfully install the CodeDeploy agent
{
"schemaVersion": "2.2",
"description": "Install CodeDeploy Agent",
"parameters": {},
"mainSteps": [
{
"action": "aws:runShellScript",
"name": "installCodeDeployAgent",
"inputs": {
"runCommand": [
"#!/bin/bash",
"sudo yum update -y",
"sudo yum install ruby -y",
"sudo yum install wget -y",
"cd /home/ec2-user",
"wget https://aws-codedeploy-eu-west-2.s3.amazonaws.com/latest/install",
"chmod +x ./install",
"sudo ./install auto > /tmp/logfile",
"sudo service codedeploy-agent start"
]
}
}
]
}
Save the document and use the AWS Console, CLI, or a SDK to execute this.
répondu il y a 2 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans