, CodeDeploy , . , . , , , . CodeDeploy - . , (: , - , CodeDeploy, , , , , PreInstall script ):
EC2 (t2.micro). , , . !
, .
YAML, BeforeInstall AfterInstall. . . , .
ssh ec2 ( SSH !) /opt/codedeploy -agent/deploy-root/deployment-instructions/
{deploy-group-identifier} -cleanup. scp ec2, . , FileZilla , ec2. , .
SSH ec2 /opt/codedeploy-agent/deploy-root/deployment-instructions/ . { } { } .
.
8.???
- Profit.
( 8 9... ), .
source
share