Follow a Change From Source to Running Software
A source file, a build artifact and a running application are different things. Source is the editable input. An artifact is a produced output, such as a packaged application. Deployment makes a selected version available in an environment.
Continuous integration brings changes together and checks them frequently. Continuous delivery keeps changes ready for release through a repeatable process; it can still include an approval before production. Do not assume the phrase means every commit must immediately reach customers.
Read the Two Flows

The green area follows a release. CodePipeline coordinates stages, and CodeBuild can run a build or test action within them. A versioned output then proceeds through the configured release actions and gates.
The blue area is runtime evidence. An instrumented application sends trace data about requests to X-Ray. It is not sending its source package to X-Ray for deployment. The dashed arrow distinguishes telemetry from the release flow.
Build and Coordinate
CodeBuild provides managed build environments that run configured commands, tests and artifact production. It removes the need to maintain a build server for that job. The team still supplies meaningful commands and tests; an empty or incorrect test suite can pass without proving useful behaviour.
CodePipeline models and automates stages in the release process. It can coordinate supported actions from AWS and other integrations. It does not replace source control, application code or every tool used inside the stages. A pipeline's success means its configured actions succeeded, not that every possible customer journey was checked.
| Question | Relevant role |
|---|---|
| Who runs the compilation and test commands? | A build service such as CodeBuild |
| Who coordinates source, build and release stages? | CodePipeline |
| Where did a live request spend time? | Tracing evidence such as X-Ray |
| Is the business result correct? | Application tests and operational verification |
Trace Running Requests
X-Ray collects trace data to help investigate application requests and downstream calls. A trace can reveal which participating operation contributed latency or returned an error. It complements logs and metrics; it does not automatically contain every request or every dependency.
Instrumentation and sampling determine the evidence available. A missing trace is not proof that no request occurred. AWS currently recommends OpenTelemetry-based instrumentation; its X-Ray SDK/daemon maintenance guidance should not be mistaken for retirement of the X-Ray service.
Work Through a Search Fix
A team changes the search page to handle an empty search term. The change enters source control, and the build runs an explicit test for that case. A selected artifact passes through the release process.
After release, users report slow searches for common terms. The original test checked an empty input, not performance under those conditions. The team now needs runtime evidence. A trace may show time spent in a downstream call; build logs alone describe what happened during the build, not that user's request.
The team checks the affected version, time window and operation before making a fix. A green pipeline badge does not contradict the report: it says the configured checks passed. The checks may need improvement after the cause is understood.
Keep Automation Deliberate
A release process needs appropriate permissions for each action. Credentials should not be printed into build logs or embedded in source. Approval and rollback choices should fit the risk of the application.
At this level, you need to recognize the roles and their evidence. You do not need to create a pipeline, run a paid build or instrument a live application to complete the lesson.
Check Your Understanding
A developer wants to understand which downstream call slowed a live request. The build completed successfully earlier. Should the developer treat CodeBuild's success as the answer?
Answer and Reasoning
No. Build success concerns configured build-time work. Runtime tracing such as X-Ray can provide evidence about participating calls in the live request, subject to instrumentation and sampling. CodePipeline coordinates releases rather than proving every request is fast. The next step is to inspect relevant runtime evidence, not simply rerun a passing build.
References
- S05: Content Domain 3: Cloud Technology and Services.
- S08: In-Scope AWS Services.
- S197: AWS CodeBuild overview.
- S198: AWS CodePipeline overview.
- S199: Continuous delivery and integration.
- S200: AWS X-Ray overview.
- S201: X-Ray instrumentation migration guidance.
Service references checked on 25 September 2026. No AWS resources are required for this lesson.