Please review the procedure below to learn about magento minimum requirements.
Must be using Magento version 2.3.2 or newer.
If you have 1 to 1,000 products AND process less than 50 transactions per day:
4GB of RAM
If you have 1,000 to 35,000 products AND process less than 250 transactions per day
8GB of RAM
Consider decoupling the database server and web server.
If you have 35,000+ products OR greater than 250 transactions per day, make sure you've engaged a Magento professional that knows how to scale the server properly to your needs. A cron schedule must be run daily to refresh Magento's indexes. Otherwise, products will not update on the Magento frontend.