Pharmarack cuts IT costs by 30% through infrastructure optimization
Learn how Pharmarack used Amazon Aurora and Amazon OpenSearch Service to improve reliability and reduce IT costs across its B2B platforms.
Overview
Pharmarack sought to expand its business-to-business (B2B) commerce platforms for the pharmaceutical industry as demand grew among retail pharmacies, distributors, and manufacturers, but fragmented infrastructure and performance issues were limiting its ability to scale. To prepare for growth, the company consolidated its technology environment on Amazon Web Services (AWS), modernizing its search engine, databases, and data pipelines while introducing AI to automate order processing. Today, its flagship retail platform operates with near-zero downtime even during peak periods. Orders that previously took 18–20 minutes to process now take less than 10 seconds, and the company has reduced IT costs by up to 30 percent.
About Pharmarack
Pharmarack is one of India’s largest B2B healthcare technology providers, connecting more than 200,000 retail pharmacies, distributors, and manufacturers through digital platforms spanning more than 110 cities and commercial hubs across India.
Opportunity | Preparing for growth across the pharmaceutical supply chain
Pharmarack is preparing for rapid growth as retail pharmacies, distributors, and pharmaceutical companies increasingly adopt B2B commerce platforms to reduce manual processes across the supply chain.
Pharmarack PharmRetail, its B2B ordering platform for pharmacies and hospitals, needed to support high transaction and search volumes reliably. Its legacy Manticore search engine was unstable, while its self-managed MySQL environment relied on manual data replication across multiple instances. When replication lagged or an instance became unavailable, searches slowed and users could experience difficulty placing orders or accessing the application, particularly during peak periods such as Mondays.
PharmConnect, which distributors use to order directly from pharmaceutical manufacturers, presented a different challenge. Orders arrived in a wide range of file formats. When Pharmarack’s existing rules-based system could not process a new format, orders were routed for manual handling, requiring employees to extract and map information before processing.
To support its expansion, Pharmarack set out to consolidate and modernize the fragmented infrastructure supporting its B2B platforms. The company wanted to improve performance and reliability, reduce manual processes, and create a stronger foundation for data analytics and AI.
Solution | Consolidating infrastructure on AWS and automating orders with AI
Pharmarack consolidated close to 100 percent of its technology environment on AWS, working with AWS account and architecture teams to modernize the infrastructure supporting its B2B platforms. “Consolidating our technology environment on AWS has given us a stronger foundation to scale our platforms and support the evolving needs of India’s pharmaceutical supply chain,” says Amit Kaul, chief operating officer at Pharmarack.
Starting with PharmRetail, the company prioritized improving search performance and reliability by migrating from its legacy search engine to Amazon OpenSearch Service. This modernization helped strengthen the search capabilities supporting its B2B platform. Pharmarack also migrated its MySQL databases running on virtual machines to Amazon Aurora, addressing data replication and scaling challenges. Working with AWS, the company further modernized its platform architecture by rearchitecting the application as microservices orchestrated using Amazon Elastic Kubernetes Service (Amazon EKS).
Pharmarack also modernized the data pipelines supporting Pharmanalytics, which gives manufacturers insights into pharmaceutical sales across India. The company replaced its third-party extract, transform, and load (ETL) solution with AWS Glue to improve scalability and cost efficiency.
To automate order reconciliation in PharmConnect, Pharmarack introduced generative AI. Distributors can upload orders in their existing formats, with PDF and optical character recognition (OCR) tools extracting the information. When product names are misspelled or abbreviated, Anthropic models running in Amazon Bedrock help match the order items against Pharmarack’s master catalog of 450,000 stock items.
Outcome | Cutting order processing to under 10 seconds and IT costs by up to 30%
With improved reliability across its platforms on AWS, Pharmarack is now focused on growing its user base across PharmRetail, PharmConnect, and Pharmanalytics. PharmRetail now operates with near-zero downtime, even during peak periods, and can scale as the number of users grows. The increased reliability is also creating opportunities for the company to monetize services that it previously offered at no cost. "With a more reliable platform, we can focus on growing our services and delivering a better experience to pharmacies, distributors, and manufacturers," says Amit Kaul.
For distributors using PharmConnect, generative AI has transformed order processing. Orders that previously took 18–20 minutes to process, exceeding the company’s 15-minute service level agreement, now take less than 10 seconds. The platform achieves near-100-percent matching accuracy across 5,000 orders each day, reducing the need for employees to manually check hundreds of orders. "Using generative AI to process orders in under 10 seconds is a major improvement for our distributors, and it allows our teams to focus less on manual work and more on creating value," says Amit Kaul.
Furthermore, ongoing optimization on AWS has helped Pharmarack lower costs. Through architectural optimization, AWS best practices, and changes such as modernizing its data pipelines, the company has reduced IT costs by up to 30 percent. Automating its AWS infrastructure has now freed IT employees to focus on product development and AI integration. Pharmarack has also enabled Kiro, an AI-powered development environment, for its development team to help streamline the software development lifecycle and accelerate feature delivery. Amit Kaul says, "Reducing our IT costs by up to 30 percent while improving performance has helped us reinvest our time and resources in innovation and new products."
Reducing our IT costs by up to 30 percent while improving performance has helped us reinvest our time and resources in innovation and new products.
Amit Kaul
Chief Operating Officer, PharmarackAWS services used
More customer stories
Did you find what you were looking for today?
Let us know so we can improve the quality of the content on our pages