AWS QuickStart
Run Zerve's compute and storage in your own AWS account, set up with a guided CloudFormation stack.
The AWS QuickStart sets up bring your own cloud in your AWS account. It opens an AWS CloudFormation stack that creates everything Zerve needs to run your code, store your data and host deployments in your account, then connects the account to your Zerve organization.
Before you start
You'll need:
To be an organization admin in Zerve
Permission to create CloudFormation stacks, IAM roles and networking in your AWS account
A Zerve API key from an organization admin. Create one in Settings → Developer API. See Developer API.
Set it up
Create the stack
Create the stack. CloudFormation creates the resources in your account; see AWS CloudFormation reference for what's created.
Wait for it to connect
As the stack finishes, it reports back to Zerve with the details Zerve needs, and Zerve completes the setup on its side. Once the stack shows as complete, your organization's code runs in your account.
If the stack can't connect to Zerve, for example because the API key is wrong, the stack fails to create, so you'll know straight away.
Parameters
General
Zerve organization ID
Filled in for you
Zerve API key
An API key from an organization admin, created in Settings → Developer API
Bucket name
A prefix for the S3 bucket that stores Zerve's data. The bucket is named <prefix>-<your organization ID>. Default: zerve-bucket.
Apply common tags
Tags every resource the stack creates with zerve:owned and zerve:environment. On by default.
Enable user-based auth
Not recommended. Creates an IAM user with stored access keys, instead of the more secure role-based setup. Off by default; leave it off.
IAM
Permissions boundary (optional)
An IAM policy to apply as the permissions boundary on every role the stack creates, if your organization requires one
DNS
These set the web addresses of your deployed apps and APIs.
Base domain (optional)
The domain for your deployments, usually a subdomain of zerve.cloud, such as acme.zerve.cloud. Without one, deployments may not be available.
Hosted zone ID (optional)
An existing Route 53 hosted zone for the domain. Leave blank to have the stack create one. Required if your domain isn't a subdomain of zerve.cloud; you'll also need to delegate the domain to it first.
With a base domain of acme.zerve.cloud, your deployments get addresses like my-dashboard.app.acme.zerve.cloud and my-model.api.acme.zerve.cloud.
Networking
Existing VPC (optional)
A VPC to use. Leave blank to have the stack create one.
Existing public and private subnets (optional)
At least two of each, in different Availability Zones. Required if you choose an existing VPC.
Deployments' allowlisted IPs
The IP ranges (CIDR blocks) allowed to reach your deployed apps and APIs
After setup
Connecting to your databases
Your code runs in private subnets, and its outbound traffic leaves through NAT gateways with fixed IP addresses. To let Zerve reach a database that only accepts approved IP addresses, add your account's NAT gateway IP address to the database's allowlist. If the stack created the VPC, find the address in your AWS console under VPC → NAT gateways.
What Zerve can access
Zerve manages the resources through a single IAM role, limited to resources whose names start with zerve. See What Zerve can access in your AWS account.
Removing the stack
Deleting the stack removes most of what it created. A few resources are kept on purpose, so DNS and networking aren't lost by accident. See What's kept when you delete the stack.
Last updated
Was this helpful?
