In this story, we will explore how to implement multi-tenancy architecture using Amazon Cognito.

Suppose you are building a Saas web application and would like to share it with all of your customers. Each customer should access only their own data layers.

AWS Cognito Multi-Tenancy Models

AWS Cognito propose different models for building multi-tenant…

In this story, we’ll implement a REST API with CRUD operations using Spring boot and AWS DynamoDB.

What is Amazon DynamoDB ?

Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database so…

In this story, we’ll implement an authentication microservice using Amazon Cognito.

Our microservice offers REST resources (signUp, signIn, forgotPassword, signOut) which allow full control over all aspects of the user’s authentication flow.

What Is Amazon Cognito?

Amazon Cognito provides authentication, authorization, and user management for your web and mobile apps. Your users can sign…

The main purpose of this story is to show how to secure a spring boot microservice using spring security,Oauth2 and MongoDB.


  • Spring Boot 2.4
  • Maven 3.6.+
  • Java 11
  • Mongo 4.4

Oauth2 Overview

The OAuth 2.0 authorization framework enables a third-party application to obtain limited access to an HTTP service, either on behalf…

Anicet Eric

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store