Magento 2  Software Recommendations

Magento 2 Software Recommendations

Link

We require the following software for production instances of Commerce:

PHP
Nginx and PHP-FPM
MySQL
Elasticsearch or OpenSearch
For multi-server deployments, or for merchants planning on scaling their business, we recommend the following:

Varnish cache
Redis for sessions (from 2.0.6+)
A separate Redis instance as your default cache (do not use this instance for page cache)
See system requirements for information about supported versions of each type of software.