Skip to main content

DOP-C02 SDLC Automation

SDLC = Software Developer Life Cycle

Different tools for AWS CICD

  • AWS CodeCommit (git repo, deprecated)
  • AWS CodePipeline (the overal workflow controller for CICD)
  • AWS CodeBuild (building and testing)
  • AWS CodeDeploy (deployment tool)
  • AWS CodeStar (software development activities in one place)
  • AWS CodeArtifact (repo to store compiled packages/artifacts)
  • AWS CodeGuru (AI tool for code review)

AWS CodePipeline

  • CICD orchestraction
  • visual workflow
  • controls codes from source, build, test, deploy, and invoke, with possible manual approval defined at any stage
  • each stage builds and puts artifacts into S3, and pass to next stage
  • CloudWatch Events (Amazon EventBridge) used for event triggering
    • falied pipeline? cancelled stages? etc
  • stops when a stage fails
  • IAM permission and service role configuration are used for authorization
  • AWS CloudTrail used for AWS API call audits
  • Events vs. Webhooks vs. Polling
  • Manual approval: SNS -> email -> IAM user
  • CloudFormation Deploy Action -> deploy AWS resources
    • CREATE_UPDATE, DELETE_ONLY
  • Best practices