Comments (5)
Hi, thanks for getting in touch. Unfortunately, these specific patterns and microservices in general are beyond the scope of "Stratospheric - From Zero to Production with Spring Boot and AWS".
These links might help you get started with this subject, though:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
https://docs.aws.amazon.com/whitepapers/latest/microservices-on-aws/service-discovery.html
https://tomgregory.com/how-to-deploy-eureka-into-aws-ecs/
from stratospheric.
from stratospheric.
There's no need for most of the Spring Cloud projects (except Spring Cloud AWS). For example, service discovery comes out of the box with the ALB (Load Balancer). You can access your microservices with a stable domain name and the load balancer internally "discovers" all your instances.
Also, the Spring Cloud Config server is not needed, as with the AWS Parameter Store or the Secret Manager you can outsource the configuration values.
We recommend using as many cloud services as possible (where it makes sense) to avoid any maintenance efforts for a self-hosted Eureka or Spring Cloud Config Server.
from stratospheric.
Thanks for the advise. I have found in articles that you colleague sent me that there exists approach for service discovery with Cloud Map. What approach should be used and when, Service discovery ELB (ALB) based or Cloud Map based? Some articles say that Cloud Map based is client side approach and therefor is faster. What is your opinion?
from stratospheric.
I've never worked with Cloud Map so far and hence can only vote for ELB :D
from stratospheric.
Related Issues (20)
- Error performing - 1.06 - Deploying a Service Stack with CloudFormation HOT 1
- ECS error log when npm run service:deploy HOT 3
- Tracing User Actions with Amazon DyanomoDB missing initialization HOT 2
- Collaborator - user not able to login to accepts the invite. HOT 6
- Bug in chapter 10 - "npm run service:deploy" includes more than a single stack HOT 3
- Bug Chapter 10 - The deployment of the ECS Service freeze HOT 1
- Readability: The transparent version of the Stratospheric Technical Architecture Image in the README.md is not readable on a dark mode background. Use the non-transparent image instead HOT 2
- Fix the answers for two questions in quizzes 1 and 6 HOT 2
- Let students restart the course and take the quizzes as many times as they like. HOT 5
- Build Issues on Mac M3 HOT 3
- Add information on required mapping of / HOT 2
- Container based on ActiveMQ image not starting in Windows 10 HOT 1
- local-aws-infrastructure.sh not invoked HOT 1
- Inconsistancy - Book contains legacy output declaration for GithubActions HOT 1
- Possible conflict between prerequisites and instructions in the appendix HOT 2
- micrometer-registry-cloudwatch2 should be used instead of micrometer-registry-cloudwatch? HOT 1
- Extend discussion of Todo app integration with Spring Boot to mobile app context for Cognito HOT 1
- Unable to create Cognito App HOT 10
- Clarification on deploying multiple apps using same account HOT 1
- IAM role relationship diagram improvement HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stratospheric.