Capital Markets & Broking · Gujarat, India · One of India's Top Stock Brokers · 2026
On-Premises to AWS: Modernizing Financial Services Infrastructure
Texple migrated a leading Indian stock broker from legacy on-premises infrastructure to AWS EKS, with Terraform automation, GitLab CI/CD, and CloudWatch monitoring, cutting cloud costs by 45%.
Texple helped a leading Indian stock broker migrate on-premises infrastructure to AWS EKS with Terraform and GitLab CI/CD, cutting cloud costs by 45%.
- Client
- One of India's Top Stock Brokers
- Duration
- 2 Years
- Services
- Cloud & Infrastructure, DevOps & CI/CD, Managed Services
- -45%
- Cloud cost reduction
- Automated CI/CD
- Deployment method
- Kubernetes autoscaling
- Scaling
Project snapshot
- Industry
- Capital Markets & Broking
- Location
- Gujarat, India
- Year
- 2026
- Duration
- 2 Years
Cloud & Infrastructure
DevOps & CI/CD
Managed Services
The challenge
As one of India's top stock brokers scaled, its legacy on-premises infrastructure became a bottleneck — struggling at peak trading hours, running up high EC2 costs, and slowing deployments with manual scaling and limited monitoring.
Scalability Issues
The on-premises setup struggled to handle peak trading hours, leading to performance bottlenecks exactly when reliability mattered most.
High Costs
Running all workloads on EC2 instances resulted in excessive operational expenses, with no efficient way to scale capacity down between peaks.
Inefficient Resource Management
Manual scaling and resource allocation led to inefficiencies, with engineering time spent on infrastructure toil instead of product work.
Slow Deployment Process
A lack of automation slowed down the release cycle, affecting business agility at a firm that needed to ship changes quickly and safely.
Monitoring & Alerting Gaps
Limited visibility into infrastructure health impacted proactive issue resolution, leaving problems to surface as incidents rather than early warnings.
The solution
Texple helped the firm adopt a cloud-native approach on AWS, moving workloads onto Kubernetes, automating provisioning and deployment, and adding the cost and monitoring controls a broking business needs.
Kubernetes on AWS EKS
Containerized applications now run on AWS EKS with automated scaling, replacing EC2-only workloads with orchestration that responds to real demand.
Secure Traffic Routing
An Application Load Balancer Ingress Controller exposes services securely, giving the platform one consistent entry point for traffic.
After-Hours Cost Automation
AWS Lambda automates infrastructure downscaling after market hours, so the firm stops paying for capacity it only needs during trading hours.
Infrastructure as Code
Terraform automates resource provisioning, so environments are reproducible and infrastructure changes are reviewed the same way code changes are.
Automated CI/CD
A GitLab CI/CD pipeline streamlines and automates deployments, shortening the release cycle and reducing manual deployment risk.
Monitoring, Security & Cost Controls
AWS CloudWatch and EventBridge give real-time monitoring and event-driven automation, IAM enforces role-based access, CloudTrail audits API activity, and Budget Alerts track cloud spend.
The impact
Migrating from EC2 to AWS EKS cut the firm's cloud costs by 45% while giving it seamless scaling through peak trading hours, faster deployments, and real-time visibility into infrastructure health.
Cost Reduction
Migrating from EC2 to AWS EKS significantly optimized costs, cutting cloud spend by 45%.
Seamless Scalability
Kubernetes autoscaling ensured optimal performance during peak trading hours, when the legacy setup used to struggle.
Faster Deployment
The CI/CD pipeline reduced deployment time and improved release cycles, giving the team more confidence to ship changes.
Improved Resource Efficiency
Automated downscaling of infrastructure minimized unnecessary resource usage outside trading hours.
Enhanced Monitoring & Security
CloudWatch provided real-time insight, enabling proactive issue resolution instead of reactive incident response.
How it is built
Architecture
Traffic enters through an Application Load Balancer into containerised services on AWS EKS, backed by Amazon RDS. Terraform provisions the platform, GitLab CI/CD ships to it, and Lambda scales it down after market hours.
Traffic entry
- ALB Ingress ControllerSingle, secure entry point routing traffic into the cluster
Compute & orchestration
AWS EKSRuns the containerised services with autoscaling for peak trading hours
- Amazon ECRPrivate registry for the container images EKS pulls
Data
- Amazon RDSManaged relational database for application data
Delivery & automation
TerraformProvisions every environment as reviewed code
- GitLab CI/CDBuilds, tests and deploys each change
AWS LambdaScales infrastructure down after market hours
Monitoring, security & cost
AWS CloudWatchReal-time metrics, logs and alarms
AWS EventBridgeEvent-driven automation triggers
AWS IAMRole-based access control
AWS CloudTrailAudit trail of API activity
AWS Budget AlertsTracks cloud spend against budget
Under the hood
Implementation highlights
Illustrative snippets showing the pattern used — not the client's production code.
After-hours downscaling with Lambda
A scheduled EventBridge rule invokes this outside trading hours to shrink an EKS node group; a matching rule restores capacity before the market opens.
import os
import boto3
eks = boto3.client("eks")
def handler(event, context):
# "down" after market close, "up" before open — set on each EventBridge rule
size = int(os.environ["OFF_HOURS_SIZE"] if event["mode"] == "down" else os.environ["TRADING_SIZE"])
eks.update_nodegroup_config(
clusterName=os.environ["CLUSTER_NAME"],
nodegroupName=os.environ["NODEGROUP_NAME"],
scalingConfig={"minSize": size, "desiredSize": size, "maxSize": max(size, 1) * 2},
)
return {"mode": event["mode"], "desiredSize": size}EKS managed node group in Terraform
Capacity is declared in code, so a change to trading-hour sizing is reviewed like any other change.
resource "aws_eks_node_group" "trading" {
cluster_name = aws_eks_cluster.main.name
node_group_name = "trading"
node_role_arn = aws_iam_role.eks_nodes.arn
subnet_ids = var.private_subnet_ids
instance_types = var.node_instance_types
scaling_config {
min_size = var.trading_min_size
desired_size = var.trading_desired_size
max_size = var.trading_max_size
}
# Lambda adjusts desired size out of hours; don't let Terraform undo it
lifecycle {
ignore_changes = [scaling_config[0].desired_size]
}
}Delivered work
Related case studies
Automated infrastructure monitoring
- Challenge
- No consistent infrastructure visibility
- Outcome
- Zero manual intervention
- Delivered in
- 6 Months
- Business impact
- Risk caught before incidents

FinTech cloud automation
- Challenge
- High infrastructure cost, slow onboarding
- Outcome
- −40% infrastructure cost
- Delivered in
- 1 Year
- Business impact
- Trade reconciliation 45% faster

