Skill 1.1.1
Configuring code, image, and artifact repositories
Key Concepts
Source code usually lives in GitHub, GitLab or Bitbucket, connected to AWS through CodeConnections (formerly CodeStar Connections), which authorises AWS to receive webhooks and clone the repository. AWS CodeCommit, which returned to general availability for new customers in November 2025, is an AWS-hosted alternative. Amazon S3 can also act as a source when a versioned zip file is uploaded.
Container images belong in Amazon ECR, with image scanning, tag immutability and lifecycle policies. Language packages (npm, PyPI, Maven) belong in AWS CodeArtifact. CodePipeline itself stores the artifacts passed between stages in an S3 artifact bucket, encrypted with KMS.