India’s Leading Domain & Web Hosting Provider
Payments fintech moves card-processing services to ECS Fargate and narrows PCI DSS scope
RBI-authorized payment aggregator, about 450 employees, processing about 40 lakh transactions a day · Pan-India, operations in Southern India · 15 weeks
As-is situation
Payment services ran as Docker containers on 34 EC2 instances managed by Ansible, with card tokenization, authorization routing and settlement services sharing hosts with merchant onboarding and dashboards. Because cardholder-data services shared hosts and networks with everything else, the whole estate of about 90 services was in PCI DSS scope. Patching took a team of three engineers a week each month, deployments needed a change window, and the last PCI DSS assessment raised findings on host hardening and image provenance.
- Entire 90-service estate in PCI DSS scope because of shared hosts and flat networking
- Monthly OS patching consuming about 15 engineer-days
- Deployments limited to weekly change windows, delaying merchant features
- Assessment findings on image provenance and host hardening
Selected AWS services and architecture
NTSPL moved the 14 cardholder-data services to Amazon ECS on AWS Fargate in a dedicated PCI account and VPC in ap-south-1, removing hosts from the customer's responsibility and giving each task its own isolated compute. Services talk through ECS Service Connect with mutual TLS terminated by the proxy, and reach the tokenization HSM through AWS CloudHSM in the same VPC. Each service has its own task role, secrets come from Secrets Manager, and images are built in a pipeline, scanned by Inspector in ECR and signed before deploy. ECS deployment circuit breaker rolls back failed releases automatically. Non-PCI services moved to a separate ECS account, connected only through PrivateLink endpoints exposing tokenization APIs.
Implementation approach
Measured results
Operational improvements
- No engineer logs in to hosts in the cardholder data environment; there are none to log in to
- Failed deployments roll back automatically through the ECS deployment circuit breaker
- Evidence for PCI DSS image and change controls is generated from the pipeline and ECR scan records
Cost considerations
Fargate costs more per vCPU than well-packed EC2, a trade accepted for removing host scope and patching. Task sizes were right-sized after two weeks, and a Compute Savings Plan covers steady Fargate usage. CloudHSM is a significant fixed cost, required by the tokenization design. Fargate Spot was not used for authorization services.
Return on investment
Indicatively, reduced scope cut assessment and evidence effort by INR 25-35 lakh a year, and patching effort savings free roughly one engineer. Faster deployments let the aggregator launch UPI and card features for merchants weeks earlier, which leadership tracks as the main business benefit.