Configure CodeBuild
-
Make CodeBuild
- Access to CodeBuild
- Select Build projects
- Select Create build project

-
For Project configuration
- Project name:
RosaVotingAppBuild

-
We configure Source
- Source
- Source provider: AWS CodeCommit
- Repository: rosa-voting-app
- Reference type: Branch
- Branch: master

- Continue configuration
- Environment
- Image: Managed image
- Operating system: Ubuntu
- Runtime: Standard
- Image: standard:5.0
- Privileged: true

- New service role: RosaVotingAppBuildServiceRole

-

- Select Create build project

- Finish creating project build then we start Start build

-
Test code build project
- On the AWS console, run Start build for the newly created project. Check the successful status of the building project and check that the
echo commands in the buildspec have been executed

In the following sections, we will edit the buildspec file to complete the CI/CD flow