What is AWS CodeArtifact?
AWS CodeArtifact is a fully managed artifact repository service that makes it easy for organizations to securely store, publish, and share software packages used in their application development process.
Key Concepts
1. Package Management
- Supports popular package managers like Maven, Gradle, npm, yarn, pip, and twine.
- Acts as a proxy to public repositories (npm registry, Maven Central, PyPI).
2. Security
- Keeps your development dependencies secure within your VPC.
- Controls access via IAM.
Exam Tips
[!IMPORTANT] "Private repository for software packages / dependencies": The answer is AWS CodeArtifact.
[!TIP] Think "Artifacts" = "Libraries/Packages". If you need to share code libraries across teams securely, use CodeArtifact.
Common Use Cases
- Dependency Management: caching public npm/pip packages to prevent "left-pad" incidents or downtime.
- Internal Sharing: Sharing private libraries between different teams in an organization.