Optimize Performance
ClousStation offers some quick and easy ways to configure deployments for achieving optimal performance.
Specifically, we offer the following features:
- Horizontal Scaling with Replicas
- Regional Deployments
Continue reading for information on how to configure these.
Configure Horizontal Scaling
Scale horizontally by manually increasing the number of replicas for a service.
To change the number of replicas per deploy within your service, go to the service settings view and look for the "Replicas" field in the "Deploy" section. This will create multiple instances of your service and distribute traffic between them.
Load Balancing Between Replicas
At the moment, ClousStation will randomly distribute requests to the replicas of your service. We plan to add more advanced load balancing strategies in the future. If you need more advanced load balancing, you can use an external load balancer such as Cloudflare to distribute traffic between your services.
Configure a Provider
The "Cloud Provider" selection allows you to choose the cloud service provider for your deployment. Cloud providers offer infrastructure, platform, and software services over the internet, enabling organizations to host applications, store data, and access computing resources remotely.
When selecting a cloud provider, consider factors such as geographic location, pricing, service offerings, performance, and integration with existing infrastructure.
Available Cloud Providers
- Amazon Web Services (AWS)
- Microsoft Azure
- Google Cloud Platform (GCP)
- IBM Cloud
- Alibaba Cloud
- Oracle Cloud
- Other (Specify)
Choosing the Right Cloud Provider
- Assess Organizational Needs: Select a cloud provider that aligns with your organization's requirements, preferences, and budgetary considerations.
- Evaluate Services and Features: Each provider offers a variety of services, such as:
- Compute instances
- Storage options
- Networking capabilities
- Security features
- Managed services
- Consider Key Factors:
- Data residency and compliance requirements
- Service Level Agreements (SLAs)
- Support offerings and customer service
- Optimize Costs:
- Review pricing models, including on-demand, reserved, and spot instances.
- Optimize your cloud expenses based on your usage and scaling needs.
By following these guidelines, you can choose the cloud provider that best fits your deployment requirements, ensuring performance, security, and cost-effectiveness.
Configure Cloud Region
The "Cloud Region" setting determines where your service will be deployed. Choosing the right region impacts application performance, latency, and compliance with data residency laws.
Selecting a Cloud Region
- Performance Considerations: Select a region closest to your primary users to reduce latency and improve response times.
- Compliance and Regulations: Some regions have specific data residency requirements that must be followed.
- Example: Deploying in
eu-central
ensures better performance for users in Central Europe.
Why Cloud Region Matters
- Latency Optimization: Hosting your service near your users ensures faster load times.
- Regulatory Compliance: Some industries and countries require data to be stored within specific regions.
- Disaster Recovery: Deploying across multiple regions enhances redundancy and reliability.
By selecting the right cloud provider and region, you can optimize performance, security, and cost for your deployment, ensuring a seamless experience for your users.
Impact of Region Changes
For information on the impact of changing a service's region, see the Regions reference guide.
Singleton Deploys
By default, ClousStation maintains only one deploy per service.
Edit this file on GitHub