Quick Notes153 words

Deploying containers, binaries and scripts — quick notes

Containers, binaries, scripts — quick notes

PrincipleDetail
Build once, deploy manySame artifact to every environment
Environment differencesBelong in configuration, not separate builds
ContainersDeploy by digest; alternatively use a unique, never-reused tag and lock it after deployment
Pipeline ArtifactRun-scoped files; deleting the run deletes its associated artifacts
Feed packageExact versioned payload; Azure Artifacts permanently reserves a published version number
ScriptsPrior target state can affect imperative results; handle prior and partial state idempotently

Traps

  1. Rebuilding per environment — you no longer ship what you tested.
  2. A reused :latest tag can resolve to a different image by production deployment time.

Sources: https://learn.microsoft.com/en-us/credentials/certifications/resources/study-guides/az-400 · https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/workload-supply-chain · https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/publishing-workflows · https://learn.microsoft.com/en-us/azure/devops/pipelines/artifacts/pipeline-artifacts · https://learn.microsoft.com/en-us/azure/devops/pipelines/process/create-multistage-pipeline · https://learn.microsoft.com/en-us/azure/azure-app-configuration/faq · https://learn.microsoft.com/en-us/azure/container-registry/container-registry-image-tag-version · https://learn.microsoft.com/en-us/azure/container-registry/container-registry-concepts · https://learn.microsoft.com/en-us/azure/devops/pipelines/process/tasks · https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/maturity-model · https://learn.microsoft.com/en-us/azure/devops/artifacts/artifacts-key-concepts · https://docs.github.com/en/packages/learn-github-packages/introduction-to-github-packages

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free