Hi @Vijay Kumar ,
...In this is what is the best practice?
You can do this. However, this is not the best.
If you have more servers, I recommend you install it in one different server.
Becasue there are two principles to configure SQL Server memory:
(1) The Windows system and other key application services must have enough memory to prevent them from grabbing the memory that SQL Server has applied for due to insufficient memory during operation.
(2) Under the premise of meeting the first point, SQL Server uses as much memory as possible and must ensure the stability of the amount of memory used.
So it is best to make the server dedicated to the database, and do not install other services (such as IIS, middle-tier application services, etc.) on the same machine. Multiple production services running on the same machine will greatly increase maintenance costs.
More information: work-with-multiple-versions-and-instances-of-sql-server
BR,
Mia
If the answer is helpful, please click "Accept Answer" and upvote it.