AWS DevOps Pro Certification Blog Post Series: Code Pipeline

Mark Sta Ana - Apr 11 '19 - - Dev Community

Photo by Victor Garcia on Unsplash

Caveat emptor

Using AWS costs money, some of these services may not be part of the AWS Free Tier. You can keep costs down by tearing down anything you've created whilst learning, but it's still possible to run up a hefty bill so pay attention to the instances you setup!

I'm very lucky to be able to use my employer's AWS account. You should ask your place of work if a similar arrangement can be made as part of your study.

Velocius quam asparagi conquantur

The format of the blog posts is liable to change as I try to refine my mental model of each domain, so be sure to revisit the blog posts on a regular basis.

What?

CodePipeline is continuous delivery service that can be used to orchestrate the various services required to release software automatically: CodeCommit, CodeBuild and CodeDeploy.

Why?

Whilst it is possible to trigger CodeComit, CodeBuild and CodeDeploy manually, CodePipeline will do this for you automatically (via CloudWatch Events)

When?

CodePipeline
+---------------------------------------+
|                                       |
| CodeCommit -> CodeBuild -> CodeDeploy |
|                                       |
+---------------------------------------+
Enter fullscreen mode Exit fullscreen mode

How?

TODO: going to revisit the previous blog posts for CodeCommit, CodeBuild and CodeDeploy to have a lab that spans these posts.

API and CLI features and verbs

Features

  • Pipelines
  • Custom Action Type
  • Webhooks

Verbs (CRUD)

  • create/register
  • get/list
  • update/put
  • delete

Outliers

  • acknowledge-job
  • acknowledge-third-party-job
  • disable-stage-transition
  • enable-stage-transition
  • get-job-details
  • get-pipeline-execution
  • get-pipeline-state
  • get-third-party-job-details
  • list-action-executions
  • list-action-types
  • list-pipeline-executions
  • poll-for-jobs
  • poll-for-third-party-jobs
  • put-action-revision
  • put-approval-result
  • put-job-failure-result
  • put-job-success-result
  • put-third-party-job-failure-result
  • put-third-party-job-success-result
  • retry-stage-execution
  • start-pipeline-execution

To go to the next part of the series, click on the grey dot below which is next to the current marker (the black dot).

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player