Pages

Thursday, September 6, 2018

Aws Component - CodeBuild

In the second series of the Aws DevOps, We will see how we can use Code Build for compiling and building our code. Build Process in Aws Code Build works in a different way. Following are the steps that are required for building the code.
  1. Source code is checked out from the codeCommit Repository. Different SCM like GitHub or S3 bucket can be integrated with the CodeBuild.
  2. CodeBuild service is based on buildspec.yml file. This file contains some commands to run during the build phases like install, pre-build,post-build etc. The file needs to be in the ROOT of the project folder and have to be committed to the repository.
  3. If we don’t have buildspec.yml ,we can directly use maven command to build the code.
  4. Once the build is completed, the artifacts will be stored in the S3 bucket.
  5. Notifications can be configured using the “Simple Notification Service ( SNS )” for obtaining the build results.
Search for the Aws CodeBuild tool and select the tool to see the below screen. fill the details based on your requirement,


Save and move to the next page,


When we click on the start Build, it will give options to configure as,

Once we fill the necessary details and click the start build, the build will run and the artifacts will be available in the s3 bucket that we configured.

More to Come, Happy Learning 

2 comments :

  1. Hello my loved one! I want to say that this article is amazing, nice written and come with approximately all vital
    infos. I would like to look extra posts like this .

    ReplyDelete
  2. Thanks for sharing valuable information. Your blogs were helpful to AWS learners. I
    request to update the blog through step-by-step. Also, find the AWS news at
    AWS Online Course

    ReplyDelete