filmov
tv
How to setup CI/CD using AWS DevOps services - CodeCommit, CodeDeploy and CodePipeline.

Показать описание
##Step1:Create a IAM User :
-Developer
##Step2: Create two IAM Roles:
-AmazonEC2RoleforAWSCodeDeploy
-AWSCodeDeployRole
##Step3: Create CodeCommit Repo and clone it to the local machine
GIT Commands:
-git add *
-git commit -m "first commit"
-git push
##Step4: Create Amazon EC2 Linux instances and install the CodeDeploy agent
Role-AmazonEC2RoleforAWSCodeDeploy
Userdata-
#!/bin/bash
yum -y update
yum install -y ruby
yum install -y aws-cli
cd /home/ec2-user
chmod +x ./install
./install auto
##Step5: Create an application in CodeDeploy
Role- AWSCodeDeployRole
- Create Application
- Create Deployment Group
##Step6: Create your first pipeline in CodePipeline
##Step7. Code update for verifying the pipeline working
-git commit -a -m "second commit"
-git push
##Step8: Clear the resources
-Developer
##Step2: Create two IAM Roles:
-AmazonEC2RoleforAWSCodeDeploy
-AWSCodeDeployRole
##Step3: Create CodeCommit Repo and clone it to the local machine
GIT Commands:
-git add *
-git commit -m "first commit"
-git push
##Step4: Create Amazon EC2 Linux instances and install the CodeDeploy agent
Role-AmazonEC2RoleforAWSCodeDeploy
Userdata-
#!/bin/bash
yum -y update
yum install -y ruby
yum install -y aws-cli
cd /home/ec2-user
chmod +x ./install
./install auto
##Step5: Create an application in CodeDeploy
Role- AWSCodeDeployRole
- Create Application
- Create Deployment Group
##Step6: Create your first pipeline in CodePipeline
##Step7. Code update for verifying the pipeline working
-git commit -a -m "second commit"
-git push
##Step8: Clear the resources