CodeBuild Cheat Sheet

Overview

  • Managed source code compilation service

Build Specification

  • Contains build commands and settings
  • Places to set / override buildspec 🎓
    • StartBuild API call (HIGHEST precedence)
    • Build project definition
    • buildspec.yml file stored with the source code (LOWEST precedence)
      • Filename can be customized

Basic process: user calls / triggers a build; CodeBuild provisions an instance; downloads code; compiles code; uploads executables; sends notifications and logs