Create a pipeline

Create a CI/CD pipeline with CodePipeline

  1. We will create CodePipeline using the AWS CloudFormation tool.
  • Please download the CloudFormation template file here. (the browser will automatically download the code_pipeline_fcj.yml file to your computer).
  1. In the AWS Console interface
  • Search for CloudFormation
  • Select CloudFormation

Create Code Pipeline

  1. In the CloudFormation interface
  • Select Stacks
  • Select Create stack
  • Select With new resources (standard)

Create Code Pipeline

  1. In the Create stack interface
  • Select Template is ready
  • Select Upload a template file
  • Select Choose file
  • Select the downloaded CloudFormation template file. For example code_pipeline_fcj.yml
  • Select Next

Create Code Pipeline

  1. In the Stack name section, enter Eks-stack
  • User name, enter your Github Account name
  • Enter the created Access token
  • Enter the Repository name

Create Code Pipeline

  1. Next, fill in the following information:
  • Enter Branch
  • Enter the EksCluster name
  • Enter EksDeployment
  • Enter EksNamespace
  • Select Next

Create Code Pipeline

  1. Scroll down to the bottom of the page and select Next

Create Code Pipeline

  1. Scroll down to the bottom of the page and select Submit

Create Code Pipeline

  1. Complete creating the stack

Create Code Pipeline

  1. In the AWS Console interface
  • Search for CodePipeline
  • Select CodePipeline

Create Code Pipeline

  1. CI/CD process

Create Code Pipeline

  1. The CI/CD process completes when it changes to the Succeeded state

Create Code Pipeline