Microservice security
Microservices can provide great flexibility but also introduce challenges that must be addressed.
Service communication
Monolithic applications use in‑memory communication between processes, while microservices communicate over the network. The move to network communication raises issues of not only speed but also security.
Tight coupling
Microservices use many datastores rather than a few. This creates the opportunity for implicit service contracts between microservices and services that are tightly coupled.
Technical complexity
Microservices can create additional complexity, which can create security gaps. If the team does not have the correct experience, then managing these complexities can quickly become unmanageable.