https://aws.amazon.com/codebuild is a fully managed continuous integration service that compiles source code, runs tests, and produces ready-to-deploy software packages. You just specify the location of your source code and choose your build settings, and CodeBuild will run your build scripts for compiling, testing, and packaging your code.
Figure AWS CodeBuild small, medium and large compute types vs cost per minute
In this blog post we discussed how compute types; build duration and use of additional services contribute to build costs with AWS CodeBuild.
Further compute type cost optimizations can be found by targeting AWS Graviton processors and Linux environments.