Cost Management
Retool Self-hosted provides customers the flexibility of deploying Retool into their public cloud provider. When budgeting for Retool, it is important to estimate and monitor those service charges. This document will review the use of AWS functionality to help estimate, tag, budget, explore and monitor.
Similar cost management functionality is available for Microsoft Azure and Google Compute Platform.
Example Retool Deployment
Retool Self-hosted in AWS, shown in the following diagram, focuses on using Amazon Kubernetes Service for deploying Retool containers. The significant cost drivers in this deployment are the compute and database services.

In this configuration, an AWS VPC with two availability zones is created. Within this VPC, an Amazon EKS cluster employs two Amazon EC2 instances in the managed node group that Amazon EKS controls. A Multi-AZ Elastic Load Balancer is created to forward incoming traffic to the Amazon EC2 instances. An Amazon RDS instance using Multi-AZ is created separately for the Retool Platform Database. The following sections describe the instance types/sizes recommended for a production medium configuration.
Amazon EC2 Managed Node Configuration
For the Amazon EC2 requirement, the following instance type/resource is recommended.
- Instance Count = 2
- Instance size = m5.xlarge (4 vCPU and 16 GB of RAM)
- Amazon EBS volume size = 150 GiB storage that can expand
Amazon RDS Configuration
Retool requires a PostgreSQL database to store apps, workflows, permission groups, and more. In this example, we are recommending the following instance type/resources.:
- Instance size = db.m6g.xlarge (4 vCPU and 16 GB of RAM)
- Configuration = multi-AZ enabled for failover
- Amazon RDS storage size = 80 GB storage that can expand
Other required services
Retool instances also require other AWS services, which are detailed in the Appendix: Example Estimate.
Estimating Costs
The following costs were calculated using Amazon Pricing Calculator that estimates costs but may not accurately reflect your actual monthly costs. These costs are meant for illustration purposes and users should be actively monitoring their accounts with AWS Billing and Cost Management.
With the information in the Example Deployment section, we can leverage the Amazon Pricing Calculator to estimate monthly/annual costs, initially focusing on EKS, EC2, and RDS. The following video demonstrates the use of the pricing calculator by walking through the Terraform Template configuration.
AWS Pricing Calculator Walkthrough
This video specified On-Demand instance types from the Ohio Region (us-east-2) for the EC2 managed nodes and the RDS instance. For customers planning on running Retool 24x7x365, it is best to consider AWS's savings options. The following section will cover these considerations.
Reducing Amazon EC2 and Amazon RDS costs
The Retool architecture leverages both EC2 and RDS instances. AWS provides two mechanisms we can employ to help discount the monthly runtime and database storage. Reserved Instances and Savings Plans allow customers to enter into a one —or three-year agreement, significantly reducing costs.
Reserved Instances
For Retool, we can consider reserved instances for both EC2 and RDS. Reserved instances contracts come in one—and three-year lengths. The longer the commitment, the higher the savings. Reserved instances allow you to specify an instance type, and when the instance is running, the agreed-upon discount is applied to the monthly bill. On average, one can save 60% on monthly costs.