Skip to main content
Each deployment creates two AWS CloudFormation stacks in the customer’s AWS account, in the Region chosen for the deployment:
  • The Deployz connector stack, which the customer creates from the install link.
  • The application stack, which the connector creates and manages.
Most resources carry the tag deployz:managed=true and the tag deployz:installation set to the deployment’s installation ID. There are a few exceptions: IAM managed policies and EventBridge Scheduler schedules can’t carry tags, and the connector stack’s helper functions and their roles don’t carry the installation tag. Most of the connector’s changes are limited to this deployment’s resources: to resources with the installation tag, or, where AWS doesn’t support tag conditions, to resources whose names start with the application stack name. A few actions aren’t limited this way. For the permissions themselves and the exceptions, see Security and AWS access. For what these resources cost, see Sizes and AWS cost.
The customer's AWS account holds two CloudFormation stacks. The Deployz connector stack connects outbound to Deployz over HTTPS and applies the application stack with CloudFormation. The application stack contains a dedicated VPC with public subnets (NAT gateway, Application Load Balancer) and private subnets (web service, workers, database, cache), plus S3 file storage, Secrets Manager secrets, and CloudWatch Logs. The connector also creates the ACM certificates, outside the application stack. Internet traffic enters through the internet gateway and the load balancer.The customer's AWS account holds two CloudFormation stacks. The Deployz connector stack connects outbound to Deployz over HTTPS and applies the application stack with CloudFormation. The application stack contains a dedicated VPC with public subnets (NAT gateway, Application Load Balancer) and private subnets (web service, workers, database, cache), plus S3 file storage, Secrets Manager secrets, and CloudWatch Logs. The connector also creates the ACM certificates, outside the application stack. Internet traffic enters through the internet gateway and the load balancer.

The connector stack and the application stack in one customer AWS account. Queues, scheduled jobs, the migration task, and security groups aren't shown.

Deployz connector stack

Stack name: deployz-bootstrap-<application>-<id>, where <application> is a short form of the application name and <id> is the first eight characters of the deployment ID. A retried attempt adds a suffix such as -r1. The stack’s parameters are ControlPlaneUrl, EnrollmentCode, RelayCredential, and ExistingInstallationId. ExistingInstallationId is empty unless the stack comes from a link to reconnect a removed deployment. Then it holds that deployment’s installation ID, so the new connector can delete the data the removal kept. See If the connector is gone. Two kinds of resources are created outside the stack, so deleting the stack doesn’t delete them:
  • Log groups. The CloudWatch Logs log groups of the connector and the setup functions are created when the stack is created. Entries are kept for one week.
  • Progress records. The connector stores its progress in AWS Systems Manager parameters under /deployz/<installation ID>/, and deletes each one when its command finishes.

Application stack

Stack name: deployz-app-<id>, where <id> is the first eight characters of the installation ID. CloudFormation names the stack’s unnamed resources after the stack, so their names start with deployz-app-<id>-. The connector’s name-based permissions use this prefix. The application stack contains only what the application needs. For example, a deployment without a database has no database resources.

Network

Every deployment gets its own network. Deployz doesn’t use an existing VPC.

Load balancer and HTTPS

The load balancer and its health alarm are created only when the application serves web traffic. The connector, not the application stack, creates the port 443 listener and the certificates.

Application containers

Releases are stored as container images in a Deployz registry in Amazon ECR, in an AWS account that Deployz owns. When the application is installed, Deployz allows the customer’s account to pull them.

Database

Created when the application needs a database.

Cache

Created when the application needs a cache. The cache is an Amazon ElastiCache for Valkey replication group with one node. Valkey is compatible with Redis. Its node type is set by the size. Connections inside the VPC aren’t encrypted.

File storage

Created for every deployment. One Amazon S3 bucket with:
  • Encryption at rest (SSE-S3) and versioning.
  • All public access blocked, and a policy that refuses requests without TLS.
  • Old versions of files deleted after 30 days.
  • Incomplete multipart uploads deleted after 7 days.

Queues and scheduled jobs

Queues and scheduled jobs (Preview) are created only when the application declares them.
  • Queues: standard Amazon SQS queues, encrypted, accepting TLS requests only.
  • Scheduled jobs: an Amazon EventBridge Scheduler schedule for each job, with its own role. Each run starts a Fargate task in the private subnets.

Resources by size

Each service runs one copy of its task. When the application has a database, each task also runs a short-lived helper container from the public amazonlinux image. It downloads the Amazon RDS certificate bundle before the application container starts. If the download fails, the application starts without it. All sizes use one NAT gateway and the same database storage. Some older Small deployments use a db.t4g.micro database with gp2 storage. A deployment’s size can’t be changed after it’s created. See Sizes and AWS cost.

What remains after removal

When the vendor removes a deployment, Deployz deletes the application stack but keeps the customer’s data.
Retained resources stay in the customer’s AWS account and keep costing money until someone deletes them. Removing a deployment doesn’t stop those charges.
Deployz can’t delete the connector stack. After the retained data is deleted, the customer deletes the connector stack in AWS CloudFormation. Outside the customer’s account, Deployz keeps its operational records for the deployment, such as IDs, states, and timestamps. See Remove a deployment and Remove the application from your AWS account.