#aws-codeartifact
The numbers:

✅ 14.9s average install vs 18.2s on npmjs.org (1.22× faster)
✅ fresh install, no lockfile: 15.9s vs 25.5s (1.60× faster)
✅ faster than every paid option we tested: JFrog 26.6s, GitHub Packages 41.3s, AWS CodeArtifact 50.6s, Cloudsmith 62.9s

/3
https://npmjs.org
npmjs.org
November 9, 2026 at 3:19 PM
ゼロデイ型サプライチェーン攻撃を自動ブロック!AWSの最新セキュリティ対策。

- 開発時:コードレビューで脆弱性特定
- パイプライン:依存関係を自動スキャン
- コンテナ:プッシュ前に悪意あるパッケージ排除

#AWS #セキュリティ
AWS Well-Architected フレームワークに基づくソフトウェアサプライチェーンセキュリティのベストプラクティス | Amazon Web Services ブログ
## 詳細情報 このトピックをさらに詳しく知るには、次のブログとワークショップを参照してください。 サプライチェーン攻撃への防御策: Chalk/Debug 侵害と Shai-Hulud ワームの対応事例から Amazon Inspector がトークンファーミングキャンペーンに関連する 15 万件以上の悪意ある npm パッケージを検出 最近の npm サプライチェーン攻撃への対応から AWS Security が学んだこと Amazon CodeArtifact パッケージグループ設定を使用してソフトウェアサプライチェーンのセキュリティを強化 Hands-on Worksho
aws.amazon.com
November 6, 2026 at 1:27 AM
2 AWS managed IAM policies updated: 344 actions added

Services: amplify, apigateway, appconfig, appsync, backup, bedrock-agentcore, bedrock, cloudformation, cloudtrail, cloudwatch, codeartifact, cognito-identity, dlm, dynamodb, ec2 (+17 more)

https://iamtrail.com/policies

#AWS #IAM #CloudSecurity
September 30, 2026 at 9:03 PM
"Direct-to-S3 Uploads with Pre Signed URLs: Eliminating Backend Bottlenecks" by Abdul Qadir

#amazon-s3 #aws-codeartifact #serverless
Direct-to-S3 Uploads with Pre Signed URLs: Eliminating Backend Bottlenecks
Stop routing large media payloads through your Node.js API servers. Learn how S3 pre signed URLs optimize performance, cut bandwidth costs, and keep your compute layer fast.
community.aws
September 2, 2026 at 7:00 PM
ウチ、CodeCommit は使ったことないから影響受けそうだけど使う予定もないからノーダメージです。ちょっと前に調べた CodeArtifact がビミョーだったイメージが強いので CodeXXX は個人的に印象悪い。

2024年7月27日時点におけるAWS CodeCommitとAmazon CloudSearchの新規利用に関して | DevelopersIO / https://dev.classmethod.jp/articles/aws-start-to-restrict-codecommit-and-cloudsearch/
2024年7月27日時点におけるAWS CodeCommitとAmazon CloudSearchの新規利用に関して | DevelopersIO
dev.classmethod.jp
July 28, 2024 at 7:35 AM
AWS CodeArtifact を使ってみたけどビミョー。
https://docs.aws.amazon.com/codeartifact/latest/ug/npm-auth.html#configure-npm-login-command
最大のビミョーポイントは12h有効な認可トークンを得るために aws cli が必須なこと。
開発メンバ全員がAWSに関わる仕事をしてるわけではないねん。
CI にも組み込みにくい。
July 9, 2024 at 12:11 PM
AWS Configが5つのAWSリソースタイプ(CodeArtifact::Domain等)のサポートを追加し、AWS環境の可視性と監査・修復能力を向上。全リソースタイプ記録が有効な場合、自動的に追跡。Config RulesとAggregatorsでも利用可能。

aws.amazon.com/about-aws/wh...
September 3, 2025 at 11:18 PM
We've added new CI/CD service emulation capabilities in recent versions of LocalStack, enabling fully local pipeline development and testing, including CodeBuild jobs, CodePipeline executions, and CodeArtifact repos. Viren Nadkarni shows how in this post.

blog.localstack.cloud/emulate-ci-c...
Emulate AWS CI/CD Services in LocalStack
Explore how the CI/CD service emulation capabilities in LocalStack allow fully local development and testing of pipelines including CodeBuild jobs, CodePipeline executions and CodeArtifact…
blog.localstack.cloud
August 14, 2025 at 1:50 PM
🚀 LocalStack 4.6.0 just dropped!

New in this release:
⚖️ CodeArtifact support
☁️ Kubernetes + Glue
⏱️ Faster AppSync
✨ CloudFront custom IDs
🪣 Upgrades to S3, CodeBuild, EFS, API Gateway

Details 🔗 blog.localstack.cloud/localstack-f...
Announcing the LocalStack for AWS 4.6 Release
LocalStack 4.6 is now available! This release introduces AWS CodeArtifact support for package management, Kubernetes execution for Glue jobs, dramatically improved AppSync JavaScript resolver…
blog.localstack.cloud
July 3, 2025 at 3:03 PM
AWS Developer/DevOps Services – Hands-On Lab Demos Master AWS DevOps! Hands-on labs for Cloud9, CodeBuild, CodeDeploy, GitHub, and CodeArtifact. ⏱️ Length: 3.5 total hours ⭐ 4.00/5 rating ...

