Microservices and Security

Ishan Liyanage
3 min readDec 25, 2021

I have wrote about some general articles about microservices and software security separately.

Now lets talk about how to implement security in microservices based system. Fundamentals remains same, but there are some unique challengers in microservices systems that we need to be aware off.

The main challenge is that microservices system can have a lots of moving parts. They are running in its own environment. The system is extremely distributed and each component in the system has to be secured.

Security the network

Communication between microservices is the most important element in microservices systems. So the network and the communication between the services must be as secure as possible.

  1. Implement TLS, of course the newer version, not the 1.0 or 1.1. It uses cryptographically secure techniques to mutually authenticate individual microservices and encrypt the traffic between them.

--

--

Ishan Liyanage

Passionate Technical Lead, Senior Software Developer and free and open source software advocate. Based in Singapore.