Multi-Cloud and Hybrid Cloud Architecture Questions
Designing systems that span multiple cloud providers or bridge cloud and on-premises. Covers cloud-agnostic abstraction, workload placement across providers or environments, cross-cloud networking and identity federation, data gravity, infrastructure-as-code and centralized observability that span providers, and the operational cost of avoiding vendor lock-in versus the risk of accepting it. Also covers keeping a system correct once it spans providers: leader election, distributed transactions, rate limiting, and service discovery across cloud or cluster boundaries. Resilience patterns here are scoped to crossing a provider or on-prem/cloud boundary (for example failover from one provider to another, or from on-prem to cloud). Resilience across regions of a single provider, with no second provider or on-prem leg involved, is a different topic (multi-region architecture) and is out of scope here.
You're advising a CTO on selecting between managed interconnect services (carrier/cloud partner) and building your own cross-connect via colocation/optical infrastructure. Present a framework of evaluation criteria covering technical fit, operational model, contractual terms, financial analysis (CAPEX vs OPEX), SLAs, exit strategy, and recommended approach with justification.
Sample Answer
Direct answer
Default to a managed interconnect, a dedicated, private network connection into the cloud provider that bypasses the public internet, such as a carrier or cloud partner's dedicated connection product like AWS Direct Connect, Azure ExpressRoute through a partner, or GCP Dedicated Interconnect through a colocation partner, unless the workload's volume, control requirements, or timeline specifically justify owning the cross-connect. Building your own via colocation and optical infrastructure only wins on cost at very high, sustained volumes and very long commitment horizons, trading that eventual savings for months of lead time and a permanent operations burden most teams underestimate.
Structured elaboration
Evaluation framework
| Criterion | Managed interconnect | Build your own (colocation plus optical) |
|---|---|---|
| Technical fit | Fast to provision, days to weeks; the provider handles the physical layer; easy to add redundant paths | Full control over path diversity, hardware choice, and capacity upgrades, but every upgrade is its own project |
| Operational model | The carrier or partner owns the physical layer; your team manages only the logical configuration, such as BGP (Border Gateway Protocol, the protocol networks use to exchange routing information) routes | Your team, or a colocation partner's remote-hands service, owns fiber, optics, and cross-connects end to end |
| Contractual terms | Term commitments, often one to three years, with the carrier or partner, plus the cloud provider's own port fees | A colocation lease, often three to five-plus years, equipment vendor contracts, and per-request cross-connect fees |
| Financial analysis, capital expenditure (CAPEX) versus operating expenditure (OPEX) | Pure OPEX: monthly port and circuit fees, no upfront capital | CAPEX-heavy upfront for optical equipment, installation, and permitting, plus ongoing OPEX for colocation space, power, and staff time; the capital is recoverable only over a long amortization period |
| Service-level agreements (SLAs) | A carrier-defined SLA for uptime, latency, and repair time, enforced by contract | Your team defines and is accountable for its own SLA; there is no one else to hold to it |
| Exit strategy | Cancel or let the term lapse; switching providers is a configuration change plus a new circuit order | Equipment and colocation footprint have some resale or exit value, but real friction: physical decommissioning and possible contract buyout clauses |
Financial analysis, worked
Assume a three-year horizon for a workload needing a dedicated, roughly 1 Gbps-class link. A managed interconnect at $3,000 a month, all-in for port and circuit, is pure OPEX: $3,000 times 36 months equals $108,000 over three years, with no upfront capital. Building your own costs $150,000 upfront in CAPEX for optical equipment, installation, and cross-connect setup, plus $1,500 a month in OPEX for colocation space, power, and remote-hands, giving $150,000 plus $1,500 times 36, or $150,000 plus $54,000, equaling $204,000 over three years, nearly double the managed cost. Solving for the breakeven point, $3,000m equals $150,000 plus $1,500m, gives m equal to $150,000 divided by $1,500, or 100 months, about 8.3 years. Only past roughly that horizon, or at meaningfully higher sustained bandwidth where the per-Mbps managed cost stops scaling as favorably, does building your own pay back. These figures are illustrative, order-of-magnitude numbers meant to show the shape of the trade-off; get current quotes from the specific carrier and colocation provider before committing budget.
Recommended approach and justification
Recommend the managed interconnect for anything under roughly a five to eight year commitment horizon, or where the team has no existing colocation footprint, because the CAPEX outlay and multi-year payback period rarely clear the bar against the opportunity cost of that capital, and owning physical infrastructure is a permanent operational tax paid even in months when nothing goes wrong. Recommend building your own only when the organization already has a colocation presence for other reasons, so the marginal cost of adding cross-connects is low, needs multiple redundant physical paths the managed product cannot offer at the required SLA, or is planning to be in that facility for eight-plus years regardless.
Persuading the client's security or compliance team specifically
When the audience is a client's security or compliance function rather than a CFO, the persuasion path is different from the cost argument above: they care about proof, not price.
- Bring encryption proofs: show that traffic on either option is encrypted in transit, such as IPsec (a protocol suite that encrypts and authenticates traffic between two endpoints) over the interconnect or the cloud provider's native encryption for the dedicated link, with the specific cipher suite (the combination of encryption and authentication algorithms the two endpoints agree to use) and key-management approach documented, not just asserted.
- Bring auditability: show what logs and evidence each option produces, such as connection logs and physical access records to the cross-connect for the build-your-own case, or the carrier's compliance attestations for the managed case, that would satisfy an auditor asking how you know only authorized traffic used this path.
- Propose a pilot to validate controls before asking for full sign-off: stand up the connection for one non-critical workload, run it through the client's actual audit checklist, and bring back the results, rather than asking the compliance team to approve a design on paper alone. A pilot that survives a real audit pass is far more persuasive than a diagram with a green checkmark on it.
Worked example
A cloud architect advising a CTO at a mid-size firm compares the two options for a workload needing sustained, predictable connectivity for three years. The financial analysis above shows the managed interconnect at $108,000 versus $204,000 for building it in-house over that horizon, well inside the roughly 8.3-year breakeven, so the recommendation is the managed interconnect. Separately, the client's security team is not persuaded by the cost argument at all; they want proof the link cannot be tampered with. The team provides the cipher suite and key-rotation schedule used on the interconnect, the carrier's SOC 2 attestation (an independent auditor's report on a service provider's security controls) covering the physical cross-connect facility, and proposes a 30-day pilot on a non-production workload that the client's own audit team can inspect before the full workload moves over.
Trade-offs and pitfalls
The most common financial mistake is comparing only the monthly recurring costs and forgetting that building your own carries a large upfront capital outlay with its own opportunity cost, which the breakeven math above corrects for. The most common security-persuasion mistake is leading with the architecture diagram instead of the proof artifacts, such as logs, attestations, and pilot results, that a compliance reviewer actually needs to sign off. On exit strategy specifically, teams underestimate that building your own is not just financially stickier but contractually stickier: a colocation lease with an early-termination penalty can trap you in a facility long after the technical reason for being there has gone away, while a managed interconnect's exit is close to simply letting a term lapse.
Describe a Terraform pattern to provision identical infrastructure across multiple regions and multiple cloud providers. Explain how you would manage state files, secrets, and provider credentials safely, and how to avoid accidental destructive changes across regions.
Sample Answer
Direct answer
The pattern is a thin, provider-agnostic root module that composes small, per-provider child modules (one for AWS, one for Azure, one for GCP) behind a common interface, with each region/provider combination getting its own remote state file so a mistake in one blast radius, meaning the scope of what that mistake could reach, cannot touch another. State lives in a remote backend with locking, secrets never live in .tfvars files or state itself, and destructive changes are prevented less by hoping and more by structural guardrails: separate state per target, terraform plan reviewed in CI before apply, and prevent_destroy lifecycle rules on anything genuinely irreplaceable.
Structured elaboration
Module structure: write a modules/network (or compute, database, etc.) per provider that exposes the same output shape (VPC [AWS's Virtual Private Cloud] / VNet [Azure's equivalent] ID, subnet IDs, security group/NSG IDs) even though the underlying resources differ, then a top-level module per environment that instantiates the right provider module for each target region and cloud. This keeps the actual resource logic honest about provider differences instead of forcing an artificial one-size-fits-all abstraction that leaks the moment you need a provider-specific feature.
State file management: one remote state file per (cloud, region) combination, stored in a backend with native locking. For AWS-hosted state, current Terraform releases support native S3 locking via the backend's use_lockfile argument (a conditional-write lockfile stored alongside the state object), and HashiCorp has deprecated the older pattern of a separate DynamoDB (AWS's managed NoSQL database) lock table, so only reach for DynamoDB locking if you are pinned to an older Terraform version that does not support use_lockfile. Azure Storage uses blob leasing for locking, and GCS (Google Cloud Storage) uses its own native object-generation locking. Splitting state this way means a terraform apply targeting us-east-1 physically cannot see or modify the state for eu-west-1 or the Azure deployment, which is a much stronger guarantee than "we were careful with -target."
Secrets and provider credentials: never put access keys or client secrets in .tfvars, environment defaults, or state (state files store resource attributes in plaintext by default, including anything Terraform reads back from a provider, so treat the state backend's encryption and access control as seriously as a secrets store). Pull credentials at runtime from each cloud's own short-lived credential mechanism: OIDC (OpenID Connect) federation from your CI system to an AWS IAM (Identity and Access Management) role, a GCP workload identity pool, or an Azure federated credential, so no long-lived static key ever sits in a pipeline variable at all.
Avoiding accidental destructive changes across regions:
- Scope each CI job to exactly one state file/backend via its working directory, so there is no
-targetflag doing the safety work that separate state should be doing structurally. - Require
terraform planoutput to be reviewed (a human approval gate, or an automated policy check with a tool like OPA/Sentinel) beforeapplyruns, and never allowapplyto run against a plan file older than a defined staleness window. - Add
lifecycle { prevent_destroy = true }on resources where destruction is unrecoverable or extremely costly (a production database, a KMS key). - Pin the Terraform CLI and every provider version explicitly in the configuration; an unpinned provider silently picking up a new major version between runs is a realistic way to get a plan that looks routine but actually replaces resources.
Worked example
A three-region, two-provider footprint (AWS us-east-1, AWS eu-west-1, GCP us-central1) would have three separate state files: s3://tfstate-co/aws-us-east-1/terraform.tfstate, s3://tfstate-co/aws-eu-west-1/terraform.tfstate, and gs://tfstate-co/gcp-us-central1/terraform.tfstate, each locked independently. A CI pipeline job for aws-eu-west-1 assumes a role via OIDC scoped only to that account and region's resources; it cannot even authenticate to touch the GCP project. On this host, verifying such a configuration end to end without cloud credentials means running terraform init (with TF_PLUGIN_CACHE_DIR set to avoid re-downloading provider binaries into every separate working directory, since per-sandbox provider copies have filled disks before) and terraform validate plus terraform fmt -check against each module, which confirms the HCL (HashiCorp Configuration Language) is syntactically and internally consistent; it does not and cannot confirm what a real plan/apply would do against live cloud APIs, since there are no credentials available in this environment to run either.
Trade-offs and pitfalls
A common overcorrection is building one giant abstraction module that tries to make AWS, Azure, and GCP look identical; this inevitably leaks the moment you need a feature one provider has and the others don't, and the abstraction becomes harder to reason about than three honest provider-specific modules would have been. The reverse mistake, copy-pasting near-identical Terraform per region with no shared module at all, drifts silently over time as small edits accumulate unevenly across copies. The middle ground (shared modules, separate state, separate credentials per target) costs more upfront structure but is what actually prevents the failure mode this question is really asking about: an apply intended for one region accidentally touching another because everything shared one big state file and one broad credential.
You need to build a cost model comparing Dedicated Interconnect and Internet VPN for moving 10 TB/month to the cloud. List all cost components (port charges, cross-connect, egress fees, hardware, management), explain how to model monthly TCO, and describe what usage patterns or thresholds would shift the recommendation to a dedicated interconnect.
Sample Answer
Direct answer
Model this as a fixed cost plus a per-gigabyte (GB) variable cost for each option, then solve for the monthly volume at which the two lines cross: below that volume the option with the lower fixed cost wins, above it the option with the lower marginal rate wins, and the "10 TB/month" figure only tells you where you sit relative to that crossover, not which option is cheaper in the abstract. A Dedicated Interconnect (AWS Direct Connect, Azure ExpressRoute, or Google Cloud's Dedicated Interconnect) carries real fixed costs before a single byte moves: a port charge, a physical cross-connect fee at the colocation facility, and amortized customer-premises hardware. An internet-based site-to-site VPN has almost no fixed cost but pays the standard, usually higher, per-GB egress rate (the fee a cloud provider charges for data leaving its network) for every byte over the public internet. The decision is not "which is cheaper" in general, it is "at our actual volume and our actual quoted per-GB rates, which side of the crossover are we on," and total cost of ownership (TCO) is only one input: latency, jitter, and the risk profile of routing production traffic over the public internet matter independently of cost.
Structured elaboration
All cost components, for each option:
| Component | Dedicated interconnect | Internet VPN |
|---|---|---|
| Port charges | Fixed monthly (or hourly) fee per port, typically doubled for a redundant pair | None |
| Cross-connect | Fixed monthly fee paid to the colocation provider for the physical patch between your rack and the cloud's on-ramp | None (uses existing internet uplink) |
| Egress / data-transfer fees | Per-GB rate, usually lower than standard internet egress because it bypasses the public internet | Per-GB internet egress rate, plus the cloud's per-GB VPN gateway processing charge |
| Hardware | Router/CPE (customer premises equipment: the router or gateway hardware you own and operate at your site) capable of BGP (Border Gateway Protocol, the protocol two networks use to exchange routing information) peering at the interconnect, amortized over its useful life; often colocation rack/power costs too | Existing edge router/firewall with IPsec support (usually already owned); a cloud-side VPN gateway's own hourly charge |
| Management/operations | Colocation contract management, BGP peering maintenance, cross-connect provisioning lead time (often weeks) | Lower ongoing overhead: IPsec tunnels are quicker to stand up and tear down, but still need monitoring |
Modeling monthly TCO as a straight line in volume:
CostDIA(V)=FDIA+rDIAV,CostVPN(V)=FVPN+rVPNVwhere V is monthly GB transferred, F is the fixed monthly cost, and r is the marginal per-GB rate. Solving for the crossover volume V∗ where the two lines meet:
V∗=rVPN−rDIAFDIA−FVPNThis only produces a meaningful (positive) crossover in favor of the interconnect when rDIA<rVPN, that is, when the interconnect's actual quoted per-GB rate is genuinely lower than the VPN's egress rate. If it is not, the interconnect never wins on pure transfer economics no matter how much volume you push, and its case has to rest on latency, jitter, and avoiding the public internet, not cost.
What shifts the recommendation toward dedicated interconnect, beyond raw TCO:
- Sustained volume comfortably above the computed crossover, not a one-time spike.
- A latency- or jitter-sensitive workload (database replication, real-time sync) where the public internet's variable path quality is itself a risk, independent of price.
- A compliance or contractual requirement to avoid the public internet for a specific data class.
- Enough confidence in the volume forecast to commit to a port and cross-connect lead time of weeks, versus a VPN's near-immediate provisioning.
Worked example
Primary scenario, 10 TB/month (10,000 GB), using illustrative unit rates chosen for this exercise (confirm your account's actual quoted rates before using this to make a real decision): dedicated interconnect at a $600/month redundant port pair, $300/month cross-connect, $250/month amortized router, giving FDIA=$1,150 and a $0.02/GB interconnect data-transfer rate (rDIA=0.02); VPN at a $40/month gateway (FVPN=$40) and $0.08/GB internet egress (rVPN=0.08).
CostDIA(10,000)=1150+0.02(10,000)=$1,350,CostVPN(10,000)=40+0.08(10,000)=$840 V∗=0.08−0.021150−40=0.061110=18,500 GB≈18.5 TB/monthAt 10 TB/month, the VPN is cheaper ($840 versus $1,350) under these rates, and the interconnect only becomes the cheaper option once volume passes roughly 18.5 TB/month.
Alternate scenario, 50 TB/month (50,000 GB), with a different quoted rate card: $2,000/month port, $0.25/GB over the interconnect, versus $0.09/GB VPN egress (no separate fixed VPN cost stated for this scenario):
CostDIA(50,000)=2000+0.25(50,000)=$14,500,CostVPN(50,000)=0.09(50,000)=$4,500Here the interconnect's marginal rate ($0.25/GB) is actually higher than the VPN's ($0.09/GB), so it stays more expensive even at five times the volume of the primary scenario: no amount of additional volume makes it win on transfer cost alone under this particular rate card. This is the practical lesson the two scenarios together teach: never assume a dedicated circuit automatically gets cheaper at scale. Solve for V∗ from your actual quoted rates first; if rDIA≥rVPN, the crossover formula has no valid positive answer, and the interconnect's justification has to come from latency and reliability, not TCO.
Trade-offs & pitfalls
- Quoting a "typical" per-GB interconnect rate without checking your actual contract is the single most common way this model gets the recommendation backwards, as the 50 TB scenario shows directly.
- Provisioning lead time for a physical cross-connect (often 2 to 6 weeks) means committing to an interconnect for a short-lived or uncertain workload locks in fixed cost before the volume that justifies it materializes.
- A VPN's per-GB internet egress rate is usually tiered (it can decrease at very high volumes), which can flatten or eliminate the crossover the simple linear model predicts; re-run the model with your cloud provider's actual tiered pricing before committing capital.
- Redundancy doubles the dedicated interconnect's fixed cost (a second port and cross-connect for high availability) but a single VPN tunnel is already a single point of failure, so a fair comparison for a production workload should price a redundant pair on both sides, not a single link against a single tunnel.
Describe three common workload portability strategies for moving applications between cloud providers or between on-prem and cloud. For each strategy (e.g., containers, VMs, platform services), list the main portability challenges and a recommended mitigation.
Sample Answer
Direct answer
The three common workload-portability strategies, from most to least portable, are containers, packaging the application and its dependencies to run consistently across providers via a container orchestrator; virtual machines, moving a whole machine image between providers' compute services; and platform services, rearchitecting to use each provider's managed platform, such as a serverless function service or a managed database, which is the least portable but often the most operationally convenient. Each trades portability for operational convenience in the opposite direction: containers keep you closest to write once, run anywhere, but leave you managing the orchestration layer yourself, while platform services do the reverse.
Structured elaboration
| Strategy | What moves | Main portability challenge | Recommended mitigation |
|---|---|---|---|
| Containers, for example Docker images on Kubernetes (the most widely used container orchestrator, the tool that schedules and runs containers across a cluster of machines) | The application and its runtime dependencies, packaged as an image | Kubernetes itself is portable, but the surrounding cluster configuration, such as ingress controllers, storage classes, load balancer annotations, and IAM (identity and access management) integration, is provider-specific and does not move with the image | Standardize on a small set of portable primitives, such as a common ingress controller and a storage-class interface compliant with the Container Storage Interface, and keep provider-specific glue in clearly labeled, separate configuration rather than mixed into application manifests |
| Virtual machines | A whole machine image, meaning the operating system, installed software, and application | Machine image formats and the surrounding networking model, such as virtual network constructs and security group syntax, differ per provider, so an image built for one provider's hypervisor and tooling usually needs conversion, not just a copy | Use an image-building tool that supports multiple output formats from one source definition, such as HashiCorp Packer, so the image is rebuilt per target provider from the same source rather than manually converted |
| Platform services, such as managed databases, serverless functions, and managed queues | Only the application logic; the underlying service is not moved, it is replaced | The managed service's specific behavior, such as a serverless function's cold-start profile or a managed queue's exactly-once versus at-least-once delivery guarantee, becomes an implicit dependency baked into the application's correctness, not just its deployment | Document the specific behavioral guarantees the application actually relies on, not just that it uses a queue, so a future migration can verify the replacement service offers an equivalent guarantee rather than discovering a correctness gap after cutover |
Worked example
A team containerizes its API service, which is portable, but its Kubernetes ingress configuration uses a cloud-specific load balancer annotation for TLS termination; moving to a second provider requires rewriting that one file rather than the application, because the mitigation above, isolating provider-specific glue, confined the actual work. A separate team built directly on a serverless function platform and a managed queue with at-least-once delivery, and on attempting to migrate discovers that the replacement provider's equivalent queue is exactly-once by default, changing message-ordering assumptions their application's error-handling logic silently depended on. The mitigation there would have been documenting that dependency up front so the gap was caught in design review, not in production after cutover.
Trade-offs and pitfalls
A common mistake is assuming that using containers by itself equals portability, when the surrounding cluster and networking configuration is where the actual provider dependency lives. Another is treating platform-service portability as a pure rewrite-cost problem while missing the subtler risk: a behavioral guarantee, such as delivery semantics or a consistency model, that the application depends on implicitly, which a straightforward-looking migration can silently break.
A Fortune 500 customer requests the integration middleware run inside their VPC while Lyft hosts other services. Discuss security, networking, deployment automation, observability, failure handling, and operational responsibilities for this hybrid model. Which design patterns and contractual elements (on-call, patching windows, SLA boundaries) would you include to minimize risk?
Sample Answer
Direct answer
Treat the customer's VPC (virtual private cloud, an isolated network space within their cloud account) as a trust boundary you do not own: design the middleware to run with the minimum access it needs inside that VPC, assume you cannot directly SSH in or watch a dashboard the way you would for infrastructure in your own account, and push as much of security, deployment, and observability as possible into automation and remotely-verifiable signals rather than direct operational access. The contract has to make explicit exactly what each side owns operationally (patching, incident response, on-call), because "the middleware runs in their VPC" quietly shifts several assumptions that hold for infrastructure in your own account and, left unstated, becomes a source of finger-pointing during the first real incident.
Structured elaboration
Security. The middleware should run under an IAM role scoped by the customer to only the specific resources and actions it genuinely needs (least privilege, defined jointly and reviewed by the customer's security team, since it is their environment). Secrets used by the middleware (API keys back to your own services, database credentials) should be pulled from a secrets manager the customer controls access to, rather than baked into deployment artifacts you push, so the customer retains the ability to audit and revoke access independent of your release process.
Networking. Connectivity from the middleware back to your other services should go through a narrow, explicit path (a PrivateLink-style private endpoint, which connects two networks directly over the cloud provider's own backbone instead of the public internet, or a tightly scoped VPN or interconnect, a dedicated private network link between two networks) rather than broad outbound internet access from inside their VPC, both because the customer will reasonably expect this and because it limits what an incident inside your middleware could reach.
Deployment automation. Deployments into a customer-owned VPC cannot rely on the same direct access your own infrastructure deployments use; this needs a pipeline that either the customer triggers/approves, or that authenticates into their environment through a scoped, auditable mechanism (a deployment role they grant, with its own audit trail), and every deployment should be automated and repeatable rather than a manual, one-off process, since manual changes in an environment you do not fully control are especially hard to reason about later.
Observability. You need telemetry to operate the middleware, but you do not own the environment's logging pipeline, so the design needs the middleware to export its own metrics and logs to a destination you control (your own observability backend, reached over the same narrow network path used for other communication), rather than depending on access to the customer's internal monitoring stack, which you cannot assume you will have.
Failure handling. Because you cannot always directly intervene inside their VPC the way you would in your own infrastructure, the middleware needs to fail safely and recoverably on its own: automatic restart on crash, circuit breakers so a failure in the middleware does not cascade into the customer's other services, and enough self-contained health signaling that your team can detect a problem from the outside (via your own observability export) without needing interactive access to diagnose it.
Operational responsibilities, made explicit rather than assumed. Precisely who patches the middleware's underlying compute (you, if it is your deployment; the customer, if it runs on infrastructure they manage more broadly), who is on-call for it, and what happens when an incident's root cause is ambiguous between "your code" and "their environment" all need to be decided in advance, in writing, not discovered during an incident.
Design patterns and contractual elements to minimize risk:
- On-call boundaries: define explicitly who is paged first (typically you, for anything that looks like a middleware-specific issue) and the escalation path to the customer's team for anything that requires access or context only they have.
- Patching windows: agree on a cadence and notice period for updates to the middleware, since you cannot patch on your own unilateral schedule inside infrastructure you do not fully control, and a customer with their own change-control process needs advance notice.
- SLA boundaries: the service-level agreement needs to specify what you are actually accountable for (the middleware's own behavior and availability) separately from what depends on the customer's environment (their network, their VPC configuration, their IAM setup), because a middleware outage caused by the customer revoking a permission it depended on is a fundamentally different accountability case than one caused by a bug in your code, and the contract should say so explicitly rather than leaving it to be argued after the fact.
Worked example
The middleware needs to call an internal API in your own infrastructure from inside the customer's VPC. Rather than requesting broad outbound internet access (which the customer's security team would likely reject anyway), the design uses a PrivateLink endpoint the customer explicitly approves and can audit, scoped to exactly that one API. Deployment happens through a pipeline that authenticates using a role the customer grants with a defined, revocable scope, triggering on your release cadence but requiring the customer's explicit one-time approval for the initial connection and any change to the IAM role's permissions. The middleware exports metrics and structured logs over that same PrivateLink path to your observability backend, so your on-call engineer can see the middleware's health without needing any access into the customer's console. The contract specifies that your team is on-call for and accountable for the middleware's own availability SLA, that the customer commits to a 5-business-day notice window before any change to the IAM role or network path the middleware depends on, and that an incident where the customer's own change breaks the middleware is explicitly carved out of your SLA calculation, with a joint post-incident review required either way.
Trade-offs & pitfalls
- Requesting broader access than the middleware strictly needs, even if the customer would grant it, creates unnecessary risk on both sides and a harder security review to pass; the discipline of minimal scope pays off specifically when something does go wrong, since the blast radius is smaller by design.
- An SLA that does not explicitly carve out customer-environment-caused failures invites exactly the kind of dispute this design is trying to prevent: without that carve-out in writing, every incident becomes a negotiation about whose fault it was, under time pressure, which is the worst time to be negotiating contract terms.
- Depending on the customer's own monitoring stack for visibility, instead of exporting your own telemetry, works until the moment you need to diagnose an incident and discover you never actually had reliable access to see what happened.
- Assuming your normal deployment cadence and process transfers unchanged into a customer-owned VPC ignores that the customer's own change-control process, notice requirements, and approval steps are now a real dependency in your release pipeline, and treating that as an afterthought is a common reason enterprise integrations like this slip their timelines.
Unlock Full Question Bank
Get access to all Multi-Cloud and Hybrid Cloud Architecture interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.