#StudyBullet-24 #Free #Courses #IT #& #Software #Other #IT #& […]

[Original post on studybullet.com]
March 13, 2026 at 6:01 PM
Easily Publish Private Packages to AWS CodeArtifact via GitHub Actions Workflow
You can seamlessly publish private packages to AWS CodeArtifact using GitHub Actions. This guide walks you through: * **Phase 1** : AWS Console setup * **Phase 2** : GitHub Actions workflow to publish I’ve used the npm package for Node.js as an example in this article. This can be easily applied to other registries as well. ## ⚙️ Phase 1: Set Up AWS CodeArtifact (One-time setup) ### 1. Create a CodeArtifact Domain & Repository 1. Go to AWS CodeArtifact Console. 2. Create a **Domain** (e.g., `netflix`). 3. Inside that domain, create a **Repository** (e.g., `netflix-dev` or `netflix-prod`). You can also create one for dev and prod. ### 2. Create an IAM Role for GitHub OIDC Refer my previous blog on how to setup the base IAM role. Then, attach the following policies: * `AWSCodeArtifactAdminAccess` (or scoped-down custom policy) * `sts:AssumeRoleWithWebIdentity` ## 🤖 Phase 2: GitHub Actions Workflow Here's the minimal setup required to authenticate and publish your package. ### 🔐 1. Set AWS Credentials action step - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: arn:aws:iam::<account-id>:role/<role-name> role-duration-seconds: 3600 aws-region: us-east-1 role-session-name: github-actions-codeartifact ### 🔑 2. Setup AWS CodeArtifact & `.npmrc` This step creates a ⁠.npmrc file at the project root. Alternatively, you can create one at the home root by naming it ⁠~/.npmrc. - name: Setup AWS CodeArtifact run: | export CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token \ --domain cb-artifactory \ --domain-owner <account-id> \ --query authorizationToken \ --output text) export ARTIFACTORY_PUBLISH_URL=https://cb-artifactory-<account-id>.d.codeartifact.us-east-1.amazonaws.com/npm/<repository> echo "registry=$ARTIFACTORY_PUBLISH_URL/" > .npmrc echo "//$(echo $ARTIFACTORY_PUBLISH_URL | sed 's|https://||')/:_authToken=$CODEARTIFACT_AUTH_TOKEN" >> .npmrc ### 🚀 3. Publish Package Finally, publish the package. Nothing fancy. - name: Publish SDK run: npm publish Setting up a root registry file, such as an npmrc, will change the publish command for other registries. You can view the complete GitHub Action workflow here: 👉 GitHub Action Workflow Gist
forem.com
April 20, 2025 at 1:36 PM
Setting Up an Automated Java Build and Deployment Pipeline with AWS CodeArtifact
## **Introduction** In this guide, I will walk you through how I set up an EC2 instance to compile, package, and publish a Java-based Maven project to AWS CodeArtifact. This setup ensures a robust and reusable package management process in a cloud-native CI/CD pipeline. ## **Step 1: Setting Up the EC2 Instance** ### **1.1 Launching an EC2 Instance** I started by launching an **Amazon Linux 2023 t3.micro** EC2 instance with the following specifications: * **AMI:** Amazon Linux 2023 * **Instance Type:** t3.micro * **Storage:** 8 GB (default) * **Security Group:** Allowed SSH (port 22) and HTTP (port 80) ### **1.2 Connecting to the EC2 Instance** After launching the instance, I connected via SSH using: ssh -i my-key.pem ec2-user@<EC2-Public-IP> This provided direct access to the instance for software installation. ## **Step 2: Installing Java and Maven** Maven is required to build and manage Java projects, while Java is needed to run Maven-based applications. ### **2.1 Installing Java Amazon Corretto 8** Amazon Corretto 8 is a free, production-ready distribution of OpenJDK. I installed it with: sudo dnf install -y java-1.8.0-amazon-corretto-devel Then, I set environment variables to ensure Java was properly recognized: export JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64 export PATH=$JAVA_HOME/bin:$PATH To make this change permanent, I added the paths to `~/.bashrc`: echo 'export JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64' >> ~/.bashrc echo 'export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc I verified the installation with: java -version ### **2.2 Installing Maven 3.5.2** Maven 3.5.2 was required to build the Java web app. I downloaded and extracted it manually: wget https://archive.apache.org/dist/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz sudo tar -xzf apache-maven-3.5.2-bin.tar.gz -C /opt Then, I added it to my system PATH: echo "export PATH=/opt/apache-maven-3.5.2/bin:$PATH" >> ~/.bashrc source ~/.bashrc I confirmed Maven was installed by running: mvn -version ## **Step 3: Cloning and Configuring the Java Project** I initialized a Git repository on my EC2 instance and connected it to my GitHub repository: git init git remote add origin https://github.com/richardatodo/nextwork-web-project.git git pull origin main Inside the project directory, I ensured the required dependencies were defined in `pom.xml`: <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> Then, I built the project to verify everything was working: mvn compile ## **Step 4: Setting Up AWS CodeArtifact** ### **4.1 Creating a CodeArtifact Repository and Domain** Got it! I'll update the blog post to reflect that you created the **CodeArtifact domain and repository via the AWS Console** instead of using the AWS CLI. Here’s the revised section: ## **Step 4: Setting Up AWS CodeArtifact** I created the **CodeArtifact domain** and **repository** via the AWS Management Console: 1. **Navigate to AWS CodeArtifact:** * Open the **AWS Console** and go to **CodeArtifact**. 2. **Create a CodeArtifact Domain:** * Click **Create domain**. * Enter the **domain name** : `nextwork`. * Click **Create domain**. 3. **Create a CodeArtifact Repository:** * Click **Create repository**. * Enter the **repository name** : `nextwork-devops-cicd`. * Select the domain `nextwork`. * (Optional) Enable **Upstream repositories** if needed. * Click **Create repository**. ### **4.2 Configuring IAM Permissions** To allow EC2 to interact with CodeArtifact, I created an IAM policy: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "codeartifact:GetAuthorizationToken", "codeartifact:GetRepositoryEndpoint", "codeartifact:ReadFromRepository", "codeartifact:PublishPackageVersion", "codeartifact:PutPackageMetadata" ], "Resource": "*" }, { "Effect": "Allow", "Action": "sts:GetServiceBearerToken", "Resource": "*", "Condition": { "StringEquals": { "sts:AWSServiceName": "codeartifact.amazonaws.com" } } } ] } I attached this policy to an IAM role and associated it with my EC2 instance. ### **4.3 Generating an Authorization Token** To authenticate Maven with CodeArtifact, I generated a token and stored it in an environment variable: export CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token --domain nextwork --query authorizationToken --output text) ## **Step 5: Configuring Maven to Use CodeArtifact** I created a `settings.xml` file in my project directory: <settings> <servers> <server> <id>nextwork-nextwork-devops-cicd</id> <username>aws</username> <password>${env.CODEARTIFACT_AUTH_TOKEN}</password> </server> </servers> <profiles> <profile> <id>nextwork-nextwork-devops-cicd</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>nextwork-nextwork-devops-cicd</id> <url>https://nextwork-617439230997.d.codeartifact.us-east-1.amazonaws.com/maven/nextwork-devops-cicd/</url> </repository> </repositories> </profile> </profiles> </settings> ## Then, Run the Maven compile command, which uses the settings.xml file we just configured:: mvn -s settings.xml compile ## **Step 6: Publishing the Package to CodeArtifact** I updated my `pom.xml` to include `distributionManagement`: <distributionManagement> <repository> <id>nextwork-nextwork-devops-cicd</id> <url>https://nextwork-617439230997.d.codeartifact.us-east-1.amazonaws.com/maven/nextwork-devops-cicd/</url> </repository> </distributionManagement> Then, I deployed the package: mvn -s settings.xml deploy ## **Conclusion** This guide covered how I set up an AWS CodeArtifact repository, configured an EC2 instance to authenticate with it, and successfully deployed a Maven package. This process forms the foundation for integrating package management into a CI/CD pipeline, ensuring secure and scalable software delivery.
forem.com
March 14, 2025 at 8:13 PM
If you have been using Python Poetry for long time with a private package repository, then it is good to check the installed version of pkginfo.

