India’s Leading Domain & Web Hosting Provider
Express logistics firm closes public SSH on 134 VMs and allowlists all production egress
Express logistics company serving 19,000 pin codes with 260 hubs · Google Cloud asia-south1 (Mumbai) and asia-south2 (Delhi) · 12 weeks
As-is situation
The shipment management platform, hub sorting software and partner APIs ran on 160 Compute Engine VMs and GKE across 22 projects, most in a single VPC created from the default network. Firewall rules had grown to 410, including SSH open to 0.0.0.0/0 on 134 VMs so vendors could reach hub integration servers. Outbound traffic was unrestricted. A penetration test reached the shipment database from a compromised partner SFTP server in under two hours, and two e-commerce clients threatened to suspend API integration until the network was fixed.
- 134 VMs with public IPs and SSH open to the internet
- 410 VPC firewall rules, 180 with no traffic in 90 days
- Unrestricted egress and a proven SFTP-to-database lateral path
Approach, tools and architecture
NTSPL moved the projects into a Shared VPC with separate subnets for ingress, application, data and partner zones, and applied hierarchical firewall policies at the folder level so projects could not reopen SSH. Vendors switched to IAP TCP forwarding with per-vendor Google groups. Cloud NGFW Enterprise inspected partner-to-application traffic with IPS. Secure Web Proxy enforced an allowlist of 140 domains for outbound traffic, built from four weeks of logs. Cloud SQL moved to Private Service Connect, and the partner SFTP servers were isolated in their own zone with flows only to an ingestion API.
Implementation approach
Measured results
Operational improvements
- Vendor access is granted and revoked by group membership in minutes
- New egress domains are requested via a pull request reviewed within a day
Cost considerations
Cloud NGFW Enterprise endpoints and Secure Web Proxy added about INR 2.3 lakh a month across both regions. Releasing 130 external IPs saved roughly INR 45,000 a month. NTSPL's design and build fee was INR 18 lakh.
Return on investment
Both e-commerce clients, together worth about INR 22 crore of annual revenue, kept their API integrations live. The retest closure also shortened the company's next customer security audit by an estimated three weeks of engineering effort.