01 · Client overview
Client overview
About Client:
The client is a digital lending and financial services provider offering a platform for loans, investments, and financial wellness solutions. The platform functions as a marketplace connecting borrowers with multiple lending partners, serving both individual and enterprise customers. Their offerings span various loan products, investment options, and value-added services such as tax planning and wellness. Given the transaction-intensive and data-sensitive nature of the platform, the client requires a scalable, secure, and high-performance infrastructure to support large volumes of financial transactions and ensure seamless partner integrations.
02 · Challenge
Challenge
The digital lending and financial services provider faced the challenge of building a secure, scalable, and compliant platform from the ground up without any legacy infrastructure, while adhering to aggressive go-live timelines. The platform needed to be production-ready from day one to support revenue operations, onboard multiple lending partners, and deliver seamless end-to-end digital loan journeys. In addition to these foundational requirements, the system had to address performance bottlenecks related to data access and object retrieval. Loading and accessing objects from storage was time-consuming, impacting user experience and system efficiency. The client also required a secure mechanism to avoid directly capturing or overloading the production database, while establishing a protected connection from an on-premises Ubuntu server to the new database environment. Initially, the approach considered involved creating a disaster recovery (DR) database and fetching data from hourly backups, which introduced additional complexity and latency. The platform also needed to be cost-efficient, avoiding over-provisioning of infrastructure while still meeting performance and a scalable reporting mechanism to support business MIS without impacting transactional workloads
At the same time, the platform needed to handle unpredictable spikes in loan application volumes, ensure strict compliance with RBI data residency guidelines and global standards such as ISO 27001 and SOC 2, and maintain high availability to protect customer experience and partner trust. Security and compliance expectations were particularly stringent, requiring all storage systems to eliminate public exposure and enforce strict access controls. These requirements were further intensified by the need to minimise operational complexity and enable rapid expansion into additional financial products without re-architecting the system, while also ensuring faster and more secure content delivery across the platform.
03 · Solution
Solution
To address these challenges, a cloud-native, containerised microservices architecture was designed and deployed on AWS, built entirely within the ap-south-1 region to meet RBI data residency requirements. The solution leveraged managed services to balance scalability, security, compliance, and cost efficiency while enabling rapid go-live. Amazon EKS was used for container orchestration, allowing independent scaling and deployment of services to handle unpredictable spikes in loan application volumes, while Amazon RDS PostgreSQL (Multi-AZ) ensured a highly available, compliant, and production-ready transactional database.
To meet the requirement of avoiding production database overload while enabling secure external access, a right-sized Read Replica was created from the production database. Instead of provisioning a full-scale disaster recovery database for reporting and data access, this approach significantly reduced infrastructure costs. A dedicated EC2-based jump server (db-jumpbox) was implemented to establish a secure, controlled connection between the on-premises environment and the cloud database layer, ensuring that only authorised traffic could access the Read Replica. This design enabled secure hybrid connectivity while maintaining strict isolation of the production database.
To support business reporting needs without impacting transactional workloads, the client’s MIS reporting framework was implemented using Metabase, allowing seamless generation of insights directly from the Read Replica.
For storage and content delivery, Amazon S3 was used for secure and durable object storage. To address performance bottlenecks in object access, Amazon CloudFront was configured in front of S3, significantly improving content delivery speed. Security and compliance were further strengthened by enforcing account-level public access blocks across all S3 buckets and enabling private access through CloudFront, ensuring that no storage resources were publicly exposed.
A multi-tier VPC architecture ensured strict network segmentation between public, application, and database layers, with secure ingress managed through an Application Load Balancer. End-to-end encryption was implemented using AWS KMS, supported by logging and monitoring mechanisms to meet ISO 27001 and SOC 2 compliance requirements. High availability and operational resilience were achieved through Multi-AZ deployments, automated backups, and disaster recovery strategies, while observability and controlled CI/CD pipelines enabled reliable, zero-downtime releases.
This approach not only addressed scalability, security, compliance, and performance challenges but also delivered significant cost optimisation, improved reporting capabilities. It established a robust, flexible, and future-ready foundation to support the organisation’s expansion into additional financial products.
Key Actions:
Designed a Cloud-Native Microservices Architecture:
-
Deployed containerised workloads on Amazon EKS using managed node groups to reduce operational overhead and enable horizontal scaling.
-
Segregated services (backend, frontend, API gateway, identity, messaging) into independent deployments with dedicated container images stored in Amazon ECR.
-
Implemented Kubernetes Ingress with the AWS Load Balancer Controller and IRSA for dynamic provisioning and secure IAM-based access at the pod level.
Implemented Secure and Segmented Network Architecture:
-
Built a custom multi-AZ VPC (10.20.0.0/16) with strict separation of public (ALB), private application (EKS), and database subnets across three Availability Zones.
-
Configured security groups to restrict traffic flows (e.g., EKS to RDS on port 5432, Redis on 6379) within the VPC CIDR, ensuring no direct public access to sensitive layers.
-
Enabled private connectivity to S3 using a VPC Gateway Endpoint, preventing data from traversing the public internet and reducing NAT Gateway costs.
Enabled Observability, Monitoring, and Governance:
-
Configured infrastructure and application monitoring using Amazon CloudWatch metrics, logs, and alarms across RDS, EKS, ALB, and Redis.
-
Implemented CloudWatch Synthetics canaries for proactive health checks and AWS CloudTrail (organisation trail) with log file validation for audit logging.
-
Integrated alerting workflows with incident management tools and established thresholds for critical metrics to ensure rapid issue detection and response.
Built a Secure and Controlled CI/CD Pipeline:
-
Implemented CI/CD pipelines (backend, frontend, webview) using AWS CodePipeline integrated with Amazon ECR for image build and storage.
-
Introduced manual approval gates with role-based access (SSO permission sets) to enforce deployment governance before production releases.
-
Enabled rolling deployments to EKS to ensure zero-downtime releases, with rollback mechanisms to maintain platform stability.
Comprinno designed a secure, scalable, cloud-native microservices platform deployed on AWS within a multi-AZ Virtual Private Cloud in the Mumbai region. It follows a layered design approach consisting of ingress, application, and data layers, ensuring high availability, security, and compliance for a regulated financial services environment.
User traffic enters the system via Amazon CloudFront and is protected by AWS WAF, ensuring secure and filtered access. Requests are routed through an Application Load Balancer, where TLS termination is handled using AWS Certificate Manager, enforcing HTTPS communication. The core application layer runs on Amazon EKS, hosting containerised microservices distributed across multiple Availability Zones for fault tolerance. These services include backend applications, API layers, and supporting components, all deployed in private subnets and scaled dynamically using auto-scaling groups. Container images are stored securely in Amazon ECR and deployed via CI/CD pipelines.
The data layer consists of Amazon RDS PostgreSQL configured in a Multi-AZ setup for high availability, along with a read replica to handle read-heavy workloads. Application performance is enhanced using Amazon ElastiCache Redis for caching and session management. Static content and documents are stored in Amazon S3, accessed privately through a VPC endpoint to avoid public internet exposure. Security and compliance are enforced through AWS KMS for encryption, IAM for access control, and AWS CloudTrail and CloudWatch for monitoring and auditing. Backup and disaster recovery are handled using AWS Backup and cross-region strategies.
The CI/CD pipeline integrates GitHub with AWS services like CodeBuild, CodeDeploy, and CodePipeline to enable automated, controlled deployments with approval gates, ensuring zero-downtime releases.
Metrics for Success
The following KPIs highlight the measurable improvements achieved through the implementation of a secure, highly available, and cloud-native AWS architecture.
KPI 1: Platform Availability – Reduction in Unplanned Downtime Risk
- Baseline:
The production environment lacked Multi-AZ redundancy and automated failover. Failure of any critical component (database, application node, or cache layer) would result in complete platform downtime, with no defined recovery objectives.
- Improvement Target:
a. Implement a highly available architecture with automated failover across all critical components.
-
b. Eliminating single points of failure and ensuring continuous platform availability.
-
Actual Result:
The platform now operates with Multi-AZ RDS PostgreSQL, ElastiCache Redis replication across two AZs, and EKS worker nodes distributed across three AZs. Application Load Balancers distribute traffic across all AZs. Cross-region backup strategies include hourly replication of RDS and EBS backups to ap-south-2 with 35-day retention, and S3 Cross-Region Replication with a 15-minute RTC SLA. This architecture significantly reduces downtime risk and enables recovery from regional failures.
- Measurement Methodology:
Validated through AWS configurations including RDS Multi-AZ status, Auto Scaling Group health metrics, AWS Backup execution logs, cross-region replication status, and S3 RTC configuration.
KPI 2: Security Posture – Implementation of Continuous Monitoring and Audit Controls
- Baseline:
No centralized logging, threat detection, encryption strategy, or audit mechanisms were in place, resulting in significant compliance gaps for handling sensitive financial and KYC data.
- Improvement Target:
Establish a continuously monitored security framework with encryption, real-time threat detection, audit logging, and automated alerting aligned with compliance standards such as ISO 27001 and SOC 2.
- Actual Result:
A comprehensive security framework was implemented, including 14 AWS KMS CMKs for workload-level encryption, GuardDuty with six active data sources, organisation-level CloudTrail with log validation, and 25+ CloudWatch alarms integrated with PagerDuty via EventBridge. This provides continuous threat detection, auditability, and compliance readiness.
- Measurement Methodology:
Validated via GuardDuty detector status, CloudTrail logging configuration, KMS key inventory, CloudWatch alarm configurations, and compliance commitments.
04 · Results
Results
Benefits
-
Scalable Architecture – Built on Amazon EKS with microservices and auto-scaling, enabling the platform to handle unpredictable spikes in loan application volumes without performance degradation.
-
Strong Security & Compliance – End-to-end encryption using AWS KMS, private networking, and audit logging ensure compliance with RBI, ISO 27001, and SOC 2 standards.
-
High Availability & Reliability – Multi-AZ deployment with Amazon RDS PostgreSQL and automated backups ensures minimal downtime and protects against data loss.
-
Operational Efficiency & Faster Time-to-Market – Leveraging managed services and automated CI/CD pipelines reduces operational overhead and enables rapid, zero-downtime deployments for faster product delivery.
Lessons Learned
The engagement provided valuable operational and architectural insights that have helped strengthened the delivery practices and established improved standards for future cloud transformation initiatives.
Challenge 1: Balancing Speed-to-Production with Architecture Completeness:
The digital lending and financial services provider’s business timeline required the platform to be revenue-generating from January 2024, with the mobile app launching in January 2025 and deep lender integrations going live in October 2025. This compressed timeline meant that certain architectural enhancements such as additional encryption configurations on the caching layer and advanced runtime monitoring features were deferred in favour of delivering core platform functionality on schedule.
-
Lesson learned: A phased architecture roadmap should be defined upfront, clearly separating Day 1 production requirements from Day 2 hardening activities. This ensures deferred items are formally tracked and scheduled rather than left open-ended.
-
Action taken: A security improvement backlog has been established, with items such as ElastiCache encryption and enhanced GuardDuty runtime monitoring scoped for the next platform review cycle. For future engagements, a structured Day 2 operations plan will be implemented as a formal deliverable alongside the initial deployment.
Challenge 2: Scaling Observability to Match Platform Growth:
As The digital lending and financial services provider expanded from a single product to a multi-vertical platform adding investments, wellness, and corporate HR products, the observability stack required continuous expansion. Early in the engagement, monitoring coverage was focused on core infrastructure including RDS and ALB, and extending coverage to application-level metrics and synthetic monitoring required iterative additions as new services came online.
-
Lesson learned: Observability requirements should be defined comprehensively at the architecture design stage, covering infrastructure, application, and business-level metrics from the outset rather than being added reactively as the platform grows.
-
Action taken: CloudWatch Synthetics canaries and 25+ metric alarms now provide broad coverage across RDS, ElastiCache, ALB, ACM, and KMS. For future engagements, an observability blueprint will be defined as part of the initial architecture, with monitoring coverage mapped to each service before deployment.
Challenge 3: CI/CD Pipeline Governance for a Multi-Service Platform:
With 10 containerised microservices and 3 separate CodePipeline pipelines- backend, frontend, and webview, coordinating deployments across services while maintaining production stability required establishing clear governance. Early in the engagement, the absence of a formal approval gate created risk of uncoordinated deployments reaching production.
-
Lesson learned: Deployment governance, including manual approval gates, rollback procedures, and deployment sequencing, should be defined and implemented before the first production deployment, not added after incidents occur.
-
Action taken: A dedicated CICD_Approver_Reject SSO permission set with a manual approval gate in CodePipeline was implemented, ensuring all production deployments require explicit sign-off. For future engagements, CI/CD governance will be a mandatory component of the initial platform design.
Conclusion
The cloud-native, microservices-based architecture on AWS enabled the digital lending and financial services provider to successfully address key challenges around scalability, performance, security, compliance, and cost efficiency. Leveraging services like Amazon EKS, Amazon RDS PostgreSQL, and Amazon ElastiCache ensured high availability, resilience, and low-latency operations. Optimisations such as the use of a right-sized Read Replica, secure EC2-based jump server for hybrid connectivity, and Metabase for MIS reporting allowed efficient data access without impacting production systems while reducing infrastructure costs. Additionally, Amazon CloudFront with S3 improved content delivery performance and strengthened security through private access controls.
Overall, the solution enabled rapid go-live, ensured compliance with RBI and ISO/SOC standards, and established a secure, scalable, and future-ready platform to support ongoing growth and expansion.
