Deployments and Infrastructure > AWS CloudFormation Template
AWS CloudFormation Template
Use the official AWS CloudFormation template to deploy Webiny with a least-privilege IAM role.
- What the “Deploy Webiny Project” CloudFormation template is
- How to deploy it into your AWS account
Overview
The Deploy Webiny Project AWS CloudFormation template is the recommended way to set up the IAM permissions needed to deploy Webiny. It creates an IAM role with three attached managed policies that follow the principle of least privilege.
You can inspect the full template before deploying: view on GitHub.
Deploying the Template
Before deploying, create an IAM role in your AWS account that will be used for Webiny deployments. The template does not create the role itself — it attaches the required managed policies to a role you provide.
Once the role exists, click the link below to open the AWS CloudFormation console with the template pre-loaded. When prompted, enter the name of the IAM role you created: