Search⌘ K
AI Features

Automatic Deployments: CodeBuild

Understand how to set up automatic deployments on AWS by integrating CodeBuild, CodeDeploy, and CodePipeline. Learn to generate GitHub access tokens, create S3 buckets for build artifacts, and configure build and deployment specifications to streamline application updates.

Objective

  • Automatically update our application when a change gets pushed to GitHub.

Steps

  • Get GitHub credentials.
  • Creating S3 bucket for build artifacts.
  • CodeBuild to pull changes from GitHub.

In this section, we’re going to use CodeBuild, CodeDeploy, and CodePipeline so that our application gets updated automatically as soon as we push a change to GitHub.

GitHub access token #

We will need a GitHub access token to let CodeBuild pull changes from GitHub. To generate an access token, go to https://github.com/settings/tokens/new and ...