https://www.youtube.com/watch?v=ND8hujOoZ14
https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-codecommit.html
Create a git repository
for code deploy need two role
– AmazonEC2RoleforAWSCodeDeploy
AWSCodeDeployRole
******************************************************************
************************************************************
#!/bin/bashyum -y updateyum install -y rubyyum install -y aws-clicd /home/ec2-useraws s3 cp s3://aws-codedeploy-us-east-2/latest/install . --region us-east-2chmod +x ./install./install auto
Review the ec2 instance creattion
pipeline
Create pipeline
pipeline source storage
Add build stage:
Code build evnronment
****************************************************************************
CODE deploy
Create deployment group
No comments:
Post a Comment