Please note, this event is being recorded. I would now like to turn the conference over to Anthony Luscri, Vice President, Investor Relations. Please go ahead.
Thank you. Good afternoon, and thank you for joining us on today's conference call to discuss Elastic's second quarter fiscal 2025 financial results. On the call, we have Ash Kulkarni, Chief Executive Officer, Janesh Moorjani, Chief Financial Officer and Chief Operating Officer, and Eric Prengel, our incoming interim CFO. Following their prepared remarks, we will take questions. Our press release was issued today after the close of market, is posted on our website. Slides, which are supplemental to this call, can also be found on the Elastic Investor Relations website at ir.elastic.co. Our discussion will include forward-looking statements, which may include predictions, estimates, our expectations regarding the demand for our products and solutions, and our future revenue and other information.
These forward-looking statements are based on factors currently known to us, speak only as of the date of this call, and are subject to risks and uncertainties that could cause actual results to differ materially. We disclaim any obligation to update or revise these forward-looking statements unless required by law. Please refer to the risks and uncertainties, including the press release that we issued earlier today, included in the slides posted on the Investor Relations website, and those more fully described in our filings with the Securities and Exchange Commission. We will also discuss certain non-GAAP financial measures. Disclosures regarding non-GAAP measures, including reconciliations with the most comparable GAAP measures, can be found in the press release and slides. The webcast replay of this call will be available on our company website under the Investor Relations link.
Our third quarter fiscal 2025 quiet period begins at the close of business on Friday, January 17th, 2025. We will be participating in Scotiabank's Global Technology Conference on December 10th and the Needham Growth Conference on January 16th. With that, I'll turn it over to Ash.
Thank you, Anthony, and thank you, everyone, for joining us on today's call. Elastic delivered a strong second quarter supported by solid sales execution and customer commitments. In Q2, we meaningfully exceeded guidance across all revenue and profitability metrics. Revenue grew by 18% year- over- year. Cloud revenue grew by 25% year- over- year, and we delivered a non-GAAP operating margin of 18%. We also increased the number of customers spending over 100K with us to 1,420. At the start of this fiscal year, we made sales segmentation changes to increase the focus on our key enterprise and high-potential mid-market customers. After some unexpected disruption in sales performance in Q1, we are now starting to see the benefits of the changes we made take hold.
Our performance in Q2 reaffirms our confidence in our strategy and shows that we are well on our way to returning to the strong pace of sales execution that we have demonstrated in the past. In Q2, we saw strong customer commitments with key wins across all of our solution areas, especially in search powered by generative AI. We also saw continued consolidation onto the Elastic platform for security and observability, with many customers displacing incumbent legacy products and migrating onto our Search AI platform. Turning to generative AI, our momentum in this area continues to build. In Q2, we saw strong demand for our vector database as customers increasingly adopted Elastic for building semantic search and retrieval augmented generation, or RAG, applications. Our clear product differentiation and our relentless pace of innovation are helping us become a natural choice for customers building GenAI applications.
We are seeing adoption and winning deals across many different industries and for use cases that seek to automate a wide variety of business processes. In Q2, we saw continued acceleration in our search business, with significant tailwinds from GenAI. In Q2, new customer commitments with GenAI almost doubled in dollar volume as compared to what we saw in Q1, with three of the deals we signed being greater than $1 million in annual contract value. We now have over 1,550 customers on Elastic Cloud using us for GenAI use cases, with over 240 of these amongst our cohort of customers spending 100K or more with us annually. For example, this quarter, a U.S.-based global leader in the automotive industry expanded its relationship with Elastic in a multi-year seven-figure deal by selecting our Elastic Search AI Platform.
The company has standardized on Elastic's Vector Database as the backbone for their retrieval augmented generation and chatbot applications. Elastic's Vector Database powers over 30 chatbot clusters used for both internal employee support and customer-facing interactions to enhance efficiency by providing real-time relevant answers and driving improved productivity for the organization's workforce. Beyond chatbots, the company is leveraging Elastic's Hybrid Search capabilities, combining keyword and semantic search for broader applications. We also signed an expansion deal with a leading sporting goods retailer in North America to support their omnichannel experience. Using the Elastic Search AI Platform, the retailer will improve search relevance by adopting semantic search and using advanced AI relevance capabilities like learning to rank to improve margins and profitability in store and online.
The company chose Elastic for our deep expertise in retail search transformation and our integrated machine learning and Search AI capabilities, all within a single platform. In addition to GenAI, the other secular tailwind that we have been benefiting from is customer consolidation onto our platform for multiple use cases. Our ability to help customers reduce complexity and drive efficiency at a lower total cost of ownership by consolidating onto the Elastic platform for multiple use cases is helping us secure strong customer commitments and become an increasingly strategic part of their IT infrastructure. And we continue to invest in capabilities and incentives that make it possible for customers to migrate easily from incumbent solutions to Elastic. Last quarter, I talked about the Elastic Express Migration program and our Search AI-powered automatic import functionality.
And I'm pleased to say that we are seeing significant momentum from customers who are leveraging these to migrate off of legacy offerings onto our platform. These incentives and offerings were critical in helping us win over 40 competitive deals in Q2, where we either displaced incumbent solutions or onboarded new workloads through platform consolidation. This quarter, an online marketplace for short- and long-term homestays selected Elastic Security to replace its existing SIEM solution, marking a strategic shift towards a more scalable and AI-driven security approach. This seven-figure expansion deal involves replacing a complex and inefficient solution unable to keep up as the company's threat landscape and data footprint grows. The Elastic Search AI Platform, including ES|QL and our AI assistant, will help the company streamline its security operations and ensure faster, more accurate threat detection.