AWS Devops - | Pipeline | - HandsOn - CodeCommit, CodeBuild , ECS , CodePipeline
In these HandsOn, We are learn, how We can use Code Commit, Code Build , ECS & ECR And Code Pipeline in the DevOps Culture
Last updated
In these HandsOn, We are learn, how We can use Code Commit, Code Build , ECS & ECR And Code Pipeline in the DevOps Culture
Last updated
AWS CodeCommit is a fully-managed source control service that makes it easy for teams to host secure and scalable Git repositories.
Amazon Elastic Container Service (ECS) is a fully managed container orchestration service provided by Amazon Web Services (AWS). It simplifies the process of deploying, managing, and scaling containerized applications using Docker containers. ECS enables to run and scale containerized applications on a cluster of Amazon EC2 instances or using AWS Fargate, which is a serverless compute engine for containers.
The buildspec.yml
file is commonly used in the context of AWS CodeBuild, which is a fully managed continuous integration service provided by Amazon Web Services (AWS). This file defines the build phases and commands that CodeBuild should run when building your project.
AWS CodeBuild is a fully managed continuous integration service provided by Amazon Web Services (AWS). It is designed to compile source code, run tests, and produce deployable artifacts. CodeBuild scales automatically, allowing you to build, test, and deploy applications quickly.
Buildspec name - optionalBy default, CodeBuild looks for a file named buildspec.yml in the source code root directory. If your buildspec file uses a different name or location, enter its path from the source root here (for example, buildspec-two.yml or configuration/buildspec.yml).
Open the IAM console at https://console.aws.amazon.com/iam/.
In the navigation pane, click "Roles".
Find and click on the "codebuild-AWS-ECS-service-role" role.
Click on the "Attach policies" button.
In the "Filter policies" search box, type "ecr" to find policies related to ECR.
Check the box next to the "AmazonEC2ContainerRegistryFullAccess" policy, which includes the "ecr:GetAuthorizationToken" action.
Click on the "Attach policy" button.
AWS CodePipeline is a fully managed continuous delivery service that automates the build, test, and deployment phases of your release process. It allows you to create and model your release process, automate the execution of your builds and tests, and deliver application or infrastructure changes in a reliable and efficient manner.