Bring your own cloud (BYOC) is a deployment model in which a vendor manages a product while some or all of its workloads run in your cloud account. For example, Vercel's Bring Your Own Cloud runs Vercel Functions in your Amazon Web Services (AWS) account.
To evaluate BYOC, check where requests and logs go, what the vendor can access, and which parts of the infrastructure your team must operate.
Copy link to headingHow does BYOC work?
Many BYOC products separate the control plane, which manages tasks such as configuration and deployments, from the data plane, which runs workloads and processes data. The data plane components that run in your account vary by vendor. Some deployments put those components inside your virtual private cloud (VPC).
Copy link to headingWhat are the differences between SaaS, self-hosting, and BYOC?
This table compares vendor-hosted software as a service (SaaS), self-hosting, and BYOC.
Bring your own key (BYOK) lets you supply a key to a vendor's service. In an encryption product, that's an encryption key. In a model gateway, it can be a provider API key. Supplying a key doesn't move the workload into your account. BYOC doesn't imply an air gap. The vendor and your workloads can still communicate.
Copy link to headingWhy does BYOC matter?
BYOC can help meet requirements for where workloads run. To assess a deployment, trace what leaves your account and who can access it.
Teams consider BYOC for several reasons:
Regulated data and residency. Run workloads where your existing controls apply and check where the vendor processes or stores any data it receives.
Private network access. Workloads in your VPC can reach databases and internal services over private paths if your network and permissions allow it.
Existing cloud commitments. Charges on your cloud bill may count toward a spending commitment. Ask your cloud provider which resources and charges qualify.
AI workloads that handle sensitive data. Running an agent in your account doesn't change where a model provider or tool processes its inputs. Check where prompts, tool outputs, and logs go and what each service can retain.
Model routing is a separate decision from where the app runs. Searchable uses Vercel AI Gateway and the AI SDK to test new models without integrating separate provider software development kits (SDKs) or rotating provider API keys.
If you use zero data retention in AI Gateway, review its scope for the model and provider, including provider-run tools and prompt caches.
Copy link to headingWhat are the core components of BYOC?
Copy link to headingThe vendor-run control plane
The control plane may store configuration and deployment state, schedule work, and send instructions to systems in your account. Ask what it receives from your workloads. Some products send status and usage data, while others also handle requests and responses. Ask what happens to live traffic if the vendor's control systems go offline.
Copy link to headingThe customer-owned data plane
The customer-owned part of the data plane can include serverless functions, containers, storage, and logs. Your cloud provider bills you for the resources in your account. Confirm who manages regions, network rules, encryption settings, and quotas for those resources.
Copy link to headingScoped cross-account access
If a vendor needs to act in your AWS account, it can assume an AWS Identity and Access Management (IAM) role with temporary credentials. In the role's trust policy, a unique external ID assigned by the vendor to each customer helps prevent the confused deputy problem, in which someone tricks a vendor into using another customer's role. Ask whether support access requires approval and when that access expires. A role that only grants permission to invoke functions doesn't directly grant database access. A function the vendor invokes can still return database records.
Copy link to headingShared responsibility between vendor and team
Use this example to discuss responsibilities with your vendor. Confirm who owns each task in your deployment.
Copy link to headingHow do you adopt BYOC?
Agree on ownership and test your access and recovery procedures before launch.
Copy link to headingReview every permission the vendor holds
Compare each grant against the vendor's documented requirements and, where possible, limit it to specific resources. Log when the vendor assumes its role and alert on unexpected use. Test revocation to see whether the vendor can still use credentials it received before disconnection.
Copy link to headingAgree on an upgrade window with the vendor
Confirm who applies vendor releases and when. Agree on maintenance windows and blackout periods around peak events. For a retailer, that can mean applying and testing the last release before the holiday code freeze.
Copy link to headingPlan disaster recovery inside your account
Decide where to store backups, how often to test restores, and who leads failover during a regional outage. Record those responsibilities before the first incident.
Copy link to headingModel the total cost
For the same workload, compare the cost of SaaS with the total cost of BYOC: the vendor fee, cloud charges, and staff time. Processing data where it already lives may reduce transfer charges. Traffic between zones or regions, or through a network address translation (NAT) gateway, can add charges. Use your architecture's traffic paths to estimate the difference.
Copy link to headingMap BYOC to your compliance obligations
A vendor's certifications and attestations don't automatically cover the controls you operate. Check what the vendor's reports cover and which controls your team needs to operate. If the workload handles protected health information, ask your compliance team whether you need a business associate agreement (BAA). If support staff may access data from another country, ask which transfer rules apply.
Copy link to headingHow does Vercel support BYOC?
Vercel BYOC runs your project's Vercel Functions as AWS Lambda functions in your account. Your team builds the app and provisions the Lambda resources. Vercel manages the deployment, routes requests, and serves static assets. BYOC is generally available on Enterprise. Ask your Vercel account team to enable it. BYOC has custom pricing. Meta Superintelligence Labs uses BYOC to test and deploy ideas in its own AWS environment.
Copy link to headingKeep function code in your AWS account
Function code and runtime layers stay on your build machines and in AWS. Vercel receives static assets, routing and function configuration metadata, your application's package.json files, and the mapping between functions and Lambda resources. The Vercel CDN terminates Transport Layer Security (TLS), and requests and responses pass through Vercel. Function logs are available in Vercel and Amazon CloudWatch Logs. If your policy requires all traffic to remain within your AWS account, Vercel BYOC doesn't meet that requirement.
BYOC supports Node.js and Python. BYOC doesn't support the Edge runtime, the container runtime, or Vercel Services. The AWS account and subnets hosting the functions need outbound internet access. Your team pays AWS directly for Lambda invocations and duration, layer storage, CloudWatch Logs, and data transfer.
Copy link to headingControl access with your own IAM roles
Vercel assumes an invocation role that you create. The documented permissions policy grants only lambda:InvokeFunction and doesn't let Vercel create, modify, or delete functions. It covers current and future functions, versions, and aliases across all regions in that AWS account. If you narrow the policy to specific functions, update it before each deployment. The trust policy uses your Vercel team ID as the external ID.
After you disconnect your account in Vercel, credentials that have already been issued can remain valid for up to 12 hours unless you revoke the role's active sessions in AWS. A separate Lambda execution role defines what your functions can access. Your VPC attachment and security groups govern network access. Your provisioning tool creates the Lambda resources using a separate provisioning identity.
Copy link to headingBuild and provision from your own environment
Build on macOS or Linux, locally or in continuous integration (CI). Before initializing a deployment, check the prerequisites for the Vercel command-line interface (CLI), connect your AWS account, and set up your provisioning tool. You have 15 minutes from vercel deploy init to vercel deploy continue.
The optional GitHub Actions workflow uses OpenID Connect (OIDC) to get short-lived Vercel and AWS credentials for preview and production deployments. It requires a successful CLI deployment for the project, a webhook relay you host, and OIDC authentication for the Vercel CLI. A Vercel team member with the Owner role configures OIDC for the CLI. If CLI OIDC isn't available to your team, ask your account team to enable it. The documented setup also calls for repository admin access, AWS permissions to provision the relay, and the BYOC agent skill. For Git-based deployments, the 15-minute provisioning window starts when Vercel creates the deployment, so time in the GitHub Actions queue counts.
You own AWS resource cleanup. Vercel sends the deployment.cleanup webhook when it permanently deletes a deployment after the 30-day recovery period. The BYOC setup guide covers deployment and operations.
Copy link to headingCheck which controls cover your deployment
Vercel offers SAML Single Sign-On (SSO) on Enterprise and as a paid add-on on Pro. On Enterprise, you can also use Directory Sync and Audit Logs. Team roles are available on Pro and Enterprise.
Vercel has a SOC 2 Type 2 attestation and ISO 27001:2022 certification. Review the scope with your account team and document the controls you operate in AWS. Vercel BYOC doesn't currently satisfy Federal Risk and Authorization Management Program (FedRAMP) or other government certification requirements.
Copy link to headingRun Vercel Functions in your own cloud account
Choose BYOC if your functions must run in your AWS account, your policy allows requests and responses to pass through Vercel, and your team can operate the AWS resources.
If Vercel can run your compute and you only need a private path to your backend, consider Secure Compute. Klaviyo uses Secure Compute to allow its internal apps to access its databases without sending database traffic over the public internet.
Consider these Vercel features:
Functions in your AWS account with Vercel BYOC: Run Node.js and Python functions under your own IAM and network rules.
Invoke-only access for Vercel: Grant a role that can invoke functions but can't create, change, or delete them.
Short-lived deployment credentials from GitHub Actions: Use OIDC to authenticate to Vercel and AWS for preview and production deployments without storing long-lived access keys for either service.
Enterprise identity and audit controls: Enforce SAML SSO, sync membership with Directory Sync, and review team activity with Audit Logs.
Private connections with Secure Compute: If Vercel can run your compute but your backends need a private path, this optional Enterprise feature provides a dedicated VPC with peering or a site-to-site virtual private network (VPN).
Start a new project and decide which functions belong in your AWS account, or browse templates for an app to build on. Contact your Vercel account team to enable BYOC.
Copy link to headingFrequently asked questions about BYOC
Copy link to headingIs BYOC cheaper than SaaS?
It depends on the vendor fee, cloud charges, and the time your team spends operating the account. Running workloads close to your data can reduce some transfer charges. Estimate the total cost for the same workload in each model.
Copy link to headingIs BYOC more secure than SaaS?
Not automatically. Your team controls the account where some or all of the workloads run and is responsible for securing it. Review the permissions the vendor receives and where requests, logs, and other data go.
Copy link to headingCan I move from SaaS to BYOC later?
Ask your vendor whether it supports moving an existing project to BYOC and whether you can keep the project and its access settings. Plan for cloud permissions, private network access, and a rollback path before moving production traffic.
Copy link to headingDoes BYOC work across multiple cloud providers?
Cloud support varies by vendor. Vercel BYOC supports only AWS and runs functions on AWS Lambda.