Which combination of actions should a solutions architect take to meet these requirements?
(Choose three.)
Configure an Amazon ECR repository for the tool. Configure an AWS CodeCommit repository containing code for the tool being deployed to the container image in Amazon ECR.
Configure an AWS CodeDeploy application that triggers an application version update that pulls the latest tool container image from Amazon ECR, updates the container with code from the source AWS CodeCommit repository, and pushes the updated container image to Amazon ECR.
Configuration an AWS CodeBuild project that pulls the latest tool container image from Amazon ECR, updates the container with code from the source AWS CodeCommit repository, and pushes the updated container image to Amazon ECR.
Configure an AWS CodePipeline pipeline that sources the tool code from the AWS CodeCommit repository and initiates an AWS CodeDeploy application update.
Configure an Amazon EventBridge rule that triggers on commits to the AWS CodeCommit repository for the tool. Configure the event to trigger an update to the tool container image in Amazon ECR. Push the updated container image to Amazon ECR.
Configure an AWS CodePipeline pipeline that sources the tool code from the AWS CodeCommit repository and initiates an AWS CodeBuild build.
Explanations:
Configuring an Amazon ECR repository is essential for storing the container images. Setting up an AWS CodeCommit repository allows the company to manage the source code for the tool, which is necessary for triggering the build and deployment process whenever the code is updated.
AWS CodeBuild can be configured to pull the latest code from the CodeCommit repository, build the updated container image, and push this new image to the Amazon ECR repository. This automates the image creation process upon code updates, fulfilling the requirement to eliminate manual steps.
An AWS CodePipeline can automate the entire workflow by sourcing the code from AWS CodeCommit and triggering an AWS CodeBuild project to build the updated container image and push it to Amazon ECR. This streamlines the deployment process and ensures that the latest version of the tool is always available for new workflow executions.
AWS CodeDeploy is typically used for deploying applications to instances rather than for managing Docker container images. It does not directly handle the building and pushing of updated images to ECR, making it less relevant for the specific requirement of automating container image generation.
While AWS CodePipeline is used, the combination with AWS CodeDeploy does not address the core requirement of updating and pushing the container image itself. CodeDeploy is more focused on deployment to instances rather than managing container images in ECR.
Configuring an Amazon EventBridge rule for triggering on commits could be a part of an automated workflow, but it doesn’t provide a complete solution for building and pushing the updated container image, as it lacks integration with a build process like CodeBuild.