A developer is setting up a basic release pipeline using AWS CodePipeline to compile a containerized application and deploy it to Amazon Elastic Container Service (Amazon ECS). The source code is stored in an AWS CodeCommit repository. Which of the following configurations are required to successfully set up this pipeline? (Select TWO.)
- Configure a Source action in AWS CodePipeline with AWS CodeCommit as the source provider.Cevap
- Configure a Build action in AWS CodePipeline with AWS CodeBuild as the build provider.Cevap
- CConfigure an IAM trust policy on the AWS CodeCommit repository to allow the repository to directly assume the Amazon ECS Task Execution Role.
- DStore the Amazon ECS task definition parameters in AWS Secrets Manager and configure AWS CodePipeline to rotate this secret during the deployment phase.
- ESave the buildspec.yml configuration file inside a subdirectory named /build in the source repository.
Cevap
To configure the release pipeline, the developer must add a Source action with AWS CodeCommit as the provider and a Build action with AWS CodeBuild as the provider.
The correct configurations are configuring a Source action with AWS CodeCommit as the source provider and configuring a Build action with AWS CodeBuild as the build provider. The Source action triggers the pipeline when changes are detected in the repository, and the Build action compiles the containerized application and packages it as a Docker image.
Adım Adım Çözüm
Anahtar Kavram
AWS CodePipeline Stages and Actions