Lesson 1 of 3 Developer Tools, End-User Computing, Frontend and IoT

Building and Releasing Software with AWS Developer Tools

This lesson explains how AWS developer tools help teams build, test, release and troubleshoot applications faster, following DevOps and continuous integration and continuous delivery (CI/CD) practices.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the roles of AWS CodeBuild, AWS CodePipeline and AWS X-Ray.
  • Identify the tools developers use to write code for AWS, such as the AWS CLI, the SDKs and Amazon Q Developer.
  • Describe how the tools form an automated release pipeline.

The tools

AWS developer tools automate the steps of building and releasing software. AWS CodeBuild compiles code, runs tests and produces packages, with no build servers to manage. AWS CodePipeline provides continuous delivery: on every code change, it runs the source, build, test and deployment steps in order, and stops the release if a test fails. Its deploy stage can release the tested version to targets such as AWS Elastic Beanstalk, Amazon ECS or AWS CloudFormation stacks, so a change moves from a developer's commit to production without manual steps.

After release, AWS X-Ray helps with troubleshooting: it traces requests as they pass through the parts of a distributed application, showing a map of the services, where time is spent and where errors occur. The following table summarises the tools.

ServiceWhat it does
AWS CodeBuildManaged build service: compiles code, runs tests and produces packages, with no build servers
AWS CodePipelineContinuous delivery: automates source, build, test and deploy stages on every change, deploying to targets such as Elastic Beanstalk or CloudFormation
AWS X-RayTraces requests through distributed apps and microservices, showing a service map, where time is spent and where errors occur
Scenario questions

Choosing developer tools

Exam skills 3.8.4

Choose the developer tool for each need.

Log in to try this activity Interactive activities are free with an account.

Writing code

Developers work with AWS from their own tools. The AWS CLI runs AWS commands from a terminal or script, and the AWS SDKs let applications written in languages such as Python, Java and JavaScript call AWS services. Generative AI assistants help write the code itself: Amazon Q Developer explains, writes and tests code; support for its IDE plugins ends on 30 April 2027.

Worked example

An automated release pipeline

A team tired of manual releases builds a pipeline that runs every time a developer pushes code:

StageServiceWhat happens
SourceA Git repositoryA developer pushes a change
Build and testAWS CodeBuildCode is compiled and the automated tests run
DeployAWS CodePipeline deploy stageThe tested version is released to the Elastic Beanstalk environment
OrchestrateAWS CodePipelineRuns the stages in order and stops if a test fails
Investigate slownessAWS X-RayShows which service in the chain is slow

Releases that took a day of manual work now happen in minutes, and every change is tested the same way. Developers write code with help from Amazon Q Developer.

Check yourself

What does AWS CodeBuild do?

Show answer

It compiles code, runs tests and produces packages in a managed build environment.

Exam Tips

Remember for the exam

  • To compile code and run tests, use CodeBuild.
  • To automate the release pipeline, use CodePipeline.
  • CodePipeline's deploy stage releases tested code without manual steps.
  • To find performance bottlenecks across microservices, use X-Ray.
  • For AI help writing and understanding code, use Amazon Q Developer.