Building an In-House PCI-DSS Environment for a Madrid-Based FinTech Company

Client Profile

A Madrid-based FinTech company providing payment processing services to online retailers across Spain and Portugal, operating under strict PCI-DSS compliance requirements.

Industry FinTech
Location Madrid, Spain
Company Size ~150 employees
Duration Since 2018

Technologies Used

AWS Terraform Security Hub

Business Challenge

The client had outsourced PCI-DSS compliance to an external provider, paying substantial recurring fees for a restrictive, vendor-controlled environment. The provider’s SDK limited what the client could build for their merchants, and any custom integration required weeks of coordination. As the client’s transaction volume grew, so did the fees — without a corresponding improvement in functionality or control. The leadership team wanted to own their compliance environment to reduce costs, eliminate vendor dependency, and build custom payment flows for their merchant base.

Solution

We designed and deployed a fully PCI-DSS compliant environment in the client’s own AWS accounts. All infrastructure was provisioned with Terraform for repeatability and auditability. We built pre-configured application APIs for payment processing, implemented encrypted data storage with strict access controls, and configured AWS Security Hub for continuous compliance monitoring. We guided the client through the PCI Self-Assessment Questionnaire and Attestation of Compliance documentation, selected a Qualified Security Assessor, and managed the entire audit process. The environment was designed for ongoing maintainability — all compliance-relevant configurations are codified and version-controlled.

Outcome

The client eliminated recurring provider fees, achieving significant annual cost savings. They gained full control over their payment infrastructure and can now build custom merchant integrations without third-party limitations. The in-house environment has passed six consecutive annual PCI-DSS audits with zero critical findings. Our partnership has continued since 2018, covering ongoing maintenance, annual audit preparation, and environment evolution as the client scales.

Process

1

Compliance Audit and Gap Analysis

Audited the client's existing outsourced PCI-DSS environment, identified cost inefficiencies, and mapped the gap between the current state and a self-managed compliant setup in AWS.

2

AWS Architecture Design

Designed a PCI-DSS compliant AWS architecture with isolated VPCs, encrypted storage, strict IAM policies, and network segmentation aligned to PCI-DSS requirements.

3

Infrastructure as Code Deployment

Provisioned the entire environment with Terraform — VPCs, security groups, databases, application services, and monitoring. Every component is version-controlled and reproducible.

4

Payment API Development

Built pre-configured application APIs for payment processing, replacing the vendor's restrictive SDK with a flexible, client-owned solution that supports custom merchant integrations.

5

Security and Compliance Configuration

Configured AWS Security Hub for continuous compliance monitoring, implemented automated alerting for policy violations, and established access logging and audit trails for all PCI-scoped systems.

6

Documentation and Audit Preparation

Guided the client through the PCI Self-Assessment Questionnaire and Attestation of Compliance. Prepared all evidence packages and documentation required by the Qualified Security Assessor.

7

Audit Execution and Certification

Managed communication with the QSA throughout the audit process, translating technical requirements into clear responses. The client received their Report on Compliance and began operating independently.

8

Ongoing Maintenance and Annual Renewals

Since 2018, we have maintained the environment, handled ongoing compliance processes, and prepared the client for each annual audit — six consecutive passes with zero critical findings.

Conclusion

Owning a PCI-DSS environment is achievable and cost-effective when built on already-compliant cloud services with proper automation. The client now operates independently with full control, lower costs, and a proven compliance track record.

Ready to Transform Your Infrastructure?

Book a free consultation with our team to discuss your DevOps and cloud engineering needs.