Share
Embed
Atlantis on Cloud Run
Bruno Schaatsbergen
September 09, 2025
Transcript
41 slides
-
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Atlantis on Cloud Run August, 2025 -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited @bschaatsbergen Bruno Schaatsbergen -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited CI/CD: our most powerful team member -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited One lock to block them all -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited One lock to block them all -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited BoltDB Great, if you only have one writer … -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited BoltDB Great, if you only have one writer Atlantis lock Volume with BoltDB on it -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Challenges • Single, over-privileged IAM identity • Global locking stored locally • Single point of failure • No horizontal scaling • No built-in high availability or multi-region support • Throughput bottleneck • Slow recovery after crash or redeploy -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Redis to the rescue -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Redis doesnʼt care where you run Atlantis X Redis Atlantis Y -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Shared components 1. Memorystore for Redis instance 2. … -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited The goal Atlantis X Atlantis Y Atlantis Z Repo 1, 2 Repo 3, 4 Repo 5, 6 -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Deploying to Cloud Run -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Deploying to Cloud Run -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Deploying to Cloud Run -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited ATLANTIS_DATA_DIR -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited The illusion of a disk Atlantis data Google Storage Bucket -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Mounting a bucket in Cloud Run -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Wanted simple. Got complicated. -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Atlantis storage bucket -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited GCSFuse: Latency as a feature “Writes will fall back to staged writesˮ -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Digging into ATLANTIS_DATA_DIR -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Digging into ATLANTIS_DATA_DIR • Checked out Git refs for pull requests • Terraform binaries • Terraform providers -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Digging into ATLANTIS_DATA_DIR • Checked out Git refs for pull requests EPHEMERAL STORAGE • Terraform binaries • Terraform providers -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Digging into ATLANTIS_DATA_DIR • Checked out Git refs for pull requests EPHEMERAL STORAGE • Terraform binaries INCLUDED IN CONTAINER • Terraform providers -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Digging into ATLANTIS_DATA_DIR • Checked out Git refs for pull requests EPHEMERAL STORAGE • Terraform binaries INCLUDED IN CONTAINER • Terraform providers TERRAFORM PLUGIN CACHE -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Ejected! -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Provider caching on ephemeral storage -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Provider caching on ephemeral storage -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Keeping an instance around -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Providing ingress to Atlantis -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Providing ingress to Atlantis Atlantis X Atlantis Y Atlantis Z Global Load Balancer -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Providing ingress to Atlantis -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Shared components 1. Memorystore for Redis instance 2. Global Load Balancer -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Just Enough YAML -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Reference code -
CONFIDENTIAL AND PROPRIETARY Any use of this material without specific
permission is strictly prohibited Weʼre looking for contributors! github.com/runatlantis/atlantis #atlantis on the CNCF Slack