Getting started with CodeArtifact
In this getting started tutorial, you use CodeArtifact to create the following:
-
A domain called
my-domain. -
A repository called
my-repothat is contained inmy-domain. -
A repository called
npm-storethat is contained inmy-domain. Thenpm-storehas an external connection to the npm public repository. This connection is used to ingest an npm package into themy-reporepository.
Before starting this tutorial, we recommend that you review CodeArtifact AWS CodeArtifact concepts.
Note
This tutorial requires you to create resources that might result in charges to your
AWS account. For more information, see CodeArtifact pricing
Prerequisites
You can complete this tutorial using the AWS Management Console or the AWS Command Line Interface (AWS CLI). To follow the tutorial, you must first complete the following prerequisites:
-
Complete the steps in Setting up with AWS CodeArtifact.
-
Install the npm CLI. For more information, see Downloading and installing Node.js and npm
in the npm documentation.