Aws Code Build FAQs | Amazon Web Services Flashcards
See the AWS CodeBuild pricing page for details.
Q: What is the pricing for CodeBuild?
Yes. CodeBuild is integrated with AWS CodePipeline. You can add a build action and set up a continuous integration and continuous delivery process that runs in the cloud. You can learn how to set up and monitor your builds from the CodePipeline console here.
Q: Can I use CodeBuild to automate my release process?
A build project can be configured through the console or the AWS CLI. You specify the source repository location, the runtime environment, the build commands, the IAM role assumed by the container, and the compute class required to run the build. Optionally, you can specify build commands in a buildspec.yml file.
Q: How do I configure a build project?
CodeBuild can connect to AWS CodeCommit, S3, GitHub, and GitHub Enterprise and Bitbucket to pull source code for builds.
Q: Which source repositories does CodeBuild support?
CodeBuild provides preconfigured environments for supported versions of Java, Ruby, Python, Go, Node.js, Android, .NET Core, PHP, and Docker. You can also customize your own environment by creating a Docker image and uploading it to the Amazon EC2 Container Registry or the Docker Hub registry. You can then reference this custom image in your build project.
Q: Which programming frameworks does CodeBuild support?
Sign in to the AWS Management Console, create a build project, and then run a build. For an introduction to CodeBuild, see Getting Started, which includes a step-by-step tutorial. You can also use CodeBuild Local to test and debug your build locally.
Q: How do I set up my first build?
Yes. The CodeBuild Plugin for Jenkins can be used to integrate CodeBuild into Jenkins jobs. The build jobs are sent to CodeBuild, eliminating the need for provisioning and managing the Jenkins worker nodes.
Q: Can I use CodeBuild with Jenkins?
You can debug a build by inspecting the detailed logs generated during the build run or you can use CodeBuild Local to locally test and debug your builds.
Q: How can I debug a past build failure?
The .NET Core for Windows build environment requires more memory and processing power than is available in the build.general1.small compute instance type due to the size of the Windows Docker base container and additional libraries. Due to this limitation, there is no free tier for the .NET Core for Windows build environment.
Q: Why is build.general1.small not supported for .NET Core for Windows build environments?
You can create notifications for events impacting your build projects. Notifications will come in the form of Amazon SNS notifications. Each notification will include a status message as well as a link to the resources whose event generated that notification. Notifications has no additional cost; but, you may be charged for other AWS services utilized by notifications, such as Amazon SNS. To learn how to get started with notifications, see the notifications user guide. Additionally, customers using AWS Chatbot can configure notifications to be sent to their Slack Channels or Amazon Chime chat rooms. For more details please check here.
Q: How do I receive notifications or alerts for any events in AWS CodeBuild?
Yes. You can specify a key stored in the AWS Key Management Service (AWS KMS) to encrypt your artifacts.
Q: Can I encrypt the build artifacts stored by CodeBuild?
CodeBuild runs your build in fresh environments isolated from other users and discards each build environment upon completion. CodeBuild provides security and separation at the infrastructure and execution levels.
Q: How does CodeBuild isolate builds that belong to other customers?
Yes. You can control access to your build projects through resource-level permissions in IAM policies.
Q: Can I use AWS Identity and Access Management (IAM) to manage access to CodeBuild?
See Regional Products and Services for details.
Q: Which regions does CodeBuild support?