Which combination of steps would address these requirements?
(Choose three.)
Add a buildspec.yml file to the source code with build instructions.
Configure a GitHub webhook to trigger a build every time a code change is pushed to the repository.
Create an AWS CodeBuild project with GitHub as the source repository.
Create an AWS CodeDeploy application with the Amazon EC2/On-Premises compute platform.
Create an AWS OpsWorks deployment with the install dependencies command.
Provision an Amazon EC2 instance to perform the build.
Explanations:
Abuildspec.ymlfile is required in AWS CodeBuild to define the build commands and instructions for compiling, testing, and pushing to Amazon S3.
A GitHub webhook is necessary to trigger the build process every time the repository is updated. It ensures that changes in the GitHub repo initiate the build.
AWS CodeBuild can be configured to use GitHub as the source repository, enabling automatic builds based on code changes in GitHub.
AWS CodeDeploy is used for application deployment, not for building or compiling source code. It is not required for this task.
AWS OpsWorks is used for configuration management and automation of server tasks, not for building and pushing code to Amazon S3.
Provisioning an EC2 instance for the build is unnecessary because AWS CodeBuild can handle the build process without needing a separate EC2 instance.