服务 · Developer Tools
AWS CodePipeline
Stages and actions that take a change from source to deployment, with approvals and triggers.
本课尚未翻译,暂以英文显示。
- 1A commit starts the pipeline.
- 2CodeBuild builds and tests the change.
- 3A person approves, and CodeDeploy rolls it out.
分步说明
- 1A commit starts the pipeline.
- 2CodeBuild builds and tests the change.
- 3A person approves, and CodeDeploy rolls it out.
A typical ML delivery pipeline.
Pipeline does not start
- No trigger, or polling off after 30 idle days
Source action fails
- Connection still pending approval
Access denied in an action
- Pipeline or action role is missing permissions
Cross-account deploy fails
- Artifact key not shared with the account
Stage waits for ever
- Approval not given, or times out
| Symptom | Likely cause |
|---|---|
| Pipeline does not start | No trigger, or polling off after 30 idle days |
| Source action fails | Connection still pending approval |
| Access denied in an action | Pipeline or action role is missing permissions |
| Cross-account deploy fails | Artifact key not shared with the account |
| Stage waits for ever | Approval not given, or times out |
1 / 2
Pipeline does not start
- No trigger, or polling off after 30 idle days
Source action fails
- Connection still pending approval
Access denied in an action
- Pipeline or action role is missing permissions
Cross-account deploy fails
- Artifact key not shared with the account
| Symptom | Likely cause |
|---|---|
| Pipeline does not start | No trigger, or polling off after 30 idle days |
| Source action fails | Connection still pending approval |
| Access denied in an action | Pipeline or action role is missing permissions |
| Cross-account deploy fails | Artifact key not shared with the account |
2 / 2
Stage waits for ever
- Approval not given, or times out
| Symptom | Likely cause |
|---|---|
| Stage waits for ever | Approval not given, or times out |
是什么
AWS CodePipeline runs a release as stages, and each stage holds actions: source, build, test, deploy, approval or invoke. Actions pass files as artifacts through an Amazon S3 bucket. A stage runs one execution at a time. By default a newer change supersedes an older one that is waiting. A manual approval action pauses the pipeline until a person approves, and it can notify through Amazon SNS. Add one before a production deploy.
是什么
The source can be Amazon S3, Amazon ECR or a Git repository. AWS CodeConnections (formerly CodeStar Connections) links GitHub, GitLab and Bitbucket. An EventBridge rule or a Git webhook starts the pipeline. A V2 pipeline can filter pushes and pull requests by branch, Git tag and file path, and can use pipeline variables. AWS CodeArtifact holds private packages that a build pulls. Status (checked November 25, 2026): AWS CodeCommit closed to new customers in July 2024 and reopened in November 2025, and its availability has changed more than once, so check your account.
是什么
Cross-account delivery needs an assumable role in the target account and a customer managed AWS KMS key for the artifact bucket, shared with that account. Most failures come from roles, keys or connections, not from the code.
要记住
- Pipeline, stages, actions. Action types: source, build, test, deploy, approval, invoke.
- Artifacts move through an S3 bucket. Manual approval pauses a pipeline.
- CodeConnections links GitHub, GitLab and Bitbucket. It was named CodeStar Connections.
- EventBridge or webhooks start a pipeline. V2 adds tag and file-path filters.
要记住
- Cross-account needs a role and a customer managed KMS key.
- CodeCommit availability has changed. Check it before relying on it.
考试中
- “Pause before production until a person agrees” points to a manual approval action.
- “Pipeline source is a GitHub repository” points to AWS CodeConnections.
- “Deploy into another account and the artifact cannot be decrypted” points to a shared customer managed KMS key.
- “Pipeline stopped starting after a month of no commits” points to polling disabled after 30 days. Use event-based change detection.
本任务内容 · 3.3
- Deployment strategies and rollback
CodePipeline
CodeBuild
CodeDeploy
SageMaker Pipelines
- Automated testing in ML pipelines
- Triggering retraining
Model Registry
Prompt Management
- Agent deployment pipelines and versions
- AI model and prompt testing
- Automating FM deployment and fine-tuned model versions
- RAG update and knowledge base refresh pipelines
Step Functions