CodePipeline
AWS CodePipeline is a fully managed continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates.

Working with CodePipeline: https://wiki.sgt-dev.space/6580fcfda2928a2b6cc464ad
Pricing
With AWS CodePipeline, there are no upfront fees or commitments.
- For V1 type pipelines: You pay $1.00 per active pipeline (a pipeline that has existed for more than 30 days and has at least one code change that runs through it during the month) per month. There is no charge for pipelines that have no new code changes running through them during the month. An active pipeline is not prorated for partial months. Pipelines are free for the first 30 days after creation.
- For V2 type pipelines: You pay $0.002 per action execution minute. Action execution duration is calculated in minutes, from the time an action in your pipeline starts executing until that action reaches a completion state, rounded up to the nearest minute. You are charged for all action types except for manual approval and custom action types.
- Additional charges: charges for storing and accessing your pipeline artifacts in Amazon S3 and for triggering actions from other AWS and third-party services. #### Examples:
-
Only V1 pipelines: 100 active V1 type pipelines in a month:
``` (100 (# of V1 active pipelines) - 1 (from AWS Free Tier)) * $1.00 = $99.00
-> Total for month = $99.00 ``` 2. Only V2 pipelines:
Let’s say you have 2 V2 type pipelines and no V1 type pipeline in a 30-day month. One of the V2 type pipeline has three stages - Source stage has one source action, Build stage has a single CodeBuild action, Test stage has three parallel CodeBuild actions. The other V2 type pipeline has 10 actions across 4 different stages (not manual approval or custom action type), and had 10 pipeline executions with each action taking 1 minute to complete.
V2 pipeline type charge Pipeline 1 = 10 (# of pipeline executions) * 5 (# of actions in the pipeline) * 2 (duration of each action execution) = 100 action execution minutes Pipeline 2 = 10 (# of pipeline executions) * 10 (# of actions in the pipeline) * 1 (duration of each action execution) = 100 action execution minutes -> Total for month = (200 - 100 (from AWS Free Tier)) * $0.002 = $0.20
In my own opinion
- With development/testing stage: should use V1 pipeline because during the development and testing process, the code will be continuously updated and redeployed, so the total time the codedeploy works will be quite a lot. So if you use V2 pipeline and pay according to execution time, the cost can be very high
- With production stage: should use V2 pipeline because only when released or occasionally minor bug fixes are needed, execution time is negligible -> saves costs