India’s growing professional class aspires more than ever toward the safety and convenience of private transportation. Many car buyers, however, are simply unwilling to pay the premium new car prices that COVID-19 uncertainties, global supply chain issues, and a shortfall of new vehicles demand. That is where CARS24 enters the picture. Pioneering a unique dual C2B and B2C sales strategy, CARS24 demystifies the sale of pre-owned cars by offering sellers fair valuations and buyers quality assurance, warranties, and financing.
The timing couldn’t be better — India’s pre-owned vehicle market is currently valued at US $34.1 billion, with projections estimating that number will double to over US $70 billion by 2027 as other regional markets follow suit. Valued at $5 billion, this privately-owned, 2015 startup has 205 branches across India, a presence in 203 Indian cities, and a network of 10,000+ channel partners. With the Indian market well in hand, CARS24 has expanded to the UAE, Australia, and Thailand and has plans underway to further their global reach.
As a thriving autotech ecommerce platform, CARS24 depends on security, stability, and availability to ensure frictionless transactions in a market fraught with buyer and seller insecurity.
“Convenience and consumer peace of mind are the most important services we provide,” explains Marut Singh, the CARS24 CTO overseeing the company’s tech stack, application architecture, and security. “Although the process looks very simple, there are many underlying complexities,” he adds, referring to consumer confidence as well as the regulations, logistics, and systems required to evaluate, acquire, refurbish, photograph, and finance the purchase of each vehicle.
“Our infrastructure must always be up and running because our customers won't wait. There is a limited supply of vehicles and a lot of people interested in each car. Delays mean lost opportunities.”
With a three-person SecOps team doing double duty handling compliance and multiple internal and external domains used by their channel partners and customers around the world, CARS24 had multiple concerns.
“We were facing DDoS attacks, data scrapers, and cumbersome certificate management across all our web properties as they grew in number,” summarizes Singh. “We wanted a security layer that could protect our web properties and APIs without adding significant overhead.”
In their quest for a security solution, CARS24 tried several vendors before Cloudflare, but none of them ticked all the boxes.
“The competitor with the largest comparable footprint and service offering to Cloudflare had a user interface that was too clunky and outdated to use efficiently,” Singh recalls. “Another vendor lacked Indian servers — the nearest was in Singapore — and added significant latency to our infrastructure. The last solution we looked at was too complicated to configure effectively and had immature pricing policies.”
CARS24 wanted an advanced security solution that delivered everything on their list — ease of implementation and configuration, maintenance, performance, local server coverage, prompt support, and value for money.
CARS24 began their journey with Cloudflare in 2019 by moving to protect their domains with the Web Application Firewall (WAF).
“It really wasn’t difficult. Integrating Cloudflare with our newer domains was just a matter of changing name servers,” says Singh.
Migrating CARS24’s legacy domains and their complex load balancing requirements proved to be almost equally straightforward. With Cloudflare CNAME flattening, CARS24 was able to provide immediate access to edge services.
“When we used competing solutions, we encountered significant implementation and configuration issues with changes taking a long time to reflect,” Singh relates. “What took us three days with a previous provider, Cloudflare accomplished in an hour. Overall, the Cloudflare interface is much simpler, and certificates and configuration changes to the WAF propagate in minutes.”
With Cloudflare, the CARS24 team can finally address their most pressing security concern: DDoS attacks. With their early vendors, CARS24 was particularly vulnerable on weekends when customer activity was highest and their technical staff least available.
“Saturdays and Sundays are our busiest days and, in the past, the site has failed due to a DDoS attack during this critical period,” says Singh.
Now, CARS24 can configure robust DDoS attack prevention with a combination of the Cloudflare WAF, Managed Ruleset, OWASP ModSecurity Core Ruleset, and their own custom rules.
CARS24 also uses Cloudflare country-based IP blocking to avert unwanted volume attacks and ensure their sites stay up.
“There is no strategic value in allowing traffic that originates in problem countries when it couldn’t possibly come from a potential customer,” says Singh.
Directly from the dashboard, Cloudflare filters out questionable requests and secures the CARS24 websites, applications, and networks against DDoS attacks without compromising performance or inconveniencing legitimate customer traffic.
“In the most severe instances, we can rely on the Cloudflare cache to serve our users even if our underlying infrastructure is not available,” Singh adds. “It gives us an advantage for sure.”
Another pain point for CARS24 was “hoarding” bots that create false bookings and disrupt the company’s vehicle acquisition workflows.
Singh explains, “There is a fixed number of bookings our vehicle inspection partners can handle. When a bot blocks those appointment slots, we can’t accept real bookings which means we can’t buy cars.”
Cloudflare’s advanced rate limiting protects CARS24 from unusual activity like excessive login attempts or repeated API calls.
Data scrapers were also a threat to user personal information and CARS24 public domain data that needed to be curbed. In addition to the security risk, the unwanted traffic was affecting CARS24’ bottom line.
“Whether or not traffic is genuine, we bear the costs of upgrading our infrastructure to serve it,” says Singh. “Useless traffic also skews our analytics and puts us in danger of focusing our marketing and other initiatives on the wrong audience.”
With the granular control Cloudflare gives CARS24 over their traffic, Singh and his team can rapidly recognize spurious activity and automatically block, challenge, or redirect threats without interrupting service or staffing around the clock to manually monitor systems.
“Simply put, Cloudflare identifies and mitigates risks to our ecosystem that rogue elements want to exploit,” says Singh, indicating that Cloudflare had stopped 44,000 threats in the last 24 hours. “We couldn’t build that in-house and expect to get it right. Discovering an attack and knowing Cloudflare has already stopped it gives us peace of mind.”
Cloudflare Workers enables CARS24 to deploy serverless code on the edge of a powerful global network, minimizing latency and removing on-premise infrastructure dependencies. Singh explains how Workers empowers CARS24 development teams to update their legacy PHP codebase to React.js without service interruptions or laborious update procedures:
“Workers and advanced routing mesh well with our development roadmap. We are changing our tech stack and converting our backlog page by page using complex logic to direct users to our new code. It would be very difficult to do from inside our own web servers, but it is very easy to do with Workers on the edge.”
As CARS24 takes the business even further afield, Workers features are likely to become a more critical part of their infrastructure.
“In addition, we are exploring the use cases of Cloudflare Tunnel and Argo Smart Routing as the CARS24 global portfolio continues to expand,” says Singh. The company is also investigating caching their static content — including images of their entire automobile inventory — on Cloudflare’s global network.
After three years, CARS24 remains impressed by the availability of the dedicated Cloudflare CSM and CSE teams working to meet their needs.
“Cloudflare is such a technical product, having immediate access to their support team’s expertise to ensure everything is configured for maximum performance, answer a quick question, or get on a call to help us explore a new product or feature is very reassuring,” says Singh. “As their customer, I’m confident Cloudflare will continue to support CARS24 as we grow.”
Reduced infrastructure overheads and eliminated misleading marketing insights by diverting malicious traffic
Improved customer access to high-demand vehicle inspection services by eliminating false appointment booking
Enabled low-impact, zero-disruption legacy code replacement using edge serverless computing
“What took us three days with a previous provider, Cloudflare accomplished in an hour. The Cloudflare dashboard is much simpler, and certificates and configuration changes to the WAF propagate in minutes.”
Marut Singh
CTO
“Cloudflare filters out questionable requests and secures Cars24 websites, applications, and networks against DDoS attacks without compromising performance or inconveniencing legitimate customer traffic.”
Marut Singh
CTO