Scaling Resources
Learn how to adjust resources for your applications to match demand
Scaling on RepoCloud
As your application’s needs evolve, you may need to adjust the resources allocated to ensure optimal performance. RepoCloud offers flexible scaling options to accommodate growing traffic, increased data storage, or more demanding workloads.
RepoCloud’s scaling capabilities allow you to match your resource allocation to your actual needs, whether you’re dealing with growing traffic, increasing storage requirements, or more intensive processing needs.
Scaling Options
RepoCloud provides two primary methods for scaling your applications:
Elastic Autoscaling
Automatically adjusts resources based on actual usage, with hourly billing
Manual Scaling
Manually select a specific resource tier with fixed allocation
Elastic Autoscaling
Elastic Autoscaling is RepoCloud’s intelligent resource management system that continuously monitors your application’s resource utilization and automatically adjusts resources as needed.
How Autoscaling Works
Resource Monitoring
Our system continuously monitors CPU, RAM, and storage utilization of your application.
Automatic Adjustment
When resource usage increases, additional resources are instantly allocated to maintain performance.
Scaling Down
During periods of lower activity, resources scale down automatically to reduce costs.
Hourly Billing
You’re billed on an hourly basis for the actual resources consumed, rather than a fixed monthly amount.
Benefits of Autoscaling
- Cost Efficiency: Pay only for the resources you actually use
- Performance Optimization: Automatically handle traffic spikes without manual intervention
- Resource Efficiency: Reduce waste during low-traffic periods
- Simplicity: No need to predict exact resource requirements
Enabling Autoscaling
Navigate to Instance Management
Go to your application’s management page in the RepoCloud dashboard.
Access Scaling Options
Click on the “Scale” tab to view resource management options.
Enable Autoscaling
Toggle the “Elastic Autoscaling” option to enable it.
Set Resource Limits (Optional)
Optionally, set minimum and maximum resource limits to control scaling boundaries.
Save Changes
Click “Apply Changes” to enable autoscaling for your application.
When enabling autoscaling, you can set limits to prevent unexpected resource usage. For example, you might set a maximum of 8GB RAM to ensure your application never exceeds a certain cost threshold.
Manual Scaling
If you prefer predictable, fixed resources, you can manually select a specific resource tier for your application.
Available Resource Tiers
Tier | RAM | vCPU | Storage | Best For |
---|---|---|---|---|
1 | 1 GB | 1 | 20 GB | Small blogs, simple tools, development environments |
2 | 2 GB | 1 | 50 GB | Personal websites, small team collaboration |
3 | 2 GB | 2 | 60 GB | Production websites, small business applications |
4 | 4 GB | 2 | 80 GB | Medium traffic sites, larger databases |
5 | 8 GB | 4 | 160 GB | High-traffic websites, data-intensive applications |
6 | 16 GB | 8 | 240 GB | Enterprise applications, large databases |
7 | 32 GB | 16 | 360 GB | Very large databases, high-performance computing |
Manually Scaling Resources
Navigate to Instance Management
Go to your application’s management page in the RepoCloud dashboard.
Access Scaling Options
Click on the “Scale” tab to view resource management options.
Select Manual Scaling
Ensure that the “Elastic Autoscaling” toggle is disabled to use manual scaling.
Choose Resource Tier
Select the appropriate resource tier from the available options.
Apply Changes
Click “Apply Changes” to update your application’s resource allocation.
Most scaling operations occur with minimal or no downtime. However, for some applications, a brief restart may be required when scaling resources.
Choosing the Right Scaling Method
Storage Scaling
In addition to CPU and RAM scaling, you can also adjust storage capacity:
Access Storage Settings
Navigate to the “Scale” tab in your application’s management dashboard.
Adjust Storage Allocation
Use the storage slider or input field to specify the desired storage capacity.
Apply Changes
Click “Apply Changes” to update your storage allocation.
While storage can be increased at any time, decreasing storage is not always possible if the space is already being used by your application. Always back up important data before attempting to reduce storage allocation.
Monitoring Resource Usage
To make informed scaling decisions, monitor your application’s resource usage:
- Navigate to the “Metrics” section of your application dashboard
- View CPU, RAM, and storage utilization over time
- Identify usage patterns and peak demand periods
- Use this information to optimize your scaling strategy
For optimal cost efficiency, monitor resource usage for a week or two after deployment before deciding between autoscaling and fixed resources.
Scaling Limitations
Be aware of these scaling limitations:
- Minimum Resources: Each application type has minimum resource requirements
- Maximum Tier: Resources cannot exceed the highest available tier (32GB RAM, 16 vCPU)
- Platform Apps: Platform Apps (like Coolify and Dokploy) cannot use autoscaling and must be manually scaled