- We are using BCryptPassword encoder to encrypt the password before saving it to the database.
- It comes under Spring Security dependency
[ec2-user@ip-172-31-30-39 ~]$ nohup java -jar eureka-service-0.0.1-SNAPSHOT.jar > eureka.log 2>&1 & [1] 26435
[ec2-user@ip-172-31-27-82 ~]$ nohup java -jar user-service-0.0.1-SNAPSHOT.jar > user-service.log 2>&1 & [1] 25984
[ec2-user@ip-172-31-20-129 ~]$ nohup java -jar project-service-0.0.1-SNAPSHOT.jar > project.log 2>&1 & [2] 4240
[ec2-user@ip-172-31-17-47 ~]$ nohup java -jar issue-service-0.0.1-SNAPSHOT.jar > issues.log 2>&1 & [1] 25690
So before deploying API gateway you need to first give the correct eureka server location ip then gateway can give you features like load balancing, rate limiting, circuit breaker, etc. [ you can explore them more]
[ec2-user@ip-172-31-26-31 ~]$ nohup java -jar api-gateway-0.0.1-SNAPSHOT.jar > api-gateway.log 2>&1 & [1] 26029
Note : while using the site where your service is running, ensure with ip address you enter port with semicolon like this : http://ec2-18-207-121-223.compute-1.amazonaws.com:8080/api/users/1