---
title: "Getting Started with Alpine Linux and Cloudsmith | Cloudsmith"
description: "How to get set up and started with your own private, secure repository for Alpine Linux Packages on Cloudsmith"
canonical_url: "https://cloudsmith.com/blog/getting-started-with-alpine-linux-and-cloudsmith"
last_updated: "2020-08-06T00:00:00.000Z"
---
# Getting Started with Alpine Linux and Cloudsmith | Cloudsmith

[Dependency confusion](https://cloudsmith.com/blog/dependency-confusion-attacks) is a software supply chain weakness that arises from how package managers resolve dependencies across multiple sources.

It does not rely on complex exploits. It relies on normal dependency resolution.

If a build resolves from both private and public registries, and a public package shares the same name as an internal dependency, the public package may be selected. That is sufficient to introduce unintended code into a build.

Modern dependency trees often include extensive transitive dependencies, increasing the number of automatic resolution decisions made during builds.

The issue was [widely documented in 2021 ](https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610)when researchers demonstrated it against more than 35 large organizations by publishing public packages that matched internal names. Since then, dependency confusion has remained a known and preventable risk in modern build systems.

## Where risk appears in practice

Modern builds commonly blend:

- Internal packages
- Public open source dependencies
- Upstream proxies
- Cached artifacts

If resolution rules are not explicit, package managers make decisions on your behalf.

Different ecosystems provide different structural protections and different pitfalls.

### Ecosystem specific considerations

#### Python

PyPI operates on a flat global namespace. There are no built-in organizational scopes and no domain bound identifiers. Package names are globally unique and first come, first served.

This means internal package names, for example acme utils or internal ml core, are structurally indistinguishable from public ones unless additional controls are applied.

Python projects frequently configure multiple indexes. It is common to see:

- Internal private mirrors
- Vendor-hosted repositories such as PyTorch wheel indexes for CUDA builds
- Regional mirrors
- Index url combined with extra index url

Python tooling such as pip, uv, and Poetry evaluates candidate versions across configured sources. If the same package name exists in more than one index, the resolver may select the highest compatible version, regardless of origin.

Real-world incidents demonstrate this behavior. [In 2022, a malicious package mimicking a PyTorch dependency](https://www.reversinglabs.com/blog/pytorch-supply-chain-attack-dependency-confusion-burns-devops) was published to PyPI and installed via pip resolution during nightly builds, leading to data exfiltration before detection.

Without explicit trust boundaries or source mapping, this multi index behavior introduces ambiguity. If an internal package name is exposed and a higher version appears on a public index included in resolution, the public package may be selected.

Python’s flat namespace model, combined with common multi index configurations, makes careful source control particularly important.

#### npm

npm supports scoped packages using the @org/package format. Once registered, a scope is controlled by that organization.

However, unregistered scopes remain claimable. If an organization uses scoped internal packages but has not reserved the scope publicly, an attacker could register it and publish similarly named packages, for example @org/app. A configuration mistake in development or CI could then result in the malicious package being resolved and executed, including via lifecycle hooks such as preinstall.

Unscoped internal package names carry exposure similar to Python.

#### Maven

Maven Central uses domain-based groupId verification, providing stronger ownership guarantees when correctly configured.

However, inconsistent repository usage or additional repositories can reintroduce ambiguity in resolution order if trust boundaries are not clearly defined.

#### NuGet

While NuGet supports ID prefix reservation to prevent public name squatting, resolution ambiguity can still arise if multiple feeds are configured.

**Key safeguards include:**

- ID prefix reservationReserve your organization’s package ID prefix on nuget.org to prevent public impersonation.
- Package Source Mapping Use NuGet 6+ source mapping to bind specific package IDs or prefixes to a single trusted feed.
- Strict nuget.config configurationClear default feeds and explicitly define approved sources to prevent unintended restores.
- Signature enforcementNuGet repository signing using X.509 certificates. When signature verification is enforced in the NuGet or .NET CLI, consumers can verify that a package originated from the expected repository and has not been tampered with.

#### Docker

Docker Hub differs from language ecosystems because image references are typically registry qualified, making classic multi-source confusion less common.

However, **related risks remain:**

- Implicit Docker Hub fallback when no registry is specified
- Unregistered namespace squatting
- Mutable tags such as latest

These are mitigated through fully qualified image references, namespace reservation, digest pinning using SHA256, and image signing.

## A layered mitigation approach

Preventing dependency confusion does not require dramatic changes to developer workflows. It requires clear trust boundaries in how dependencies are resolved.

In practice, this is implemented through an internal artifact repository that controls how dependencies are proxied, cached, and resolved.

Key elements include:

- Centralizing dependency resolution
- Defining explicit upstream trust
- Controlling namespace ownership
- Using lockfiles and reproducible builds
- Enforcing artifact signing and verification

### 1. Central artifact repository

Route all builds through a central artifact repository that acts as the single source of truth for dependencies. Public packages should be proxied and cached internally rather than resolved directly from the internet.

### 2. Define upstream trust

Explicitly distinguish between trusted and untrusted sources.

Cloudsmith provides upstream trust controls that allow repositories to designate upstream sources accordingly and control how packages are blended during resolution. If a package exists in a trusted source, it cannot be overridden by an untrusted one.

Cloudsmith’s Upstream Trust currently supports:

- Python
- Maven
- npm

Support for additional ecosystems is expanding. In addition to source trust controls, policy enforcement provides another layer of protection. [Cloudsmith’s Enterprise Policy Manager](https://cloudsmith.com/product/enterprise-policy-manager) allows organizations to define rules around what packages are permitted, including conditions based on vulnerability data, malware data, version constraints, or upstream origin. This enables teams to combine resolution boundaries with policy-based controls.

### 3. Reserve namespaces

Where supported:

- Use npm scopes
- Reserve NuGet ID prefixes
- Use domain based Maven group IDs

Namespace ownership significantly reduces collision risk.

### 4. Use lockfiles

Lockfiles improve determinism, traceability, and visibility into unexpected changes. They do not eliminate dependency confusion, but they reduce instability and make tampering easier to detect.

### 5. Require signing

Signing adds cryptographic integrity to artifacts.

Cloudsmith signs hosted packages by default. Cloudsmith supports both native and non-native signing across package formats, including native signing for [Docker, NuGet, and Swift](https://cloudsmith.com/blog/native-signing-support-in-cloudsmith-extended-to-docker-nuget-and-swift). Signature validation workflows in supported ecosystems provide an additional verification layer if substitution is attempted.

Signing strengthens integrity guarantees but does not replace resolution controls.

## Conclusion

Dependency confusion is not a sophisticated exploit. It is a consequence of ambiguous resolution behavior across multiple sources.

Preventing it requires:

- A central artifact repository serving as the single source of truth for dependencies
- Explicit upstream trust boundaries
- Namespace ownership
- Lockfiles and reproducible builds
- Artifact signing and verification

Clear boundaries remove ambiguity. Removing ambiguity removes the attack path.

  
Stop leaving your build integrity to chance. [**Book a demo**](https://cloudsmith.com/book-a-demo) today to see how Cloudsmith's enterprise-grade repository controls can remove ambiguity and harden your delivery process.

**TL;DR:** LLMOps is the operational framework for managing the lifecycle of Large Language Models (LLMs). Unlike DevOps, which focuses on deterministic code, **LLMOps artifact management** must handle probabilistic assets like prompts, embeddings, and fine-tuned models. This shift requires a move from standard CI/CD to specialized **LLM pipeline management** to ensure system traceability and trust.

## What is LLMOps?

**LLMOps (Large Language Model Operations)** is a specialized set of practices for automating and managing the end-to-end lifecycle of LLM-powered applications. It extends MLOps principles to address the unique requirements of generative AI, specifically focusing on **LLM lifecycle management**, prompt engineering, and vector-based data flows.

While DevOps focuses on application code and MLOps on traditional machine learning models, **LLMOps** handles the massive complexity of:

- **Foundation and fine-tuned models:** Managing base models and their task-specific variants.
- **Prompt artifacts:** Versioning the system instructions that dictate model behavior.
- **Embeddings and vector indexes:** Curating the "knowledge" used in Retrieval-Augmented Generation (RAG) systems.
- **Dynamic inference behavior:** Monitoring outputs that change even when input code remains the same.

In essence, LLMOps is about operationalizing AI rather than just software binaries.

## LLMOps vs DevOps: Why the difference matters

The debate of **LLMOps vs DevOps** isn't about choosing one over the other; it’s about understanding where **DevOps tooling limitations for AI** begin. DevOps is built for deterministic systems; if you deploy the same code, you get the same result. LLM pipelines are probabilistic, meaning the same "code" (prompt) can yield different outputs.

```json
{
  "_key": "5a4b45476f69",
  "_type": "tableBlock",
  "caption": "LLMOps vs DevOps",
  "firstRowIsHeader": true,
  "markDefs": null,
  "table": {
    "rows": [
      {
        "_key": "d673a428-3c6a-49c3-87fa-b7dfdff2ec98",
        "_type": "tableRow",
        "cells": [
          "Category",
          "DevOps",
          "LLMOps"
        ]
      },
      {
        "_key": "453e4f7a-37ed-4c9c-8bd9-1610932f52de",
        "_type": "tableRow",
        "cells": [
          "Primary focus",
          "Application code and services",
          "Large language models and AI systems"
        ]
      },
      {
        "_key": "8bef99c7-76e1-4dc0-81f3-8f96bc8be683",
        "_type": "tableRow",
        "cells": [
          "Pipeline type",
          "Linear CI/CD pipelines",
          "LLM pipelines (training, fine-tuning, evaluation)"
        ]
      },
      {
        "_key": "30efc20f-d752-4f94-b718-b4bac0e30ace",
        "_type": "tableRow",
        "cells": [
          "Artifact types",
          "Software artifacts (containers, binaries)",
          "AI artifacts (models, prompts, embeddings)"
        ]
      },
      {
        "_key": "30be9c5f-912a-4b10-b7ba-8a3d3b594016",
        "_type": "tableRow",
        "cells": [
          "Behavior",
          "Deterministic and reproducible",
          "Probabilistic and context-dependent"
        ]
      },
      {
        "_key": "17362cff-191b-4f7a-9c4a-3c2b2a8be477",
        "_type": "tableRow",
        "cells": [
          "Change frequency",
          "Deliberate versioning",
          "Rapid iteration of prompts and datasets"
        ]
      },
      {
        "_key": "b1fc02b1-3d99-4d38-aa79-6a8215086984",
        "_type": "tableRow",
        "cells": [
          "Traceability",
          "Moderate (log-based)",
          "Critical (lineage-based for compliance)"
        ]
      }
    ]
  }
}
```

The core takeaway is that the shift from **DevOps artifact management** to **AI artifact management** involves handling much larger, more volatile assets that directly influence the "logic" of the application.

## Why artifact management matters in LLMOps

In a traditional app, an artifact is just a compiled file. In AI, **artifacts are the system.** Without robust **artifact management for LLMs**, teams face a "black box" problem where they cannot explain why a model suddenly began hallucinating or failing.

**Effective AI artifact management solves for:**

- **Reproducibility:** Re-creating a specific model state using exact dataset snapshots.
- **Auditability:** Tracking the lineage of a prompt to meet emerging AI regulations.
- **Rollback safety:** Quickly reverting to a previous "known good" version of a prompt or embedding index.
- **Cost efficiency:** Preventing redundant training by reusing existing **model artifacts**.

## What artifacts do LLM pipelines produce?

Modern **LLM pipeline management** generates a diverse array of non-code assets across the **AI model lifecycle**. Understanding these is key to moving beyond simple script-based deployments.

#### Common LLM artifacts:

- **Model artifacts:** These include base foundation models (like Llama 3 or GPT-4), fine-tuned adapters (LoRA/QLoRA), and quantized versions for edge deployment.
- **Dataset versioning:** Snapshots of training data, evaluation sets (Golden Sets), and synthetic data used for testing.
- **Prompt artifacts:** Versioned system prompts, few-shot examples, and complex prompt chains that function as the "new source code."
- **Embeddings management:** Vector database snapshots and the specific embedding models (e.g., Ada, BERT) used to generate them.
- **Inference artifacts:** Production logs, "LLM-as-a-judge" evaluation scores, and human-in-the-loop feedback.

## MLOps vs LLMOps: Where traditional approaches fall short

Many teams assume their existing MLOps stacks can handle LLMs. However, **MLOps vs LLMOps** highlights a critical gap: **prompt versioning.** Traditional MLOps tools aren't built to treat a 50-word text string (a prompt) as a deployment-critical artifact. Furthermore, the **inference artifacts** in LLMOps are much richer, requiring semantic monitoring rather than just simple accuracy metrics.

#### Feature store vs Artifact repository

A common point of confusion is the choice between a **feature store vs artifact repository**:

- **Feature stores** are for structured data used in tabular ML.
- **Artifact repositories** (like weights and biases or MLflow) are the "System of Record" for the unstructured models and prompts that define an LLM app.

## Challenges and best practices for LLMOps

Managing these assets comes with significant **challenges of artifact management in LLMOps**, including massive file sizes and the high velocity of prompt changes.

#### LLMOps best practices:

- **Treat prompts as code:** Store prompts in version-controlled repositories, not hardcoded in your app.
- **Centralize your artifact registry:** Use a single source of truth for all models and embeddings to avoid "shadow AI" across teams.
- **Automate lineage tracking:** Ensure every inference result is traceable back to the specific model version, prompt, and dataset used.
- **Implement evaluation gates:** In your **LLM workflows**, never promote an artifact to production without passing an automated evaluation suite.

## FAQ: Frequently asked questions on LLMOps

- ### How is LLMOps different from DevOps?

LLMOps manages probabilistic AI assets like models and prompts, while DevOps manages deterministic code and binaries. LLMOps requires specialized pipelines for evaluation and fine-tuning that don't exist in traditional CI/CD.

- ### Why does artifact management matter in LLMOps?

It ensures that every AI output is traceable and reproducible. Without it, you cannot debug hallucinations, comply with AI audits, or reliably roll back failed updates.

- ### What are the most important LLMOps workflows?

Key workflows include data ingestion for RAG, automated prompt evaluation, model fine-tuning, and continuous monitoring of inference quality.

## Final thoughts

The future of software is no longer just about code; it’s about **artifacts, intelligence, and trust.** As LLMs move from experiments to core infrastructure, the transition from DevOps to LLMOps is inevitable.

Teams that master **artifact management for LLMs** today will be the ones building the most reliable, scalable, and auditable AI systems of tomorrow.

To manage LLMOps at enterprise scale, use Cloudsmith as your single source of truth. Discover how by [booking your free demo](https://cloudsmith.com/book-a-demo) today.



**Cloud migration** is rarely just an infrastructure move. For most DevOps and platform teams in 2026, it’s a once-in-a-decade opportunity to rethink tooling, eliminate legacy bottlenecks, and modernize the [**software supply chain**](https://cloudsmith.com/product/software-supply-chain-security) end-to-end. One of the most overlooked, but highest-impact, areas to revisit during this transition is **artifact management**.

As organizations shift workloads and security controls into the cloud, the limitations of [**legacy artifact repositories**](https://cloudsmith.com/blog/the-true-cost-of-legacy-artifact-management) quickly become visible. What once worked in on-premise environments often creates friction, risk, and massive operational overhead in a cloud-native world.

This is why **cloud migration** isn’t just a "lift-and-shift" event. It’s the ideal moment to reassess how you store, secure, and distribute artifacts across modern **cloud migration DevOps** workflows.

## Why legacy artifact repositories struggle during cloud migration

Traditional, self-hosted repositories were designed for static infrastructure and perimeter-based security. Cloud environments invert those assumptions.

During migration, teams commonly encounter:

- **Scaling constraints:** Legacy tools often require manual server provisioning or expensive over-capacity planning.
- **Operational toil:** Managing patches, database tuning, and storage maintenance for your own repository steals focus from your core product.
- **Performance bottlenecks:** When global teams depend on a single on-premise instance, latency sabotages developer velocity.

Keeping a legacy repository while modernizing everything else often results in a "partially modern" stack with legacy risk still embedded in your delivery pipeline.

## Cloud migration exposes hidden software supply chain risk

Modern cloud adoption increases velocity, but speed without control amplifies risk across the **software supply chain**. Common exposure points include:

- **Unverified third-party dependencies:** Cloud-scale builds pull in thousands of external packages that need immediate scanning.
- **Inconsistent provenance:** Difficulty tracking exactly "who built what and where" across fragmented environments.
- **Limited policy enforcement:** Brittle legacy controls that can't handle the dynamic nature of cloud-native deployments.

Re-evaluating artifact management during migration allows teams to embed **zero-trust** governance exactly when redesigning their pipelines.

## The modernization opportunity: Fully managed artifact repositories

Cloud migration creates the perfect window to replace self-hosted infrastructure with a fully managed** artifact repository** built for elasticity and global distribution.

Modern platforms like **Cloudsmith** deliver:

- **Infinite scalability:** No more storage planning or maintenance; the platform automatically scales with your builds.
- **Edge performance:** A built-in Package Delivery Network (PDN) delivers artifacts worldwide to reduce latency.
- **Integrated security:** Features like automated vulnerability scanning and signature verification are baked in, not bolted on.

Instead of recreating legacy architecture in the cloud, organizations can move directly to a fully managed model aligned with cloud‑native principles. This shift transforms artifact management from a maintenance task into a strategic layer of the delivery platform.

## When to move: Aligning your migration strategy

Teams often postpone modernization because migration feels complex. However, delaying the decision typically leads to "double migration" work, migrating the legacy tool today and replacing it tomorrow.

**Aligning modernization with your cloud move avoids:**

1. **Re-architecting pipelines twice:** Design your CI/CD for your final destination, not a temporary stop.
2. **Moving massive stores twice:** Cloud-native migration scripts (like the Cloudsmith CLI) handle the transfer of binaries and metadata once.
3. **Carrying legacy debt:** Ensure your new cloud environment launches with a clean, high-performance foundation from day one.

## Signs your artifact management is holding you back

Before moving to the cloud, audit your current state. If these "silent killers" sound familiar, a lift-and-shift solution will only migrate your technical debt:

- **Manual maintenance toil:** Your team spends hours every month on repository upgrades, patching, and storage "garbage collection".
- **The "slow download" tax:** Global developers or remote build agents face high latency because your on-premise repository lacks a global distribution network.
- **Compliance blind spots:** You struggle to provide a complete "bill of materials" (SBOM) or audit trail for a security incident.
- **Brittle CI/CD scripts:** Your pipelines rely on custom, "home-grown" scripts to move packages between environments because your tool doesn't support native promotion workflows.

## The strategic ROI: What actually changes?

Modernizing your **artifact repository** during a cloud move isn't just a technical swap; it delivers measurable business impact:

- **Developer velocity:** By eliminating manual bottlenecks and enabling faster access to dependencies, teams often see **43% faster release cycles**.
- **Zero-trust security:** Centralized policy enforcement and automated vulnerability scanning move security from a "final check" to an integrated part of the build.
- **Operational efficiency:** Moving to a fully managed** artifact repository** removes the "toil" of server management, allowing your DevOps engineers to focus on product innovation rather than infra-maintenance.
- **Total cost of ownership (TCO):** You trade hidden infrastructure costs and administrative salaries for a predictable, transparent, fully managed model.

## Evaluating alternatives: Beyond JFrog and Nexus

Many organizations begin cloud migration using legacy tools like **JFrog Artifactory** or **Sonatype Nexus**, only to find they were built for a different era of infrastructure. Modern cloud-native platforms eliminate the need to manage repository infrastructure while delivering stronger governance and global performance. As a result, more teams are looking for [**JFrog alternatives**](https://cloudsmith.com/switch/jfrog-artifactory) and [**Nexus alternatives**](https://cloudsmith.com/switch/sonatype-nexus) that offer a fully managed, "Zero-Ops" experience.

For teams ready to [**migrate, Cloudsmith**](https://docs.cloudsmith.com/migrating-to-cloudsmith?_gl=1*1tuvjc8*_gcl_au*MjA0MTMxOTg3MC4xNzYzMzg3ODg3*_ga*NDcwNDc1ODMuMTcyMzAyNjg2MQ..*_ga_6KCWZ6W3Y9*czE3NzAyOTA3NDEkbzE1MiRnMSR0MTc3MDI5MTAwMiRqNDEkbDAkaDA.*_ga_H5NBQJ0NGM*czE3NzAyOTA3NDEkbzMxMiRnMSR0MTc3MDI5MTAwMiRqNDAkbDAkaDkzNTk0MDIyMw..) streamlines the process to minimize disruption and accelerate value realization.

## Why global leaders migrate artifact management to Cloudsmith

As teams evaluate **alternatives to JFrog and Nexus**, they increasingly move to **Cloudsmith**, designed specifically for modern DevOps and secure software delivery for the security landscape of 2026 and beyond.

**The Cloudsmith advantage:**

- **Zero-ops architecture:** A true cloud-native, fully managed experience with no databases to manage and no servers to patch.
- **Built-in package delivery network (PDN):** Hundreds of nodes deliver artifacts from the edge, ensuring your global build agents always have high-speed access.
- **Universal format support:** One single source of truth for Docker, npm, Maven, Python, and 30+ other formats.
- **Supply chain resilience:** Automated provenance tracking and signature verification help keep you compliant with key security standards and ensure that what you ship is exactly what you built.

## Conclusion: Don’t just move to the cloud – modernize what matters

Cloud migration is a rare opportunity to fix the "foundation" of your house before you move in the furniture. By re-evaluating your **artifact management** now, you ensure your cloud-native future is fast, secure, and, most importantly, manageable.

The most successful cloud migrations don’t just replicate the past. They modernize the platform that powers everything built next.

**Planning a cloud migration?** [Book a demo](https://cloudsmith.com/book-a-migration-consultation) with our experts to simplify the process.

## Frequently asked questions

- ### What is artifact management in DevOps?

It is the practice of storing, securing, and distributing build outputs, such as Docker images or Maven packages, throughout the development lifecycle. It ensures your builds are reproducible and secure.

- ### Why reconsider artifact repositories during cloud migration?

Updating your repository during a move avoids duplicate work and ensures that a legacy on-premises artifact manager doesn’t constrain your new cloud infrastructure.

- ### What are the risks of keeping a self-hosted repository in the cloud?

[Self-hosting](https://cloudsmith.com/blog/cloud-native-vs-on-premise-artifact-management-a-complete-overview) in the cloud still requires manual patching and scaling. This increases costs and creates "visibility gaps" that can lead to security breaches.

- ### How does a fully managed artifact repository improve security?

Fully managed platforms provide centralized governance, immutable storage, and automated compliance auditing, all of which are critical to a secure **software supply chain**.



For years, the bottleneck in software was “how fast can we write code?” Today, Generative AI shifts that bottleneck to **“how fast can we secure it”**.

For years, the bottleneck in software was “how fast can we write code?” Today, Generative AI shifts that bottleneck to “[how fast can we secure it](https://cloudsmith.medium.com/is-ai-quietly-making-your-software-supply-chain-less-secure-e1364de33f9a)?”

As organizations move from experimentation to production-grade AI, they are discovering that traditional DevOps tooling wasn’t built for a non-deterministic world. For example, static software composition analysis (SCA) scanners that assume deterministic dependency graphs or CI policy gates that validate known build artifacts. When a model generates code rather than a human, the software supply chain changes overnight.

Our guide, **Securing non-deterministic systems: A practical guide for AI artifacts and LLMOps**, explores three emerging security frontiers that every organization adopting AI must address:

## 1. AI-generated code introduces supply-chain hallucinations

LLMs generate dependencies probabilistically, not deterministically. This creates the emerging **slopsquatting** attack vector, where attackers register hallucinated package names suggested by AI tools and weaponize them with malicious payloads.Without validation and artifact governance, a single copied command can silently compromise an enterprise environment.

## 2. AI models behave like executable software, not passive data

Modern model formats can execute arbitrary code during deserialization, most notably through Python pickle-based loading.This **logic-weight entanglement** means downloading an unverified model from public registries such as Hugging Face or Ollama can result in full system compromise.Secure AI development requires scanning, signing, and favoring restricted formats like **safetensors**, alongside enforcing trusted provenance for every model artifact.

## 3. AI productivity and orchestration layers expand the attack surface

Frameworks that connect models to enterprise data and automate workflows introduce a new class of high-impact vulnerabilities.Recent RCE exploits in orchestration tools demonstrate that **LLMOps infrastructure itself is now part of the software supply chain**, and must be sandboxed, authenticated, and governed like any production system.

### Ready to harden your AI supply chain?

Our full guide provides a strategic roadmap for navigating the shift from DevOps to LLMOps, deconstructing threats in frameworks like Langflow, and building a “sandbox-by-default” development lifecycle.

**[Download the full guide: [Securing non-deterministic systems](https://cloudsmith.com/campaigns/securing-non-deterministic-systems-a-practical-guide-for-ai-artifacts-and-llmops)]**

**Catch up on the series:**

- [_Why Repository Structure Matters?_](https://cloudsmith.com/blog/why-repository-structure-matters)
- [_The Hybrid Repository Structure: Balancing Control and Flexibility_](https://cloudsmith.com/blog/the-hybrid-repository-structure-balancing-control-and-flexibility)

And now, let’s dive into part three: How **access control and permissions** keep your multi-format repositories secure, consistent, and developer-friendly.

In the first two blogs of this series, we explored why repository structure matters and how Cloudsmith’s Hybrid Repository Structure balances control with flexibility. While we touched on policies and permissions, we didn’t dive into the _real_ mechanics of how access control ensures artifact security, traceability, and consistency, especially in **multi-format repositories**, where different packages, languages, and tooling coexist in a single place.

While multi-format repositories allow for more flexibility in how your repositories are set up, they can introduce a new way of thinking about how and when different artifacts can be accessed and by whom. This blog breaks down how Cloudsmith provides fine-grained, flexible, and secure controls for teams of any size.

## User roles in Cloudsmith

Cloudsmith provides the following user roles:

- Owner
- Manager
- Member
- Collaborator

These roles help limit access based on organizational need and provide the foundation for more granular permissions.

## Privileges in Cloudsmith

- Administrator
- Read
- Write

You can explore the full breakdown of Cloudsmith roles, permissions, and privileges in our documentation.

You can read more about user roles, permissions, and privileges in Cloudsmith [here](https://help.cloudsmith.io/docs/access-controls).

## Global privileges in Cloudsmith

Every Cloudsmith customer is given the opportunity to set default global privileges. These global default privileges are set for the “Member” user role in Cloudsmith, which is often suited best for individual developers. Within a customer’s global workspace privileges, organizations can choose to grant members the ability to create new teams, invite new users, and even create new repositories. Organization owners can also grant “blanket” repository privileges to all users within Cloudsmith. 

While we offer the flexibility for organizations to shift responsibility and access to the developer, we often see our enterprise customers lean away from blanket permissions and access toward more fine-grained permissions. As an example, we have a semiconductor manufacturing customer that has disabled default workspace global privileges so that only Organisation owners are the only users who can invite new users, create new teams, invite 3rd-party collaborators, and create new repositories. 

In addition, this customer has access control, and privileges are scoped down to specific teams. Default global repository privileges are disabled so that they can choose exactly which team(s) should have access to repository(s). Even Cloudsmith service accounts are grouped together within a team for ease of tracking permissions and access when it comes to build and deployment times. 

## Repository privileges in Cloudsmith

If we zoom in once and look at the repository level in Cloudsmith, we can assign a default privilege for organization members for accessing packages within the repository, and we can assign specific privileges for specific teams, users, or service accounts.

This is the stage where you’ll have to consider what packages the repository is storing and if you want developers and service accounts to have default admin, read, or write permissions to the repository. Continuing to use my customer example, they have chosen to set default read permissions for all repositories; however, specific service accounts have write and [admin permissions](https://help.cloudsmith.io/docs/manage-a-repository) to different repositories. You may be okay with your developers downloading artifacts to their local machine for testing or even service accounts requesting stored artifacts tied to staging and production environments.

On the other hand, there are customers that may not want their developers having the ability to write to every repository and would most likely want specific service accounts tied to their CI/CD pipelines to only have write permissions. While this is generally best practice, there are certainly exceptions to this rule, as we also have platform teams that choose to grant specific developer teams write access to specific artifact repositories.

## Fine-grained repository controls

On top of the permission and access control settings we’ve discussed, Cloudsmith goes even further to ensure that, through various additional settings, platform teams can decide exactly what their developers need and don’t need to be reconfigured within a repository.

Platform teams are able to grant or deny developer permissions, such as:

- Copying Packages From One Repository to Another
- Moving Packages From One Repository to Another
- Deleting Packages
- Scanning Packages
- Replacing Packages
- Managing, Using, Or Viewing Entitlement Tokens

If you thought that wasn’t enough, Cloudsmith takes it a step further by scoping down permissions to the individual developer’s generated packages. So while platform teams can restrict tampering of artifacts generated by other developers or systems, they can also decide if they would like to allow developers the ability to scan, move, copy, delete, or resync their own packages.

Most of the enterprise customers I work with allow developers to do as they please with their own packages to avoid a developer mutiny! In either case, these user actions are catalogued in our [Audit Logs](https://docs.cloudsmith.com/logs-and-observability/audit-logs) for enhanced observability across your Cloudsmith environment.

## Entitlement tokens

For instances where our customers want to be very particular about what, how, and when users can access specific packages, Cloudsmith offers [Entitlement Tokens](https://help.cloudsmith.io/docs/entitlements). These scoped tokens are read-access only, so there is never a risk of a user performing a write action against the repository they have limited access to.

Customers are able to restrict access by creating a precise search query to narrow down specific packages within a repository, should they choose not to provide visibility into all the packages within the repository. On top of visibility restrictions, customers can also add token usage restrictions to avoid prolonged access and usage of the token. Parameters include:

- Token Validity & Expiry Dates
- Maximum Downloads
- Maximum Clients/IPs
- Maximum Download Bandwidth

Typically, we see our customers use entitlements for 3rd party software distribution or even for systems that don’t require logins to Cloudsmith.

## Geo/IP Restrictions

For our security-conscious customers, Cloudsmith also offers the ability to configure [geo-based restrictions](https://help.cloudsmith.io/docs/geoip-restriction) based on country, with an easy-to-use preconfigured list of countries to choose from. Choose to deny or allow access from specific countries. Although keep in mind that theoretically, no unauthenticated user should have access to your Cloudsmith workspace in general. This restriction applies more towards open-source repositories that you may be hosting in Cloudsmith, but it’s always a good idea to practice defence-in-depth!

If geo-based restrictions are too broad, you can scope down to IP-based restrictions to either allow or deny client access based on IP address. This added protection ensures that requests coming from clients with an unapproved IP address do not have access to your repositories. 

## We’re here to help

With all of these configuration options, it can be tricky to decide how you want to best enable your developers while balancing security and flexibility. Not to worry—the Cloudsmith Customer Success team is here to help you in your decisions throughout the onboarding process. We’ve walked through these decisions with many customers and have outlined decision impacts for you so you’re not left wondering “what if”. Learn more about Cloudsmith [here](https://cloudsmith.com/) to get started with us. See you on the other side! 

## FAQs (Frequently asked questions)

### 1. What is access control in a multi-format repository?

Access control defines who can read, write, or administer artifacts across different package formats stored in the same repository. It ensures secure, consistent governance across diverse tooling.

### 2. How do permissions work in Cloudsmith for multi-format repositories?

Cloudsmith supports global, repository-level, team-based, and user-specific permissions, allowing organizations to tailor access to packages, teams, service accounts, and even individual artifact actions.

### 3. Why is fine-grained access control important in software supply chain security?

Fine-grained controls reduce the blast radius of errors, prevent unauthorized writes, and help organizations enforce policies required by modern software supply chain frameworks like SLSA and SSDF.

### 4. What are entitlement tokens used for in Cloudsmith?

Entitlement tokens provide scoped, read-only access to specific artifacts without requiring user accounts, making them ideal for external distribution, automation, or least-privilege workflows.

### 5. Can developers manage their own packages in Cloudsmith?

Yes. Cloudsmith allows permissions that let developers manage only the packages they personally created—without putting others’ artifacts at risk.

### 6. How does Cloudsmith support secure CI/CD pipeline access?

Service accounts can be granted precisely the permissions needed for pipeline operations (like write or admin) while keeping developers and collaborators restricted to read-only or scoped access.

### 7. What’s the difference between global and repository-level privileges?

Global privileges affect the entire workspace, while repository-level privileges enable granular control over specific teams, users, or service accounts interacting with a particular repository.



In a world where software ships in seconds, teams are still chained to legacy systems built for a different era. What once passed as “good enough” for storing and distributing builds has become a drain on productivity - adding risk, slowing delivery, and quietly inflating costs year after year.

In this post, we’ll break down the hidden cost of legacy artifact repositories, discuss the importance of modernizing through cloud-native artifact management, and demonstrate how you can leave the old infrastructure that has been slowing your software supply chain.

## What is legacy artifact management?

Legacy artifact management involves older on-premise artifact repositories or in-house custom systems. These tools were designed in another era, when teams used monolithic applications and updates were done once a year or even less.

The modern reality is very different. Cloud-native development, continuous CI/CD pipelines, and distributed engineering teams need a modern artifact management approach that delivers scalability, uptime, and built-in security.

This is where legacy artifact repositories fall behind. Many teams assume that on-prem systems are “more secure” because they’re isolated, but isolation no longer protects against today’s threats. Most attacks now originate upstream, through open-source dependencies that already contain vulnerabilities, malicious code injections, or compromised packages. 

With the volume and speed of issues emerging in the open-source ecosystem, an isolated, self-hosted repository cannot keep pace without continuous scanning, real-time visibility, and automated updates. Without these protections, legacy artifact management becomes a blind spot in the software supply chain - quietly storing and distributing unverified or unsafe artifacts.

## The hidden costs of legacy or on-premise artifact repositories

Legacy systems can feel safer to stick with - they’re already in place and “working.” But maintaining the status quo often hides bigger costs: outdated infrastructure, ongoing maintenance, and mounting security risks from unpatched or unsupported components.

### 1. Complexity and maintenance overhead

Legacy repositories need to be manually patched, updated, backed up, and scaled. Teams spend valuable engineering time on server management instead of innovation. Each new project or environment increases the complexity of configuration and slows down the development.

### 2. Unrecognized infrastructure costs

Hosting artifact repositories either in on-prem or in self-managed cloud VMs requires continued expenditure on storage, bandwidth, and compute. The costs increase unintentionally as the size and volume of artifacts grows (especially large Docker images or build artifacts). Beyond infrastructure, many older systems also require costly vendor support contracts for upgrades, patches, and troubleshooting. These fees often increase over time and are non-negotiable.

### 3. Security and compliance risks

Legacy systems often lack built-in scanning, access control, or software bill of materials (SBOM) capabilities. Lacking transparency in dependencies leaves teams exposed to vulnerabilities and unmet compliance requirements - something that enterprises will not be able to afford in 2025 and beyond's regulatory environment.

### 4. Scalability limitations

As repositories grow, performance bottlenecks emerge - developers face slower downloads, failed builds, and pipeline downtime, all of which directly slow release velocity and drain productivity.

## Why cloud-native artifact management is a change worth making

Legacy tools may have provided the groundwork for early DevOps, but they cannot keep up with the current software landscape. Modern organizations need next-generation artifact management - cloud-native solutions designed for speed, security, scalability, and seamless integration with cloud-native CI/CD pipelines.

A [cloud-native artifact management](https://cloudsmith.com/product/cloud-native-artifact-management) platform is more than just a storage location for packages - it’s a critical pillar of your software supply chain security. It guarantees that every artifact, from source to deployment, is verified, traceable, and instantly accessible, regardless of where your teams are working.

These capabilities are exactly why more organizations are moving to modern, cloud-native platforms that combine speed, security, and scalability to support today’s software delivery demands - reasons we explore in detail below.

### 1. No maintenance and always up to date

With legacy artifact repositories, engineering teams spend hours managing servers, applying patches, and juggling storage. A truly [cloud-native artifact management platform](https://cloudsmith.com/blog/artifact-management-a-complete-guide) is different from simply hosting a repository in the cloud—it’s built to auto-scale, self-update, and deliver continuous security without manual intervention. There’s no server downtime, no upgrade windows to schedule, and no need to plan for storage expansion - everything is handled seamlessly in the background.

### 2. Scalability without complexity

Self-hosted systems cannot keep pace with the growth in artifact volume size. A cloud-native artifact management platform dynamically boosts its capacity to manage millions of artifacts across multiple teams, regions, and projects, [without compromising performance](https://cloudsmith.com/product/global-software-distribution).

Using elastic storage and edge caching CDNs, developers are always guaranteed a [quick download and high uptime](https://cloudsmith.com/blog/scaling-for-extreme-performance).

### 3. Built-in security and compliance from the ground up

In today’s world, threats move faster than ever. With malicious packages and supply chain attacks on the rise, cloud-native artifact repositories integrate vulnerability scanning, access controls, and SBOMs (Software Bill of Materials) directly into your pipelines.

This ensures that all artifacts maintained and shared are validated, trackable, and consistent with the industry regulations such as SOC 2, ISO 27001, and FedRAMP.

No extra patching or standalone security tools - modern artifact management [integrates security](https://cloudsmith.com/product/software-supply-chain-security) into every phase of your software supply chain.

### 4. Performance and speed that empower developers

A truly cloud-native artifact repository ensures artifacts are forwarded to the closest edge location, which significantly decreases both the time spent building and deploying, which has a direct impact on increasing developer productivity and CI/CD throughput.

Engineers can focus on building features rather than waiting on downloads or troubleshooting failed builds, making software delivery faster, more reliable, and predictable.

### 5. Seamless integration with the modern DevOps toolchain

Legacy repositories often require plugins or manual scripting to integrate with CI/CD tools. Cloud-native artifact management platforms offer native integrations with [GitHub Actions](https://cloudsmith.com/product/integrations/github-actions), [GitLab CI](https://cloudsmith.com/product/integrations/gitlab-cicd), [Jenkins](https://cloudsmith.com/product/integrations/jenkins), [CircleCI](https://cloudsmith.com/product/integrations/circle-ci), and more - all via robust APIs.

This ensures that artifacts flow seamlessly through your CI/CD pipelines, maintaining consistency, traceability, and reliability from development all the way to production.

### 6. Single visibility and governance between teams

In large organizations, artifacts are often scattered across multiple repositories and sometimes duplicated, making governance and visibility a constant challenge. A cloud-native artifact management system provides a centralized, single platform for managing visibility, audit, and access.

Administrators can also manage published, promoted, or consumed artifacts - to ensure compliance and reduce the risk of unauthorized access or obsolete dependencies.

### 7. Predictable, transparent costs

In contrast to self-managed solutions that have unpredictable infrastructure charges, cloud-native artifact management follows a usage-based pricing scheme, which is predictable.

You pay for what you use. You do not expect to incur costs for hardware, maintenance, or downtime. This will ultimately lead to a reduced total cost of ownership (TCO) and a better understanding of the ROI of engineering time.

Moving legacy artifact management to a new, modern, cloud-native repository is not just a technical choice but a strategic one that enhances both the security, performance, and user experience of developing a product or service, as well as reduces costs in the long run.

Migrating from legacy artifact management to a modern, cloud-native repository improves security, performance, and the overall developer experience while helping reduce long-term operational costs. By centralizing control, simplifying scalability, and strengthening the software supply chain, teams can focus on building software more efficiently and securely.

## How to upgrade from escape legacy artifact management (step-by-step)

The idea of moving away from on-premise or legacy artifact systems to a modern, cloud-native solution can be overwhelming, but with the correct plan, it is achievable.

1. **Audit your existing repositories – **Review what you store (packages, containers, Helm charts, etc.) and where.
2. **Analyze utilization and access patterns -** Learn which teams, pipelines, and tools rely on which repositories.
3. **Select a modern artifact management platform – **Seek capabilities such as universal format support, security scanning, policy management, global availability, and automation through integrations.
4. **Plan your migration strategy – **Migrate critical projects first, automate uploads, and validate integrations.
5. **Decommission legacy infrastructure – **Once migration and validation are complete, phase out outdated systems to eliminate ongoing maintenance, reduce operational overhead, and free up resources for modern, cloud-native artifact management.

🔥**Top tip: **Cloudsmith’s [Migration](https://cloudsmith.com/campaigns/cloudsmith-migration-guide) Toolkit, combined with expert support, makes the transition seamless - preserving your history and metadata while enabling improved security and scalable infrastructure.

## The real ROI of leaving legacy, on-premise artifact management behind

Teams that modernize and migrate to cloud-native artifact management see measurable returns:

- Reduce infrastructure expenses by up to 60%.
- Faster build and deployment times across CI/CD pipelines.
- Improved developer satisfaction through simplified workflows.
- Better compliance posture with automated vulnerability management.

Time spent maintaining a legacy repository directly impacts productivity and costs. Migrating to a modern, cloud-native artifact repository preserves operational efficiency and supports long-term software delivery improvements.

## How Cloudsmith makes modern artifact management effortless

All of these challenges, including scalability, security, automation, and visibility, can be solved with a truly cloud-native approach to artifact management. And if you are planning a migration to the cloud, it is worth doing it right rather than sticking with your existing provider simply because it feels easier. A migration is already a major change, and it is the perfect opportunity to elevate your entire artifact management program. 

Cloudsmith was built from the ground up as a fully cloud-native platform that helps teams break free from the limits of traditional repositories, delivering seamless automation, built-in security, and scalable reliability in a single unified system.

Here’s how Cloudsmith enables that transition seamlessly:

- **Fully managed, always available:** Cloudsmith is truly cloud-native which means hosting, scaling, and security are built in. Teams can focus on development without worrying about infrastructure maintenance and downtime.
- **Universal support for all formats:** Whether you manage containers, packages, Helm charts, or custom binaries - with multi-format repositories, Cloudsmith provides one centralized platform for all your artifacts.
- **Unified security and compliance:** Each artifact is scanned, signed, and tracked. Cloudsmith also has vulnerability scanning, dependency metadata, and SBOM generation built-in to ensure end-to-end security for your software supply chain.
- **Global performance and distribution:** Artifacts are served over Cloudsmith’s global edge network and minimizing latency and providing fast and reliable builds across the globe.
- **Seamless CI/CD integration:** Cloudsmith integrates seamlessly with the latest DevOps platforms: GitHub Actions, GitLab CI, and Jenkins - enabling teams to automate artifact workflows, reduce manual errors, and accelerate software delivery.

A modern, cloud-native artifact repository like Cloudsmith simplifies operations, strengthens security, and accelerates software delivery - without the hidden costs or complexity of legacy systems.

## Summary: don’t let legacy on-premise artifact management hold you back

Legacy artifact management is not only dated - it’s also costly, risky, and non-sustainable. The emerging generation of cloud-native artifact management platforms, such as Cloudsmith, transcends complexity with confidence, enabling teams to achieve the visibility and velocity required to build securely at scale.

The faster you retire legacy systems, the sooner your organization can build securely, on a truly modern, cloud-native platform.

## Frequently asked questions (FAQs)

#### 1. What is legacy artifact management, and why is it a problem?

The management of legacy artifacts encompasses older systems (typically [on-premise artifact management](https://cloudsmith.com/blog/cloud-native-vs-on-premise-artifact-management-a-complete-overview)) used to store and distribute software packages. Such systems do not offer the automation, scalability, and integrated security that are needed in modern DevOps, resulting in inefficiencies and increased operational costs.

#### 2. What are the unknown expenses of legacy artifact repositories?

Beyond licensing, teams also bear the costs of infrastructure maintenance, downtime, manual updates, and security risks. These hidden expenses can quickly add up, often exceeding the investment required for a modern, cloud-native alternative.

#### 3. How do I migrate to a modern artifact repository?

Begin by auditing your existing repositories, determining dependencies, and automating the migration with the help of migration tools (such as Cloudsmith’s Migration Tool). The advantage is to retain the integrity of artifacts with the purpose of avoiding manual management.

#### 4. Why choose a cloud-native artifact repository over self-hosted options?

Uptime, scaling, and security are automatically managed on cloud-native platforms. They are CI/CD integrated, can distribute faster worldwide, and can eliminate maintenance overhead, allowing your developers to focus on their core tasks

#### 5. How does modern artifact management improve security and compliance?

Modern artifact systems integrate vulnerability scanning, SBOMs generation, and access control. This will ensure artifacts are secure, traceable, and compliant – which is essential to securing your software supply chain.



Yes, you guessed it! [Hacktoberfest 2020](https://hacktoberfest.digitalocean.com/) preparations are already underway globally. If you're not familiar with the event, it's a month-long celebration of open source during October by Digital Ocean. Hacktoberfest promotes contributions to a diverse range of open source projects on Github and welcomes for first-time contributors to get involved with the community.

It's easy and the perfect time to get involved or even to rejoin the open source community. If contributing to your favorite open source project sounds appealing, wait, because it gets even better! Hacktoberfest is open to everyone across the world. Contributors can sign up anytime between October 1st and October 31st to become edible for fantastic swag in the form of t-shirts and stickers from Digital Ocean. Submitting four quality pull requests to a public Github repository qualifies each contributor to swag, and what fantastic swag it is! Check out last year's fantastic t-shirt!

```json
{
  "_key": "0b2f84d5ae02",
  "_type": "image",
  "alt": null,
  "asset": {
    "_createdAt": "2025-06-05T07:58:56Z",
    "_id": "image-10ca69f081acecacf48e4376a8a79f6e11065cc0-1200x900-jpg",
    "_rev": "gnJeqIUmT5gWK5E6lfoHm9",
    "_type": "sanity.imageAsset",
    "_updatedAt": "2025-06-05T07:58:56Z",
    "assetId": "10ca69f081acecacf48e4376a8a79f6e11065cc0",
    "extension": "jpg",
    "metadata": {
      "_type": "sanity.imageMetadata",
      "blurHash": "V7EL~g00.F02rq0%03#Uo_~Uz,?a%NEQ8{RNNY-:-p-U",
      "dimensions": {
        "_type": "sanity.imageDimensions",
        "aspectRatio": 1.3333333333333333,
        "height": 900,
        "width": 1200
      },
      "hasAlpha": false,
      "isOpaque": true,
      "lqip": "data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAPABQDASIAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAAAAUHAwb/xAAjEAACAQQDAAEFAAAAAAAAAAABAgMABAURBhIhFCQxMkGx/8QAFwEAAwEAAAAAAAAAAAAAAAAAAQIDBP/EABoRAAMBAQEBAAAAAAAAAAAAAAECAwARIaH/2gAMAwEAAhEDEQA/AJ9hrdr6WIZObXuiAfSa6WfA46FxK6k6/FXatuP4K1y3D7nLW4+PPa9u/wC+2qW4vKxyxqY1eRgPVkP8oRojDnOEZxNm9791O4vbXF/iUltniSJWKAE/bVFIuO5SNcd9M7KncnQGvaKyVnMuSRqo1AoAO//Z",
      "palette": {
        "_type": "sanity.imagePalette",
        "darkMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#346263",
          "foreground": "#fff",
          "population": 0.2,
          "title": "#fff"
        },
        "darkVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#5d661e",
          "foreground": "#fff",
          "population": 0.12,
          "title": "#fff"
        },
        "dominant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#748392",
          "foreground": "#fff",
          "population": 7.05,
          "title": "#fff"
        },
        "lightMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#cd9f8b",
          "foreground": "#000",
          "population": 7.03,
          "title": "#fff"
        },
        "lightVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#eadf88",
          "foreground": "#000",
          "population": 1.79,
          "title": "#000"
        },
        "muted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#748392",
          "foreground": "#fff",
          "population": 7.05,
          "title": "#fff"
        },
        "vibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#ceae22",
          "foreground": "#000",
          "population": 0.5,
          "title": "#fff"
        }
      }
    },
    "mimeType": "image/jpeg",
    "originalFilename": "hacktoberfest_tee.jpg",
    "path": "images/rafvlnhi/production/10ca69f081acecacf48e4376a8a79f6e11065cc0-1200x900.jpg",
    "sha1hash": "10ca69f081acecacf48e4376a8a79f6e11065cc0",
    "size": 353377,
    "uploadId": "oUGVvLdfrOYUkw8GTulaf1AY7Nu59ryL",
    "url": "https://cdn.sanity.io/images/rafvlnhi/production/10ca69f081acecacf48e4376a8a79f6e11065cc0-1200x900.jpg"
  },
  "caption": null,
  "link": null,
  "markDefs": null
}
```

At Cloudsmith, we use open source tools and dependencies in all of the software we build and use daily. We love giving back to the community and frequently contributing enhancements and bug fixes to libraries and package management tools to help our customers and our own internal needs.

Helping to support the open source community is important to us. That's why we provide [free, open-source repositories](https://help.cloudsmith.io/docs/create-a-repository#open-source-repositories) for all our package formats and provide open source tools to help users get the most out of Cloudsmith as their universal package repository.

This year, like many previous years, will see members of the team contributing to a range of open source projects for fun and to scratch our own itch by making something we love even better. Still, we're all about giving back and want to help empower developers to contribute to tools they enjoy using. That's why we will be creating a range of issues suitable for first-time contributors and experienced developers to make code and documentation improvements across some of our open source projects:

- [Cloudsmith CLI](https://github.com/cloudsmith-io/cloudsmith-cli)
- [Cloudsmith Github Actions](https://github.com/cloudsmith-io/action)
- [Cloudsmith Terraform Provider](https://github.com/cloudsmith-io/terraform-provider-cloudsmith)

As a team, we are looking forward to engaging with the community we love, and creating new awesome software together!



## **AWS Codebuild and Cloudsmith**

At Cloudsmith, we pride ourselves in being the central source of truth for your packages and build artifacts. We provide one global platform to centralize your assets and give you the control and visibility that you need as part of a modern DevOps process.

As part of that effort, we’re delighted to announce that if you’re using AWS CodeBuild as part of your CI/CD workflow and pipelines, we can offer you a simple way to get the output of your build processes into your Cloudsmith repository

### **What is AWS CodeBuild?**

AWS CodeBuild is a fully managed continuous integration service that allows you to automate your source compilation, test running and packaging of your software. There is nothing to install or maintain, and you can be up and running in minutes with your own build pipeline.

### **Why would I want to integrate Cloudsmith with CodeBuild?**

Much like CodeBuild, Cloudsmith is a fully managed repository service. And just like CodeBuild, there is nothing to install or maintain, we take care of all of that for you.

When you automate your build process with CodeBuild, you’ll need somewhere to store the resulting build artifact(s). Of course, you could store these somewhere basic, like an S3 bucket or maybe even an on-premise storage system of some kind. But doing that means you’d miss out on some of the distinct advantages Cloudsmith provides, namely:

- ****Performance / Reliability.**** Cloudsmith will deliver your artifacts and packages to customers or distributed teams at the lowest latency possible. Configurable global storage regions, configurable edge caching rules and a fast Global CDN mean users never have to wait to consume or use the output of your builds - no matter where they are.
- ****Access Controls / Security. ****We provide fine-grained access controls, enabling you to grant teams and end users the precise level of access that they need, and no more - including SAML/SSO integration so that you can plug into your existing enterprise auth systems. We also allow you to create read-only access tokens with additional configurable restrictions - if you are vendoring / selling software to end users, for example.
- ****Universality. ****We support a wide variety of package formats, including raw files, binaries or disk images. So whatever the output of your CodeBuild process is, we can support it - including integration with the native package management tools for most formats. The goal with Cloudsmith is simple: that it just works.

This list is far from exhaustive - there are many, many reasons you’d want to use Cloudsmith as a platform to host and store your build artifact(s). We are happy to talk about this at great length, far longer than we can fit in here 😊 Just contact us if you’d like to chat more about it!

The bottom line: in much the same way you probably wouldn’t entertain the overheads involved in standing up your own server farm to run your CI/CD process, you don’t need to do that either for your package repositories.

### **Using AWS CodeBuild with Cloudsmith - A worked example.**

OK, so how do we go about integrating our Cloudsmith repository with our CodeBuild projects? Let's work through an example.

This example will be pretty straightforward - we will build a [Debian](/product/formats/debian-repository) package from source stored in a GitHub repository and then push the resulting build to our private Cloudsmith repository.

#### **Step 1. Set up our CodeBuild Project**

You use the AWS Console to set up a new CodeBuild Project. Just select “Create Build Project” to get started:

Next, you give your project a name, an optional description and any additional optional tags:

You then select a source for your project, in this case it’s a GitHub repository, but other source repository types are supported:

```json
{
  "_key": "dd4d718d6592",
  "_type": "image",
  "alt": null,
  "asset": {
    "_createdAt": "2025-06-05T07:57:55Z",
    "_id": "image-ca60a94ffc6ada9536428583d908e279b65a6c26-1920x1080-png",
    "_rev": "yO7itY9PAzaQqagh0UP0tM",
    "_type": "sanity.imageAsset",
    "_updatedAt": "2025-06-05T07:57:55Z",
    "assetId": "ca60a94ffc6ada9536428583d908e279b65a6c26",
    "extension": "png",
    "metadata": {
      "_type": "sanity.imageMetadata",
      "blurHash": "MNB|tBDP9G~pMy00%K-,9Gt6j-WUR*kCs,",
      "dimensions": {
        "_type": "sanity.imageDimensions",
        "aspectRatio": 1.7777777777777777,
        "height": 1080,
        "width": 1920
      },
      "hasAlpha": true,
      "isOpaque": false,
      "lqip": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsTAAALEwEAmpwYAAAC60lEQVR4nFXPWUyTBwDA8T6KxnOhhTKmQyEGR4HokKzCENuvx3e0fB8FpdJW44UuLk5LVQoCQRczM7OyGR88EGdwxIGUINpoNOoSj3nGK4tuDy4zMjWZ8cqA/g2IUR/+r7/kr0swWQYSsq3xhGwro3OdjMuvYELBMiYWrmTSl6vQF39NqiNIujvMdG0TGWo9U91DNTKtpJF0pZpPhQAphVr8o3x5QJeQLQxjw+XYGZtXzsSC5Uwq+gqDZQ2TxRBTlRqmyGFSnTUYHWGS7bUkO+oxio2kOOtIEVaTUuzj46LyuG5UtoV3WRkzq4QJc5agH8Kk9aS5wqSKNRhsG0i0biBRCKO31aG3N6B3NGFwbsHgaCBJCGK0rEI3Lkdk7HuNn6mSWLCUKeJG0t31fCLWkSTUohdqMQib0NsaMNibSHJuIUncSrK0jWRlO0b5e4zSd+hM5mo+MweZYV5HpvkbMuesJVdoYHZpM7nqDqZLETLEZtLFZjLkH8ny7CTPt5vZgb2YFuwhQ9tFmrqbNK2FtNJWdB7nITRHO257G4ptP4qjFU1tQ5nfwVzPYcxaJ/lqB194OlGqjlC97Te2t17h212/s6LpNMLKI+RWdDKjvIPM+YfRLVJO4JdjLJR6qRC78bqi+MuilJVGsWk9FHmOUljWi1Z1ksi+W1y68Yg//vqPUxcesOOXO1RtPkfx8hg53h6yFvS8AytHwMqSKAFPF2WuQziVDuaqPczzxghtvcTF64949qKfvscvOX+9j5boXap/uIy85iSzfEcxeXs/BL1SN76S7jeg1I7iPIhF/hUpcIxIy23uP3jO//2DPHz8knMjYChyBfe60+QtimGqPDYMxt8H/Wo3fk8XHqkdl/0AdvsBVG8XO1tv8s/DEfDJEPgve6P3CEWu4g6eIW/xcUy+WFwXkE4M+uVY/O2y7+2yPAT+jGjdh6q2EfnpAvf/fkr/QJy+J69GwD8JNV/DFTzL54uPx7MqY4OvAZ+u8xmFb6LRAAAAAElFTkSuQmCC",
      "palette": {
        "_type": "sanity.imagePalette",
        "darkMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#325165",
          "foreground": "#fff",
          "population": 0.93,
          "title": "#fff"
        },
        "darkVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#133f6c",
          "foreground": "#fff",
          "population": 8.98,
          "title": "#fff"
        },
        "dominant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#133f6c",
          "foreground": "#fff",
          "population": 8.98,
          "title": "#fff"
        },
        "lightMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#7068bc",
          "foreground": "#fff",
          "population": 1.45,
          "title": "#fff"
        },
        "lightVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#94acdb",
          "foreground": "#000",
          "population": 0.25,
          "title": "#fff"
        },
        "muted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#5a54af",
          "foreground": "#fff",
          "population": 0.8,
          "title": "#fff"
        },
        "vibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#2857af",
          "foreground": "#fff",
          "population": 7.75,
          "title": "#fff"
        }
      }
    },
    "mimeType": "image/png",
    "originalFilename": "whole.png",
    "path": "images/rafvlnhi/production/ca60a94ffc6ada9536428583d908e279b65a6c26-1920x1080.png",
    "sha1hash": "ca60a94ffc6ada9536428583d908e279b65a6c26",
    "size": 1363921,
    "uploadId": "xFutYYN8HqzQchebk44AUb10QK6AHLsB",
    "url": "https://cdn.sanity.io/images/rafvlnhi/production/ca60a94ffc6ada9536428583d908e279b65a6c26-1920x1080.png"
  },
  "caption": null,
  "link": null,
  "markDefs": null
}
```

As shown above, I have configured a GitHub personal access token to allow CodeBuild to access my private GitHub repository.

Then we configure the webhook that we want to use to kick start this build. In this example, we will just start the build on any push to the specified GitHub repository:

Now we select the container environment that we need to run this build, and in this case we will use the latest available Ubuntu image, and we will create a new AWS IAM service role at the same time:

```json
{
  "_key": "622acc079247",
  "_type": "image",
  "alt": null,
  "asset": {
    "_createdAt": "2025-06-05T07:57:55Z",
    "_id": "image-ca60a94ffc6ada9536428583d908e279b65a6c26-1920x1080-png",
    "_rev": "yO7itY9PAzaQqagh0UP0tM",
    "_type": "sanity.imageAsset",
    "_updatedAt": "2025-06-05T07:57:55Z",
    "assetId": "ca60a94ffc6ada9536428583d908e279b65a6c26",
    "extension": "png",
    "metadata": {
      "_type": "sanity.imageMetadata",
      "blurHash": "MNB|tBDP9G~pMy00%K-,9Gt6j-WUR*kCs,",
      "dimensions": {
        "_type": "sanity.imageDimensions",
        "aspectRatio": 1.7777777777777777,
        "height": 1080,
        "width": 1920
      },
      "hasAlpha": true,
      "isOpaque": false,
      "lqip": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsTAAALEwEAmpwYAAAC60lEQVR4nFXPWUyTBwDA8T6KxnOhhTKmQyEGR4HokKzCENuvx3e0fB8FpdJW44UuLk5LVQoCQRczM7OyGR88EGdwxIGUINpoNOoSj3nGK4tuDy4zMjWZ8cqA/g2IUR/+r7/kr0swWQYSsq3xhGwro3OdjMuvYELBMiYWrmTSl6vQF39NqiNIujvMdG0TGWo9U91DNTKtpJF0pZpPhQAphVr8o3x5QJeQLQxjw+XYGZtXzsSC5Uwq+gqDZQ2TxRBTlRqmyGFSnTUYHWGS7bUkO+oxio2kOOtIEVaTUuzj46LyuG5UtoV3WRkzq4QJc5agH8Kk9aS5wqSKNRhsG0i0biBRCKO31aG3N6B3NGFwbsHgaCBJCGK0rEI3Lkdk7HuNn6mSWLCUKeJG0t31fCLWkSTUohdqMQib0NsaMNibSHJuIUncSrK0jWRlO0b5e4zSd+hM5mo+MweZYV5HpvkbMuesJVdoYHZpM7nqDqZLETLEZtLFZjLkH8ny7CTPt5vZgb2YFuwhQ9tFmrqbNK2FtNJWdB7nITRHO257G4ptP4qjFU1tQ5nfwVzPYcxaJ/lqB194OlGqjlC97Te2t17h212/s6LpNMLKI+RWdDKjvIPM+YfRLVJO4JdjLJR6qRC78bqi+MuilJVGsWk9FHmOUljWi1Z1ksi+W1y68Yg//vqPUxcesOOXO1RtPkfx8hg53h6yFvS8AytHwMqSKAFPF2WuQziVDuaqPczzxghtvcTF64949qKfvscvOX+9j5boXap/uIy85iSzfEcxeXs/BL1SN76S7jeg1I7iPIhF/hUpcIxIy23uP3jO//2DPHz8knMjYChyBfe60+QtimGqPDYMxt8H/Wo3fk8XHqkdl/0AdvsBVG8XO1tv8s/DEfDJEPgve6P3CEWu4g6eIW/xcUy+WFwXkE4M+uVY/O2y7+2yPAT+jGjdh6q2EfnpAvf/fkr/QJy+J69GwD8JNV/DFTzL54uPx7MqY4OvAZ+u8xmFb6LRAAAAAElFTkSuQmCC",
      "palette": {
        "_type": "sanity.imagePalette",
        "darkMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#325165",
          "foreground": "#fff",
          "population": 0.93,
          "title": "#fff"
        },
        "darkVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#133f6c",
          "foreground": "#fff",
          "population": 8.98,
          "title": "#fff"
        },
        "dominant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#133f6c",
          "foreground": "#fff",
          "population": 8.98,
          "title": "#fff"
        },
        "lightMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#7068bc",
          "foreground": "#fff",
          "population": 1.45,
          "title": "#fff"
        },
        "lightVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#94acdb",
          "foreground": "#000",
          "population": 0.25,
          "title": "#fff"
        },
        "muted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#5a54af",
          "foreground": "#fff",
          "population": 0.8,
          "title": "#fff"
        },
        "vibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#2857af",
          "foreground": "#fff",
          "population": 7.75,
          "title": "#fff"
        }
      }
    },
    "mimeType": "image/png",
    "originalFilename": "whole.png",
    "path": "images/rafvlnhi/production/ca60a94ffc6ada9536428583d908e279b65a6c26-1920x1080.png",
    "sha1hash": "ca60a94ffc6ada9536428583d908e279b65a6c26",
    "size": 1363921,
    "uploadId": "xFutYYN8HqzQchebk44AUb10QK6AHLsB",
    "url": "https://cdn.sanity.io/images/rafvlnhi/production/ca60a94ffc6ada9536428583d908e279b65a6c26-1920x1080.png"
  },
  "caption": null,
  "link": null,
  "markDefs": null
}
```

And finally, we will specify that this project is going to use a buildspec file:

A buildspec file is where we define the phases of the build and what commands / actions we wish to perform as part of the build process. We will go into this in more detail in the next step!

You then just click “Create Build Project” to finish.

### **Step 2 - The buildspec file**

Our buildspec file contains all the information required to define our build process. We store this buildspec file in our GitHub repository along with the source code that we are building. A buildspec file can be as complex or as simple as your individual project requires, but for this example it’s pretty simple.

You’ll need to set up any environment variables that your build process requires. In our example, we only need a single environment variable; our Cloudsmith API Key. We need this to use the Cloudsmith CLI to push our build artifact to our Cloudsmith repository, and we don’t want to store our API-Key as plain text in the buildspec file as it would then be revealed in any build logs - not good!

To achieve this, we use AWS Secrets Manager to securely store our API-Key, and then we can reference it in our buildspec file as follows:

```json
{
  "_key": "ca1d4f4ca583",
  "_type": "code",
  "code": "env:\nsecrets-manager:\nCLOUDSMITH_API_KEY: CodeBuild/CloudsmithAPI:CLOUDSMITH_API_KEY",
  "filename": null,
  "language": "text",
  "markDefs": null
}
```

At a minimum you then, you’ll need 3 phases in your build:

- An install phase
- A build phase
- A post-build phase

### **The Install phase:**

The install phase is where we install any prerequisites that our build needs, and this of course will vary depending on what you are building and what your individual requirements are. In our case that means the required tooling to build our Debian package, and of course the correct Python runtime for the Cloudsmith CLI and the Cloudsmith CLI itself:

```json
{
  "_key": "171a7c7c4091",
  "_type": "code",
  "code": "install:\nruntime-versions:\npython: 3.x\ncommands:\n- apt update\n- apt-get install ruby ruby-dev rubygems build-essential -y\n- gem install --no-document fpm\n- pip install cloudsmith-cli",
  "filename": null,
  "language": "text",
  "markDefs": null
}
```

### **The Build phase:**

The build phase is where we execute the commands required to actually build our package. For our [Debian](https://cloudsmith.com/debian-repository/) package, it’s pretty straightforward:

```json
{
  "_key": "c8ee9892470d",
  "_type": "code",
  "code": "build:\ncommands:\n- make\n- fpm -f -s dir -t deb -v 1.0.1 -n cloudsmith-codebuild-test .",
  "filename": null,
  "language": "text",
  "markDefs": null
}
```

### **The Post-build phase**

This is where the magic happens! In the post build phase, we only require a single command - `cloudsmith push` to upload the result of the build to our Cloudsmith repository

```json
{
  "_key": "574a386a88e3",
  "_type": "code",
  "code": "post_build:\ncommands:\n- cloudsmith push deb demo/codebuild-demo/debian/buster cloudsmith-codebuild-test_1.0.1_amd64.deb",
  "filename": null,
  "language": "text",
  "markDefs": null
}
```

That’s it, that’s all we need to build this package, and store it in our Cloudsmith repository. It really is that simple. Now of course, your build process itself may be a lot more complex, but to add Cloudsmith to your build process really is just two commands:

1. pip install cloudsmith-cli

2. cloudsmith push FORMAT OWNER/REPOSITORY PACKAGE_FILENAME

We don’t get in the way, you don’t need to totally reconfigure your entire build and we try to make it as easy as possible for you to get up and running!

### **Step 3 - Running the Build**

As we configured this CodeBuild project to start on a push to our GitHub repository, If we just make a change to our source and then commit the change the build will start:

The job has been Submitted, Queued and CloudBuild is now provisioning the container to run the build. Once provisioned, we can tail the logs to watch the progress of the build:

Installing the Cloudsmith CLI:

Pushing build artifact to Cloudsmith:

When the build finishes, our package has been built successfully and uploaded to our Cloudsmith Repository. If we now login to Cloudsmith and view the repository, we can see our package:

## **To sum up**

We hope that this demonstrates how simple it is to integrate Cloudsmith with your existing (or new) AWS CodeBuild projects, and gives you an idea of what you can achieve with your own CI/CD pipelines.

If you’d like to try it yourself, you can sign up for a fully-featured free trial at cloudsmith.com, and we are here to help you every step of the way.

We wish you very happy and successful builds!

One reason for building a ‘single source of truth’ for [software assets](https://cloudsmith.com/product/universal/) is that it gives the organization control over who can use what when.

The ‘wild West’ of public repositories gives no control at all and can lead to a situation in which packages and dependencies of dubious provenance are integrated into builds without a second thought. Within the Cloudsmith world, we want to have the maximum security and control possible.

Permissions can also help the individuals and teams in the organization find what they need faster, by ensuring that the repositories they see are optimized for them alone.

To help make that happen, Cloudsmith includes the ability to create teams and organizations and limit access to repositories at team and individual level. Let’s take a look in more detail about how to make that happen, and discuss other considerations when building out teams and orgs.

### Creating Organizations

It all starts with the organization. Organizations give you the ability to configure access for teams, individuals and machines that map to your companies organizational structure - and building security and resilience into the management of teams and workflows is essential in today's ecosystem.

We recommend creating only one organization in Cloudsmith. You are not limited to one, but as we allow as many teams as you like beneath any organization, there isn’t really a need to create more. Similarly, as all teams and users are associated with a specific organization, more than one of the latter will usually mean replication of effort.

As a further consideration, a single organization helps in terms of transparency as reporting, auditing etc is also delivered at the organization level.

Creating an organization is simple ([full details are in our documentation here](https://help.cloudsmith.io/docs/organisations)). Once that is done, you can configure name, billing and contact details and so on before considering global permissions.

At the organization level Cloudsmith allows users to define global privileges for members around inviting new collaborators and members, and creating teams and repositories. In the same way object privileges can be set - that determine the access level members have in terms of access and actions for repositories within that organization.

Similarly, at an organization level you can define usage limits for repositories and check what the current situation is around usage at any time - handy for managing or avoiding unpredictable usage bills.

### **Creating And Managing Teams**

In order to manage permissions and access at a more granular level, you will want to create teams within organizations. Cloudsmith then enables permissions for teams to be managed at the repository level.

When creating teams, think clearly about ****meaningful distinctions**** between groups within your organization when it comes to package management. You may want to limit publishing packages to repositories (write access) to specific teams, which limiting others to read access, for example.

To put that another way, when giving any team access to a repo, you will be asked to specify the level of access for that team (as shown in the image below), so it makes sense to build out teams with that in mind.

Although teams can help manage permissions quickly and transparently, it is of course also possible to give named individual users access to individual repositories, and specify what level of access they have - in this way individuals not in teams can be given access, and those already in teams can be given improved access over that offered to the team as a whole.

Lastly remember that ****ultimately permissions are controlled at the repository level****. When creating a repository (or indeed at any time after) Cloudsmith enables you to specify precisely what ‘Admin’, ‘Write’ and ‘Read’ access will enable each user or team to perform, and this is specified at the repository level as shown in Figure 2.

This effectively means that a single team (or individual) can have ‘Write’ access to separate repositories that means something slightly different in each case. Ideal for fine-grained control. Cloudsmith is all about securing your software assets. Our platform gives the control to do that. Remember - err on the side of caution!

If you haven't already, try out these features through a free trial of Cloudsmith today. Get started with your first repository within 60 seconds!

[Signup](https://cloudsmith.com/signup/)

What software assets does your organization use?

What sounds like a simple question is anything but. If we include every package and dependency that ends up in the code we produce then for most development teams the truthful answer is ‘we don’t know’.

As we’ve said enough times already, that really isn’t good enough anymore. And that’s one of the core motivations behind Cloudsmith. A central private repository provides an ‘isolation layer’ in which everything you use is both stored and controlled.

Cloudsmith is entirely flexible in terms of how repositories are built and structured. Depending on what is convenient for your organization, you can either build universal repositories in which packages in multiple formats sit side-by-side, or format specific repositories.

But our support for transparency around the use of software assets across the entire organization doesn’t stop there.

## **Download And Access Logs**

By providing a single repository for all your assets, Cloudsmith enables you to check at a glance exactly which individuals and processes are downloading those assets. This can be helpful in a number of ways. It certainly is if you need to quickly establish precisely where any given package may have been used in the wake of identifying a specific vulnerability.

Download logs in Cloudsmith, as shown below, mean you have a record of precisely what is being used where, and by who or what. At any moment you have a full audit trail and detailed information relating to every download of every asset, so you can ensure the right people are accessing the right things in the right way.

We also provide event logs along similar lines, so you can keep a handle of any actions against any package within your Cloudsmith environment.

## **Full Statistical Reporting**

Beyond granular level access logs, Cloudsmith also supports aggregated reporting around access to each individual repository. This includes download and upload counts and associated bandwidth, plus downloads and uploads reported against geolocation, package type and distribution.

This type of reporting has a variety of uses. For one, it helps manage your account with Cloudsmith and ensure total visibility around usage, which in turn can be used to accurately forecast costs. (Cloudsmith also supports the configuration of retention/lifetime rules, meaning you can automatically delete or move packages after a certain amount of time in order to actively control those costs).

Full statistical reporting also provides key insight around which packages and formats are most popular, plus which are trending up or down in terms of usage. This data in turn can help understand where the business is particularly exposed to one package or package type, or alternatively which packages are being stored and rarely used.

All in, we provide a variety of methods for understanding how your repositories, packages and assets are used. All of them support better, more efficient development and distribution.
