ladderlore
  • S3 や IAM などのサービス名を入力してください。

サービス · デベロッパーツール

AWS CodePipeline

Automates the steps to release software, so every code change is built, tested and deployed the same way.

このレッスンはまだ翻訳されていないため、英語で表示しています。

A developer pushes code
CodePipeline
CodeBuild
Manual approval
Elastic Beanstalk
  1. 1A developer pushes a change to the code repository. CodePipeline detects it and starts a run.
  2. 2The build stage runs CodeBuild to compile the code and run the tests.
  3. 3If the tests pass, the pipeline waits for a person to approve the release.
  4. 4The deploy stage releases the new version, here to Elastic Beanstalk. Amazon ECS or Amazon S3 work too.
One run of a pipeline, from a code change to a new release.

流れ

  1. 1A developer pushes a change to the code repository. CodePipeline detects it and starts a run.
  2. 2The build stage runs CodeBuild to compile the code and run the tests.
  3. 3If the tests pass, the pipeline waits for a person to approve the release.
  4. 4The deploy stage releases the new version, here to Elastic Beanstalk. Amazon ECS or Amazon S3 work too.

One run of a pipeline, from a code change to a new release.

  • CodePipeline

    What it does
    Runs every step of a release, from a code change to deployment
    Clue in a question
    Continuous delivery, release pipeline
  • CodeBuild

    What it does
    Compiles code, runs tests and builds packages
    Clue in a question
    Build and test code with no build servers
  • X-Ray

    What it does
    Traces requests through a running application
    Clue in a question
    Find the slow or failing part of a distributed app
  • CloudFormation

    What it does
    Creates AWS resources from a template
    Clue in a question
    Infrastructure as code, repeatable environments
  • CLI

    What it does
    Runs AWS commands from a terminal or a script
    Clue in a question
    Automate tasks from the command line
Tools to develop, deploy and troubleshoot applications, and the clue that points to each.

1 / 3

  • CodePipeline

    What it does
    Runs every step of a release, from a code change to deployment
    Clue in a question
    Continuous delivery, release pipeline
  • CodeBuild

    What it does
    Compiles code, runs tests and builds packages
    Clue in a question
    Build and test code with no build servers

2 / 3

  • X-Ray

    What it does
    Traces requests through a running application
    Clue in a question
    Find the slow or failing part of a distributed app
  • CloudFormation

    What it does
    Creates AWS resources from a template
    Clue in a question
    Infrastructure as code, repeatable environments

3 / 3

  • CLI

    What it does
    Runs AWS commands from a terminal or a script
    Clue in a question
    Automate tasks from the command line
Tools to develop, deploy and troubleshoot applications, and the clue that points to each.

概要

AWS CodePipeline is a fully managed continuous delivery (CD) service. You model your release process as a pipeline made of stages, such as source, build, test and deploy. Each time someone changes the code, the change moves through the stages automatically.

Each stage hands the work to a tool. The source stage watches a repository, such as GitHub or Amazon S3. The build stage often uses AWS CodeBuild. The deploy stage can release to AWS Elastic Beanstalk, Amazon ECS, Amazon S3 or AWS CloudFormation. A manual approval step can stop a release until a person agrees.

概要

Because every change follows the same path, releases are faster and more consistent, with fewer human mistakes. The console shows where each change is and which stage stopped it.

覚えること

  • Continuous delivery: every change is built, tested and deployed automatically.
  • Typical stages: source, build, test, approval and deploy.
  • CodePipeline orchestrates. Tools such as CodeBuild do the work inside each stage.
  • A manual approval can pause a release before it reaches production.

覚えること

  • Fully managed: no servers to run for the pipeline.

試験では

  • “Automate the build, test and deployment of every code change” or “continuous delivery” points to AWS CodePipeline.
  • “Compile code and run unit tests” on its own points to AWS CodeBuild.