Blog

I recently had to work on with one AWS service and to follow it’s getting started tutorial they invited me to use the CLI command-line interface which would configure a service for me. The CLI tool failed to configure the service itself and it did actually clear the existing ~/.aws/credentials file for me 🙁 which…

Read More Create .aws/config and .aws/credentials Files Manually

Docker is an amazing tool that simplifies the deployment process of software applications in containers. Containers allow a developer to package up an application with all the parts it needs, including libraries and other dependencies, and ship it all out as one package. This article provides a comprehensive cheat sheet to Docker commands, explaining what…

Read More Docker Commands Cheat Sheet

This tutorial will teach you how to run RabbitMQ in a Docker container. If you do not use Docker, you can download RabbitMQ Server to your computer. To learn more about Docker, please check Docker Tutorials page. Run RabbitMQ Using Image from Docker Hub RabbitMQ docker image is available on Docker Hub. If you have…

Read More How to Run RabbitMQ in a Docker Container?

In this tutorial, you will learn to create a Docker image for your Spring Cloud Config Server, which uses Symmetric or Asymmetric encryption to protect sensitive information. To learn how to create Spring Cloud Config that uses Symmetric encryption, read Spring Cloud Config – Symmetric Encryption and Decryption(Includes Video tutorial). And to learn how to create Spring…

Read More Docker Image for Spring Cloud Config Server

In this tutorial, I will share with you how to secure Spring Cloud Eureka dashboard with Spring Security. To learn how to build RESTful Microservices with Spring Cloud by watching step-by-step video lessons, please check this page: Spring Boot Microservices and Spring Cloud. Add Spring Security to Eureka To secure Eureka with Spring Security, we will…

Read More Secure Eureka Dashboard with Spring Security

If a requested Microservice takes long time to respond, Zuul Api Gateway might timeout and a Gateway timeout error will take place. { “timestamp”: “2019-05-24T00:53:22.152+0000”, “status”: 504, “error”: “Gateway Timeout”, “message”: “com.netflix.zuul.exception.ZuulException: Hystrix Readed time out” } In this short blog post I am going to share with you how to make your Zuul Api…

Read More Zuul API Gateway Timeout Error

In this tutorial, you will learn how to handle errors when you use the Hystrix Circuit breaker with Feign client. To handle errors, we will use Feign Hystrix FallbackFactory. Another way to handle errors is to use ErrorDecoder. For step-by-step video beginner lessons demonstrating how to do Feign error handling and how to build Microservices…

Read More Hystrix Circuit Breaker and Feign Error Handling

In this tutorial, I will share with you how you can use Feign ErrorDecoder to handle errors that occur when using Feign client in Microservices communication. For step-by-step video beginner lessons demonstrating how to do Feign error handling and how to build Microservices with Spring Boot and Spring Cloud, have a look at this page: Spring…

Read More Feign Error Handling with ErrorDecoder

In this tutorial, you will learn how to use Netflix Hystrix circuit breakers to enable your Microservices to gracefully handle situations when one of the Microservices becomes unavailable to handle a request during inter-service communication. For step-by-step beginner video lessons demonstrating how to use Hystrix Circuit Breaker and how to build Microservices in Spring Cloud,…

Read More Hystrix CircuitBreaker and Feign

In this tutorial, I will share how to use Feign Client to send HTTP Requests to another Microservice. For a step-by-step series of video lessons, please check this page: Spring Boot Microservices and Spring Cloud. Adding Feign to Your Project To use Feign Client in your Spring Boot application, add the following dependency to a…

Read More Feign Client to Call Another Microservice

In this tutorial, you will learn how to use Asymmetric Encryption(RSA key pair) to encrypt sensitive information in configuration properties served by Spring Cloud Config Server.  Asymmetric Encryption is a stronger encryption type than symmetric encryption(shared key), but it requires a little bit more effort to set up because we need to generate an encryption key. We…

Read More Spring Cloud Config – Asymmetric Encryption and Decryption

In this tutorial, you will learn how to encrypt and decrypt a property value that is being served by Spring Cloud Config Server. The Config Server can use a symmetric (shared) key or an asymmetric one (RSA key pair). In this tutorial, we will use the symmetric key. For Asymmetric Encryption, read this tutorial: Spring Cloud…

Read More Spring Cloud Config – Symmetric Encryption and Decryption

In this tutorial, you will learn how to configure your Spring Cloud Config Server to use a native file system as a backend. For a step-by-step series of video lessons, please check this page: Spring Boot Microservices and Spring Cloud. Create Spring Cloud Config Server Please read this tutorial: Spring Cloud Config Server and Config Client,…

Read More Spring Cloud Config Server – File System as a Backend