Reader small image

You're reading from  Designing Microservices Platforms with NATS

Product typeBook
Published inNov 2021
PublisherPackt
ISBN-139781801072212
Edition1st Edition
Concepts
Right arrow
Author (1)
Chanaka Fernando
Chanaka Fernando
author image
Chanaka Fernando

Chanaka Fernando is a solution architect with 12+ years of experience in designing, implementing, and supporting enterprise-scale software solutions for customers across various industries including finance, education, healthcare, and telecommunications. He has contributed to the open source community with his work (design, implementation, and support) as the product lead of the WSO2 ESB, one of the founding members of the "Ballerina: cloud-native programming language" project, and his own work on GitHub. He has spoken at several WSO2 conferences and his articles are published on Medium, DZone, and InfoQ. Chanaka has a bachelor's degree in electronics and telecommunications engineering from the University of Moratuwa.
Read more about Chanaka Fernando

Right arrow

Summary

In this chapter, we discussed how security in microservices can be implemented for both North-South traffic and East-West traffic. We started the chapter by discussing the different approaches we can follow to implement security for the external consumers of microservices. Then, we moved into the topic of ISC and discussed how NATS can be used to implement security for internal communications. Later in the chapter, we configured a three-node NATS server cluster with TLS security for both client-server and server-server communication with self-signed certificates. In the end, we added authentication and authorization on top of TLS, configured the NATS server cluster with additional security, implemented a few Go programs to connect with the NATS cluster, and verified the functionality. You have learned the security aspects of microservices architectures by reading the concepts presented in this chapter as well as by trying out the sample configurations and source code samples...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Designing Microservices Platforms with NATS
Published in: Nov 2021Publisher: PacktISBN-13: 9781801072212

Author (1)

author image
Chanaka Fernando

Chanaka Fernando is a solution architect with 12+ years of experience in designing, implementing, and supporting enterprise-scale software solutions for customers across various industries including finance, education, healthcare, and telecommunications. He has contributed to the open source community with his work (design, implementation, and support) as the product lead of the WSO2 ESB, one of the founding members of the "Ballerina: cloud-native programming language" project, and his own work on GitHub. He has spoken at several WSO2 conferences and his articles are published on Medium, DZone, and InfoQ. Chanaka has a bachelor's degree in electronics and telecommunications engineering from the University of Moratuwa.
Read more about Chanaka Fernando