Personally I think it depends with the scale of your project. If its a huge application then definitely you need more machines but if you are just starting on a small project and learning about microservices its all good.
I think just have the following on your machine: