Launch a fully-configured GoPhish Cloud instance on AWS in under 5 minutes using CloudFormation.
This tutorial walks you through deploying GoPhish Cloud on AWS using our pre-configured CloudFormation template. The automated deployment includes EC2 instance provisioning, security group configuration, and initial setup.
Log into your AWS Console and navigate to the CloudFormation service. Select your preferred region (us-east-1, us-west-2, or eu-west-1 recommended for best performance).
Download our CloudFormation template and upload it to AWS:
# Download template
curl -O https://hailbytes.com/templates/gophish-cloudformation.yaml
# Or use AWS CLI
aws cloudformation create-stack \
--stack-name gophish-production \
--template-url https://hailbytes.com/templates/gophish-cloudformation.yaml \
--parameters ParameterKey=InstanceType,ParameterValue=t3.medium
Upload the file in the CloudFormation console and click "Next".
Set the following parameters for your GoPhish deployment:
| Parameter | Value | Description |
|---|---|---|
StackName |
gophish-production | Unique stack identifier |
InstanceType |
t3.medium | 2 vCPU, 4GB RAM |
KeyPair |
your-key-name | SSH access (optional) |
AdminEmail |
admin@yourcompany.com | Initial admin account |
DBInstanceClass |
db.t3.small | RDS database size |
Review your configuration and launch the stack. Deployment typically takes 3-5 minutes.
Once deployment completes, access your GoPhish instance using the provided URLs.
# Get outputs from CloudFormation
aws cloudformation describe-stacks \
--stack-name gophish-production \
--query 'Stacks[0].Outputs'
# Outputs:
# - AdminURL: https://gophish.yourcompany.com:3333
# - PublicURL: https://gophish.yourcompany.com
# - DefaultUsername: admin
# - DefaultPassword: (check your email or EC2 user data)
Navigate to the Admin URL in your browser and log in with the default credentials. You'll be prompted to change your password on first login.
Complete these steps to secure and optimize your deployment:
Stack Creation Failed:
Cannot Access Admin Dashboard:
Email Sending Issues:
Monthly AWS costs for typical GoPhish deployment:
| Resource | Configuration | Est. Monthly Cost |
|---|---|---|
| EC2 Instance | t3.medium (2 vCPU, 4GB) | $30 |
| RDS PostgreSQL | db.t3.small (20GB storage) | $25 |
| Elastic IP | 1 static IP | $0 |
| Data Transfer | ~100GB/month | $9 |
| Total | ~$64/month | |
Learn how to set up and launch your first phishing simulation campaign.
View Tutorial →Set up Amazon SES, SendGrid, or other SMTP providers for email delivery.
View Tutorial →If you encounter issues during deployment, our support team is here to help.
Contact Support