$ kubectl get all -A
Cloud Backend
What is it?
One example backend where common cloud, DevOps and security tools each have a single job: code reaches two clouds through Git only, infrastructure changes go through reviewed pull requests, the website sits behind Cloudflare, each signal goes only to the tools that need it, people sign in once and reach internal tools without a VPN, no cloud access key lives longer than a few hours, and clusters run only images that CI signed.
// git push --> production
The architecture
Five flows share the platform: shipping an app, changing the infrastructure, serving the website, collecting logs and detecting threats, and operating it. The diagrams after this one zoom in on traffic, logs, identity and secrets, and the supply chain; the page ends with the Kubernetes vocabulary.
// who gets in, and how
Traffic and access
Three doors, one per audience. Visitors only ever reach Cloudflare; engineers reach internal tools through Cloudflare Access and production over WARP with cloud IAM credentials, so nothing else listens on the internet.
// route by signal
Logs, metrics and security
An OpenTelemetry Collector agent in each cluster forwards everything to a gateway in its cloud, and the gateway routes each signal: all of it to Datadog, and only security events to the SIEM, so the tool that costs most per gigabyte sees the least data. Cloud audit logs and security findings reach the SIEM directly.
// no long-lived keys
Identity and secrets
People sign in once, through Entra ID, and machines never use a stored cloud key: every credential is issued on demand and expires within hours, so a copied file or a leaked log line stops working by itself. Leaving someone's Entra group removes their access everywhere within hours.
// only signed images run
Supply chain
Every change passes a row of gates, and any gate can stop it: a secret never lands in Git, a risky package never enters the cache, and a cluster runs only images that CI signed. Infrastructure has its own gates, and Wiz checks afterwards for what got through or was changed by hand.
// one job each
Who does what
| Tool | Job in this model | Talks to |
|---|---|---|
| Configures the VMs that are not in Kubernetes. | VMs, Vagrant | |
| CD: keeps every cluster equal to the gitops repo. | Azure Repos, JFrog, Kubernetes | |
| Runs Terraform from pull requests, so every infrastructure change is reviewed with its plan. | Azure Repos, Terraform | |
| Runs one copy of the platform (EKS, ECR, EC2, VPC, IAM) and the website's own EKS cluster. | Terraform, Argo CD, Wiz | |
| Runs the other copy: AKS, ACR, Azure VMs, VNet and Entra ID. | Terraform, Argo CD, Wiz | |
| Hosts the three Git repos behind branch policies and push protection, and Boards for work items. | Jenkins, Atlantis, Argo CD | |
| DNS, CDN, WAF and DDoS protection in front of the website; Zero Trust in front of the internal tools: Access, WARP and cloudflared tunnels. | visitors, Envoy, Entra ID, Datadog | |
| Checks every Terraform plan against Rego policies before Atlantis may apply it. | Atlantis | |
| Signs each image and attests its SBOM with a key kept in AWS KMS or Key Vault. | Jenkins, ECR, ACR, Kyverno | |
| Dashboards, APM and monitors for the apps, Argo CD and JFrog; Cloudflare's logs too. | the Collector gateway, Cloudflare, on-call | |
| Builds and runs images on the laptop. | nothing in production | |
| Sensors on laptops, VMs and nodes that detect and contain attacks on the machine. | EDR console, the SIEM | |
| The one login for people: MFA and Conditional Access, single sign-on into the clouds and tools, groups mapped to roles. | AWS, AKS, Cloudflare Access, the web tools | |
| Envoy Gateway is the website cluster's ingress; it sends access logs and traces in OTLP. | Cloudflare, the Collector | |
| Copies secrets from the cloud stores into Kubernetes Secrets, using the pod identity of its cloud. | Secrets Manager, Key Vault | |
| Packages each app and each add-on as a chart, with values per environment. | Argo CD, JFrog | |
| CI: tests, builds, scans, signs and pushes images, publishes charts, bumps the tag in the gitops repo. | Azure DevOps, Podman, JFrog | |
| Artifactory hosts the Helm charts and proxies npm, PyPI and Maven; Curation blocks risky packages, Xray scans what is stored. | Jenkins, Argo CD, Datadog | |
| Runs the apps, the website and the add-ons, on EKS and AKS. | Argo CD, the registries | |
| Admission policies in every cluster: only signed images from our registries may run. | Kubernetes, Cosign | |
| One protocol, OTLP; a Collector agent per cluster and a gateway per cloud that routes traces, metrics and logs. | apps, Envoy, Datadog, the SIEM | |
| Builds images on the Jenkins agents, rootless and without a daemon. | Jenkins, ECR, ACR | |
| Stores cluster metrics and evaluates alert rules; Alertmanager pages on-call. | the Collector | |
| AWS Secrets Manager and Azure Key Vault hold passwords, API keys and the signing keys. | External Secrets, Cosign | |
| Shells on the VMs without an open SSH port: SSM Session Manager on AWS, Azure Bastion on Azure; every session is logged. | VMs, Entra ID, the SIEM | |
| Collects security logs, cloud audit logs, EDR detections and Wiz findings, and alerts the security team; candidates are compared below. | the Collector gateway, EDR, Wiz | |
| The standard log protocol of VMs and network appliances. | the Collector | |
| Declares the resources in both clouds; keeps state in S3 or Blob Storage. | AWS, Azure | |
| Scans each image for known vulnerabilities in Jenkins and writes its SBOM. | Jenkins, Cosign | |
| Local VMs to test Ansible roles before they reach the cloud. | Ansible | |
| Agentless cloud security: scans both clouds for misconfigurations and vulnerabilities. | AWS, Azure, the SIEM |
Other choices. This is one coherent model, not the only one. The comparisons below cover the Git host, CI, monitoring, private access and the SIEM. Docker and Podman build the same OCI images, so the laptop and CI can differ. EDR is a category: CrowdStrike Falcon, Microsoft Defender for Endpoint and SentinelOne all fit that box. HashiCorp Vault could replace both cloud secret stores with one, and issue database passwords on demand. gitleaks in a pre-commit hook catches a secret before it even leaves the laptop. OPA Gatekeeper can replace Kyverno, Checkov can replace Conftest, and Grype and Syft can replace Trivy. Sources: Azure DevOps to Jenkins, Atlantis Git hosts, Argo CD clusters, Artifactory remote repositories, kube-prometheus-stack, Alertmanager, cloudflared in Kubernetes, azurerm backend, Azure inventory, Vault database secrets, gitleaks.
// pick one per row
Interchangeable pieces
Four places in the overview carry a slash: either tool fits there, and the rest of the model stays the same. The first column is the one the steps above describe; for monitoring they use both. The SIEM has no name in the overview, so its table compares four common choices.
Git host: Azure DevOps or GitHub
This model uses Azure DevOps because Repos, Boards and Entra ID live in one Microsoft tenant. GitHub takes the same place: Argo CD, Atlantis and Jenkins work with both.
| Hosting | Azure DevOps Services, or Azure DevOps Server on your own machines | GitHub.com, or GitHub Enterprise Server on your own machines |
| Merge rules | Branch policies: reviewers, build validation, linked work items | Rulesets and branch protection: reviews, status checks |
| Work tracking | Boards: backlogs, sprints, work items linked to commits | Issues and Projects |
| Built-in CI | Azure Pipelines | GitHub Actions |
| Secret scanning | GitHub Secret Protection for Azure DevOps, with push protection | GitHub Secret Protection, with push protection |
| Sign-in | Each organization is connected to an Entra ID tenant | Entra ID through Enterprise Managed Users or SAML, on GitHub Enterprise |
| Open source | Public projects are retired; they turn private in 2027 | Public repositories, where most open source lives |
Sources: branch policies, rulesets, Azure DevOps and Entra ID, Enterprise Managed Users, push protection, public projects retirement.
CI: Jenkins or Azure Pipelines
Jenkins is here because it runs anywhere and its agents sit on our own VMs, next to the registries. Azure Pipelines removes the controller you would otherwise run and patch.
| Who runs it | You: the controller, its agents, upgrades and plugin updates | Microsoft runs the service; agents are Microsoft-hosted or your own |
| Pipeline file | Jenkinsfile, in Groovy | azure-pipelines.yml, in YAML |
| Extensions | Plugins, each with its own releases and security advisories | Tasks from the Visual Studio Marketplace |
| Trigger from Azure Repos | An Azure DevOps service hook | Built in, including build validation on pull requests |
| Cloud credentials | The agent VM's instance profile or managed identity | Service connections with workload identity federation; AWS through the AWS Toolkit's OIDC option |
| Cost | Free software; you pay for the VMs and the time to run them | Free tier of one Microsoft-hosted job (1,800 minutes a month) and one self-hosted job, then per parallel job |
Sources: Jenkins pipelines, Jenkins security advisories, Azure DevOps to Jenkins, parallel jobs, workload identity service connections, Azure DevOps to AWS with OIDC.
Monitoring: Datadog or Prometheus
The model runs both: Prometheus in each cluster for metrics and alert rules, Datadog for dashboards, APM and logs across everything. Either one can also work alone.
| Who runs it | Datadog, as a service that stores and scales the data | You: one Prometheus per cluster, Grafana for dashboards |
| Signals | Metrics, traces, logs and APM in one place | Metrics only; Loki adds logs and Tempo adds traces |
| Alerting | Monitors, with paging integrations | Rules in Prometheus; Alertmanager routes and pages |
| Retention | Set by your plan, kept by Datadog | Local disk, 15 days by default; Thanos or Mimir for long-term |
| OpenTelemetry | The Collector's Datadog exporter, or OTLP into the Agent | A native OTLP receiver since Prometheus 3, or remote write from the Collector |
| Argo CD and JFrog | The Agent's Argo CD check and the JFrog Cloud integration | Scrape Argo CD's metrics endpoint and Artifactory's OpenMetrics API |
| Cost | Priced per host and by data volume, so it grows with the fleet | Free software; you pay for storage and the people who run it |
Sources: Datadog OTLP ingestion, Datadog pricing, Prometheus storage, Prometheus and OpenTelemetry, Thanos, Loki, Argo CD metrics, JFrog Open Metrics.
Private access: Cloudflare Zero Trust, a VPN or Teleport
Internal UIs and private APIs need a way in that is not the open internet. This model uses Cloudflare Zero Trust because Cloudflare already sits at the edge and its tunnels are outbound only. A VPN puts the laptop on the network; an access proxy decides app by app.
| Who runs it | Cloudflare; you run cloudflared in each VPC / VNet | You, on a VM in each cloud | AWS, as a managed endpoint | You, or Teleport as a cloud service |
| How it connects | Outbound tunnels from cloudflared; a browser or the WARP client on the laptop | A TLS tunnel from the client to the server | An OpenVPN-based tunnel into one VPC | Agents dial out to the proxy; tsh or a browser on the laptop |
| Sign-in | Entra ID or another identity provider, plus device posture rules | Certificates, plus plugins for LDAP or RADIUS | Certificates, Active Directory, or SAML with Entra ID | GitHub on Community; Entra ID, OIDC and SAML on Enterprise |
| Scope | Per app, hostname or private IP range | The networks the server routes | The networks its authorization rules allow | Per cluster, server, database or app |
| Audit | Access and gateway logs; Logpush on contract plans | Connection logs, sent as syslog | Connection logs to CloudWatch Logs | Audit log and recorded sessions |
| Price | Free up to 50 users, then per user | The VM | Per endpoint-hour plus per connection-hour | Community is free under 100 employees and US$10M revenue; Enterprise is quoted |
Tailscale and NetBird add SSO and access rules on top of WireGuard. AWS Verified Access and Microsoft Entra Private Access are the clouds' own identity-aware proxies.
Sources: Cloudflare Tunnel, private networks, Access with Entra ID, Zero Trust plans, OpenVPN manual, Client VPN authentication, Client VPN authorization rules, Client VPN pricing, Teleport editions, Tailscale, AWS Verified Access, Entra Private Access.
SIEM: four common choices
The model leaves the SIEM unnamed. It receives security logs from the Collector gateways, cloud audit logs through its own connectors, and EDR and Wiz findings, and any of these can play that part. They differ in who hosts them, how you query them and how they bill.
| Hosting | Splunk Cloud Platform, or Splunk Enterprise on your own machines | A cloud service only, on a Log Analytics workspace | Elastic Cloud, hosted or Serverless, or self-managed | A cloud service only, on Google's infrastructure |
| Query language | SPL | KQL | ES|QL, KQL or EQL | UDM search; YARA-L for detection rules |
| Billing | By ingest, workload or activity | Per GB ingested, pay-as-you-go or commitment tiers from 100 GB a day | Serverless: per GB ingested and retained; hosted: by resources | By ingestion, in packages that include 12 months of retention |
| Response | SOAR in the Premier edition, or Splunk SOAR | Automation rules and playbooks on Logic Apps | Rule actions, cases and Workflows | SOAR and case management in every package |
| Cloud logs | Splunk Add-on for AWS, and one for Microsoft cloud services | Native for Azure and Entra ID; an S3 connector for AWS | Elastic Agent integrations for AWS and Azure | Cloud feeds, forwarders and OpenTelemetry collectors |
Sentinel moves fully into the Microsoft Defender portal after 31 March 2027. Because the gateway already filters and routes, switching SIEM changes one exporter, not every source.
Sources: Splunk pricing, Splunk Add-on for AWS, SPL, Sentinel billing, Sentinel for AWS, Sentinel playbooks, Elastic Security pricing, Elastic query languages, Google SecOps, SecOps packages, YARA-L.
// kubectl api-resources
Kubernetes vocabulary
A cluster has two halves: the control plane, which stores what you asked for and decides where it runs, and the nodes, which run it. On EKS and AKS the cloud runs the control plane; you get its API and bring the nodes, unless you pick EKS Auto Mode or AKS Automatic, where the cloud manages them too. The first diagram shows the parts of a cluster, the second the objects you write into it, and the table defines each word.
The parts of a cluster
The objects you write
Glossary
| Term | What it is | In this model |
|---|---|---|
| Admission webhook | A call the API server makes before it saves an object; the webhook can reject or change it. | Kyverno rejects pods whose image is not signed. |
| cloud-controller-manager | Control plane loops that talk to the cloud: load balancers, routes, node details. | Run by AWS and Azure inside the managed control plane. |
| CNI plugin | Gives each pod an IP address and connects it to the network. | Amazon VPC CNI on EKS, Azure CNI on AKS. |
| ConfigMap | Settings that are not secret, read by pods as files or environment variables. | Per-environment settings rendered from the Helm values. |
| Container runtime | Pulls images and runs containers on behalf of the kubelet, through the CRI. | containerd on EKS and AKS nodes. |
| Control plane | The API server, etcd, the scheduler and the controllers: the half that decides. | Run by EKS and AKS; you only see the API. |
| CustomResourceDefinition | Adds a new object type to the API. | Argo CD's Application, Kyverno's ClusterPolicy, External Secrets' ExternalSecret. |
| DaemonSet | Runs one copy of a pod on every node, or on chosen nodes. | The Datadog Agent and the EDR sensor. |
| Deployment | Declares a stateless app: image, replica count, rollout strategy. | Each app and the website; Jenkins changes the image tag through Git. |
| etcd | The key-value database that stores every object. | Hidden inside EKS and AKS. EKS encrypts its data with KMS by default; AKS can, with Key Vault. |
| Gateway, HTTPRoute | Gateway API objects: a Gateway opens a listener, HTTPRoutes send hosts and paths to Services. They succeed Ingress, which is frozen. | Envoy Gateway in the website cluster. |
| HorizontalPodAutoscaler | Changes a Deployment's replica count from CPU, memory or custom metrics. | Scales the website pods with CPU load or request rate. |
| Job, CronJob | Pods that run to completion, once or on a schedule. | Not used in this model; typical for database migrations and nightly reports. |
| kube-apiserver | The REST API in front of the cluster; every component and every client goes through it. | kubectl reaches its private endpoint over WARP; Argo CD applies Git through it. |
| kube-controller-manager | Control loops that turn objects into more objects: a Deployment into ReplicaSets, a ReplicaSet into Pods. | Run by EKS and AKS. |
| kube-proxy | Programs each node so that a Service IP reaches one of its pods, with iptables rules by default. | A DaemonSet on EKS and AKS nodes. |
| kube-scheduler | Picks a node for each new pod, from its resource requests, affinity rules and taints. | Run by EKS and AKS. |
| kubeconfig | A file with the API server address and the credentials that kubectl uses. | aws eks update-kubeconfig and az aks get-credentials write one; the tokens come from IAM or kubelogin. |
| kubectl | The command-line client of the API. | Engineers, over WARP, with cloud IAM tokens. |
| kubelet | The agent on each node: registers it, starts its pods through the runtime, reports their health. | On every EKS and AKS node. |
| Label, selector | Key-value tags on objects, and the queries that match them. | app=web ties the website's Service and ReplicaSet to its pods. |
| Namespace | A folder for objects, with its own access rules and quotas. | One per app, and one per add-on. |
| Node | A machine that runs pods, with a kubelet, a runtime and kube-proxy. | EC2 or Azure VMs in managed node groups or node pools; Karpenter or the Cluster Autoscaler adds more when pods do not fit. |
| Operator | A controller and its custom resources, that runs a piece of software for you. | The External Secrets Operator; Argo CD works the same way. |
| PersistentVolume, PVC | A PersistentVolumeClaim asks for storage; the cluster binds it to a PersistentVolume that its StorageClass creates. | EBS volumes on EKS and Azure Disks on AKS, through their CSI drivers. |
| Pod | The smallest unit: one or more containers sharing an IP, volumes and a lifecycle. | Every app instance, the website, every add-on. |
| RBAC | Roles and ClusterRoles list allowed actions; RoleBindings grant them to users, groups or ServiceAccounts. | EKS access entries and AKS Entra ID groups map people to roles. |
| ReplicaSet | Keeps a fixed number of identical pods running; a Deployment creates one per version. | Created by Deployments, never by hand. |
| Secret | A ConfigMap for sensitive values. Base64 is only an encoding: the protection comes from RBAC and etcd encryption. | Written by External Secrets from Secrets Manager and Key Vault. |
| Service | A stable virtual IP and DNS name in front of a set of pods. Types: ClusterIP, NodePort, LoadBalancer. | One per app; the website's HTTPRoute points to its Service. |
| ServiceAccount | The identity of a pod inside the cluster. | EKS Pod Identity and AKS Workload ID map it to a cloud role. |
| StatefulSet | Like a Deployment, but each pod keeps a stable name and its own volume. | Databases and queues, when they run in the cluster. |