Engagement led by Cloudsnap’s founding engineer

Consistent, safer releases for a global maritime company's business-critical systems

CI/CD, standardized workflows and Infrastructure as Code for the core operational systems of a maritime company serving ports and fleets.

Results

  • ReleasesMore reliable, consistent releases for business-critical systems

The challenge

The company’s core operational applications serve ports and fleets. They handle high volumes of time-sensitive work. Releases needed to be consistent and safe, and the systems behind them needed modernizing.

What we did

  1. Pipelines. CI/CD for the core operational applications.
  2. Standard workflows. Standardized build, test and deploy workflows.
  3. Environments. Infrastructure as Code and standard environments.
  4. Deployment safety. Better monitoring and safer deployments.
  5. Modernization. Modernized high-volume, time-sensitive systems.

How this kind of platform fits together

Our standard drawings of the services used here. They show the pattern, not the client’s actual architecture.

  • Delivery
  • DevSecOps add-on
  • Errors after a deploy
  • Revert
The CI/CD pipeline, from pull request to productionLeft-to-right flow. A pull request triggers build and test, then security scans of dependencies, secrets, infrastructure code and container images. Required checks must pass before merging to the main branch. The merge packages a container image once and pushes it to the registry; a dashed box marks the SBOM, signature and provenance added by the DevSecOps add-on. The pipeline asks your cloud for a short-lived OIDC token, with no stored keys, and deploys to staging. An approval gate leads to the production deploy of the same image. In this example production shows errors after a deploy: a revert merges, the previous version redeploys through the same pipeline, and production is healthy again.On every pull requestPull requestBuildTestScan codeScan imageDependencies, secrets, infrastructure code, imagesMerge to mainRequired checks passPackage imageBuilt onceRegistryPinned by digestDevSecOps add-onSBOM, signature and provenance for every imageOIDC tokenStagingShort-lived OIDC token,no stored keysApprovalProductionThe same image as stagingErrors after a deployRollback is a revertThe previous version redeploysThe CI/CD pipeline, from pull request to productionLeft-to-right flow. A pull request triggers build and test, then security scans of dependencies, secrets, infrastructure code and container images. Required checks must pass before merging to the main branch. The merge packages a container image once and pushes it to the registry; a dashed box marks the SBOM, signature and provenance added by the DevSecOps add-on. The pipeline asks your cloud for a short-lived OIDC token, with no stored keys, and deploys to staging. An approval gate leads to the production deploy of the same image. In this example production shows errors after a deploy: a revert merges, the previous version redeploys through the same pipeline, and production is healthy again.On every pull requestPull requestBuildTestScanScans dependencies, secrets,infrastructure code and imagesMerge to mainRequired checks passPackage imageBuilt onceRegistryPinned by digestDevSecOps add-onSBOM, signature, provenanceShort-lived OIDC token, no stored keysStagingApprovalProductionErrors after a deployRollback is a revertIt merges to main, and the previousversion redeploys through the pipeline.
Every pull request is built, tested and scanned. A merge packages the image, deploys it to staging with a short-lived OIDC token and waits for an approval before production. Rolling back is a revert.
  • Change flow
  • Reads state
  • Drift found
  • Fixed in code
Infrastructure as code: plan, review, apply, and a drift checkFlow diagram. Infrastructure is code in Git: Terraform, OpenTofu or Bicep, in modules. Every pull request runs a plan with policy checks and infrastructure code scanning (Checkov, TFLint). The plan is posted to the pull request for review, with an approval step for production. Merging applies the change to your cloud. Plan reads, and apply updates, the remote state, which is locked and encrypted in your own storage. A scheduled plan compares the cloud with the code. In this example someone changes a resource in the console: the drift check finds it and raises an alert, and the fix goes back into code as a pull request. The next run applies it, and the cloud matches the code again.Code in GitTerraform, OpenTofu, BicepPlanOn every pull requestCheckov, TFLint, policyReviewPlan posted to the PRApproval for productionApplyOn mergeYour cloudMatches the codeRemote stateLocked, encrypted, in your storagePlan readsApply updatesDrift checkScheduled planDrift found: changed in the consoleFixed in code, as a pull requestInfrastructure as code: plan, review, apply, and a drift checkFlow diagram. Infrastructure is code in Git: Terraform, OpenTofu or Bicep, in modules. Every pull request runs a plan with policy checks and infrastructure code scanning (Checkov, TFLint). The plan is posted to the pull request for review, with an approval step for production. Merging applies the change to your cloud. Plan reads, and apply updates, the remote state, which is locked and encrypted in your own storage. A scheduled plan compares the cloud with the code. In this example someone changes a resource in the console: the drift check finds it and raises an alert, and the fix goes back into code as a pull request. The next run applies it, and the cloud matches the code again.Code in GitTerraform, OpenTofu or Bicep, in modulesPlan, on every pull requestCheckov, TFLint and policy checksReads the remote stateReviewPlan on the PR, approval for productionApply, on mergeState locked, encrypted, in your storageYour cloudMatches the codeDrift checkA scheduled planDrift found: changed in the consoleFixed in code, as a pull requestThe next run applies the fix and thecloud matches the code again.
A plan runs on every pull request and apply runs on merge, with an approval step for production. State lives in your own storage, locked and encrypted. A scheduled plan catches console changes, and the fix goes back into code.

Stack

  • CI/CD
  • Standardized build, test and deploy workflows
  • Infrastructure as Code
  • Standard environments
  • Monitoring

Related services

  • DevOps & CI/CD

    CI/CD on GitHub Actions, GitLab CI or Azure DevOps. Build, test, scan and deploy on every merge, with OIDC instead of stored cloud keys.

  • Platform engineering & IaC

    Your infrastructure in Terraform or OpenTofu, GitOps for deploys, golden paths for new services and patched, rebuildable VM fleets. Fixed price.

  • Observability & SRE

    Monitoring, alerting and SLOs on Prometheus, Grafana, OpenTelemetry or your cloud's tools. Uptime checks come with every monthly plan.

More case studies

Recognize your situation?

Thirty minutes with an engineer who would do the work. We’ll tell you which of these paths fits, or whether you need any of them.

Or email hello@cloudsnap.io. We reply within one business day.