Skip to content

sivaavuthu/aws-ecr-codedeploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-ecr-codebuild-codedeploy-codepipeline

https://cloudgeeks.ca

STEPS

1. Create a Role for EC2 with ECR access ---> AmazonEC2ContainerRegistryPowerUser + AmazonEC2RoleforAWSCodeDeploy

2. Create Launch Configuration ---> ami-0947d2ba12ee1ff75 (AmazonLinux2)

3. Create AS Group

4. s3 bucket ---> put .zip ---> s3://cloudgeeks-ca-app/codedeploy/codedeploy.zip ---> update .zip with ECR URI ---> eg.ECR REPO NAME cloudgeeks-nginx ---> ECR REPO URI 286601674019.dkr.ecr.us-east-1.amazonaws.com/cloudgeeks-nginx ---> MUST convert the bash script ---> dos2unix app.sh ---> dos2unix: converting file app.sh to Unix format...

5.A PUSH DOCKER IMAGE TO AWS with GITHUBACTIONS ---> aws-ecr-codedeploy/.github/workflows/ecr.yml

5.B codedeploy app + group + role ---> AWSCodeDeployRole

6. codepipeline

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 94.1%
  • Shell 5.2%
  • Other 0.7%