github.com/python-poetr...

#python
poetry mishandles black dependencies when installed from private repository, but not when installed from PyPI · Issue #9318 · python-poetry/poetry
Description TL;DR The latest black release (24.4.0) is handled properly by poetry when installed from PyPI. When installed from a private repository (AWS CodeArtifact) which mirrors PyPI for non-in...
github.com
April 19, 2024 at 9:57 AM
AWS Config expands resource monitoring capabilities by adding support for five new resource types, including CodeArtifact Domain, Config ConformancePack, Glue Database, NetworkManager Transit Gateway Peering, and RolesAnywhere Trust Anchor.
AWS Config now supports 5 new resource types
AWS Config expands resource monitoring capabilities by adding support for five new resource types, including CodeArtifact Domain, Config ConformancePack, Glue Database, NetworkManager Transit Gateway Peering, and RolesAnywhere Trust Anchor.
aws-news.com
September 3, 2025 at 5:57 PM
This article details two methods for enhancing security in isolated JupyterLab environments within Amazon SageMaker Studio: configuring download restrictions and implementing secure Python package installation through AWS CodeArtifact.
Customizing isolated JupyterLab environments in Amazon SageMaker Studio
This article details two methods for enhancing security in isolated JupyterLab environments within Amazon SageMaker Studio: configuring download restrictions and implementing secure Python package installation through AWS CodeArtifact.
aws-news.com
June 3, 2025 at 4:22 PM
Maturity in design is knowing when to pick your battles
September 5, 2025 at 3:57 PM
I just developed a complex build system integrating docker, AWS codeartifact and AWS ECR with the help of Claude and Cursor. These tools are really transformative, particularly for people who know some programming.
February 8, 2025 at 5:59 PM