Create a pipeline

Create a CI/CD pipeline with CodePipeline

  1. We will create a CodePipeline using the AWS CloudFormation engine.

Create Code Pipeline

  1. In the AWS Console
  • Find 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. Example code_pipeline_fcj.yml
  • Select Next

Create Code Pipeline

  1. In the Stack name section, enter Eks-stack

Create Code Pipeline

  1. Next, fill in the following information:
  • User name, enter the name Github Account
  • Enter Access token created
  • Enter the name Repository
  • Enter Branch
  • Enter the name EksCluster
  • Enter EksDeployment
  • Enter EksNamespace
  • Select Next

Create Code Pipeline

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

Create Code Pipeline

  1. Scroll to the bottom of the page and select Create stack

Create Code Pipeline

  1. Complete stack creation

Create Code Pipeline

  1. In the AWS Console
  • Find CodePipeline
  • Select CodePipeline

Create Code Pipeline

  1. CI/CD . Process

Create Code Pipeline

  1. CI/CD process completes when entering Succeeded state

Create Code Pipeline