The 12 factor app pattern is a set of principles for building a modern, scalable application that operates reliably and integrates well with other applications.
Microservices are an architectural approach that allows an organization to build complex infrastructure out of smaller, more simple distributed application components that enable parallelization of development effort.
Combining 12 factor principles with microservices allows an organization to create a massively scaleable software solution that will operate well.