> ## Documentation Index
> Fetch the complete documentation index at: https://deployz.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Before you install

> Check your AWS account and choose a Region before you install.

Run these checks before you open the install link. An account that can't create the required resources stops the deployment partway, and it then needs a retry.

**Who:** you, in your AWS account. You may need help from the person who manages your AWS organization.

## Choose the AWS account

The application runs in whichever AWS account you approve the connector stack in, and AWS bills that account directly. Decide which account to use first, for example a dedicated account for this application.

## Check your AWS permissions

You approve the setup in your own AWS console with a CloudFormation Quick Create link. You need an AWS identity that can create CloudFormation stacks and the resources in the connector stack, including its IAM roles. Creating the connector stack needs permission to:

* Create IAM roles, inline policies, and managed policies, and pass roles to AWS Lambda (`iam:PassRole`)
* Create AWS Lambda functions, let the EventBridge rule start the connector function (`lambda:AddPermission`), and start the setup functions while the stack is created (`lambda:InvokeFunction`)
* Create an Amazon EventBridge rule and its target (`events:PutRule` and `events:PutTargets`)
* Create an AWS Secrets Manager secret

You don't need permission to create the application's resources yourself. After the connector starts, CloudFormation creates them with a role that the connector stack provides. For what that role can do, see [Security and AWS access](https://deployz.dev/docs/customers/security.md).

## Check organization policies

If your account belongs to an AWS organization, service control policies (SCPs) can block the setup. Deployz doesn't support accounts whose SCPs block the standard stack.

Before you install, check that your organization's policies allow, in the Region you choose:

* Creating IAM roles and policies
* The services the Deployz connector uses: AWS Lambda, Amazon EventBridge, AWS Secrets Manager, and AWS Systems Manager Parameter Store
* The AWS services the application uses: Amazon VPC networking (including a NAT gateway and an Elastic IP address), Amazon ECS on AWS Fargate, Amazon S3, AWS Secrets Manager, and CloudWatch Logs
* Elastic Load Balancing, AWS Certificate Manager, and Amazon CloudWatch alarms, if the application serves web traffic
* Pulling container images from the Deployz registry in Amazon ECR, which is in an AWS account outside your organization. A policy that allows pulls only from repositories in your organization blocks this.
* Amazon RDS and Amazon ElastiCache, if the install page lists a database or cache
* Amazon SQS and Amazon EventBridge Scheduler, if the application uses queues or scheduled jobs (**Preview**)

If the application has a database, its containers also download two items from the internet when they start: the public `amazonlinux` container image from Amazon ECR Public (`public.ecr.aws`), and the Amazon RDS certificate bundle from `truststore.pki.rds.amazonaws.com`. If your organization filters outbound internet traffic, allow both. If only the certificate bundle can't be downloaded, the application starts without it.

If a policy blocks the setup, the deployment stops and your software provider sees the reason. Allow the setup in the account, or use an account without that restriction, then ask your software provider for a new attempt.

## Check your AWS quotas

Each deployment creates its own network. In the Region you choose, it uses:

* One VPC
* One NAT gateway
* One Elastic IP address
* One Application Load Balancer, if the application serves web traffic
* AWS Fargate capacity for the application's containers

AWS default quotas for some of these are low, for example five VPCs and five Elastic IP addresses per Region in a new account. If other workloads already use your quota, request an increase in the Service Quotas console before you install. If the deployment reaches a quota, it stops, and you need to request the increase before your software provider tries again.

## Availability Zone capacity for the database

If the application has a database, it runs as a single instance in one of the Region's Availability Zones. Occasionally AWS doesn't have capacity for the database instance in the available zones. This isn't a quota or permissions problem. Your software provider can retry once the previous attempt has finished rolling back.

## Choose a Region

You choose the AWS Region on the install page. Your software provider may recommend one.

> [!WARNING]
>
> You can't change the Region or the size after you select **Continue** on the install page. Moving the application to another Region or size later needs a new deployment, which your software provider sets up.

When you choose, consider where your users are, any data residency requirements, and cost. AWS prices differ by Region, and the estimate on the install page reflects the Region you select. See [Costs in your AWS account](https://deployz.dev/docs/customers/costs.md).

Deployz supports these 17 Regions. The install page lists only the Regions where installs are currently available, which can be fewer.

| Region | Code |
| - | - |
| US East (N. Virginia) | `us-east-1` |
| US East (Ohio) | `us-east-2` |
| US West (N. California) | `us-west-1` |
| US West (Oregon) | `us-west-2` |
| Canada (Central) | `ca-central-1` |
| South America (São Paulo) | `sa-east-1` |
| Europe (Ireland) | `eu-west-1` |
| Europe (London) | `eu-west-2` |
| Europe (Paris) | `eu-west-3` |
| Europe (Frankfurt) | `eu-central-1` |
| Europe (Stockholm) | `eu-north-1` |
| Asia Pacific (Tokyo) | `ap-northeast-1` |
| Asia Pacific (Seoul) | `ap-northeast-2` |
| Asia Pacific (Osaka) | `ap-northeast-3` |
| Asia Pacific (Mumbai) | `ap-south-1` |
| Asia Pacific (Singapore) | `ap-southeast-1` |
| Asia Pacific (Sydney) | `ap-southeast-2` |

## Next step

When your account is ready, [install the application](https://deployz.dev/docs/customers/install.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.