This lab walks you through how to build a collection of sample source code input files into a deployable version of source code. You will instruct CodeBuild to use Apache Maven, which is a common build tool, to build a set of Java class files into a Java archive (JAR) file.
Duration: 60 minutes
AWS Region: US East (N. Virginia) us-east-1
A fully managed build service that lets you compile your source code, run unit tests and produce artifacts that are ready to deploy.
Since it is a managed service, it eliminates the need for provisioning, managing, and scaling your own build servers. Because it provides prepackaged build environments for programming languages and build tools such as Apache Maven, Gradle, and more.
You can also customize the build environments for custom build in CodeBuild.
There are 3 primary benefits of using CodeBuild: Fully managed, On-demand, and Build for all.
Artifact is a resource that specifies output settings for artifacts generated by an AWS CodeBuild build. You can choose to store the artifacts in an S3 bucket.
Launching Lab Environment.
Understand the structure of the Zip file present in the S3 Bucket.
Create an S3 bucket for storing the artifacts.
Create a build project in CodeBuild.
Run the build and check the output
Delete the resources at the end.