hello, video is very inforamative about how for microservices it will work. my request is that can u tell us how to make for spring boot microservices, as in this microservices are link to each other by rest template and we are using here load balancer, how working will be? i searched for this but i didnt get any helpful, can u help me?
I have gone through the video and tried the Thing out but only my 1st service works, another service doesn't start the task....... So what should I do?
it's talk to each other via root path or can use the full url . If need internal communication, then we need some message passing implementation using tech like Redis , RabitMB, AWS SQS ETC
Pass as environment variables, define env variables in task definition first, to improve the security, you can save the secret value of the complete DB URL in AWS System Manager Parameter store and pass the key value in Task Definition Container Env variables section
please check this article for more details: aws.amazon.com/blogs/architecture/using-api-gateway-as-a-single-entry-point-for-web-applications-and-api-microservices/
Thanks for your comment, I learned from different youtube videos, A Cloud Guru, Linux Academy, Articles etc, , for lams you can check whizlabs: www.whizlabs.com/
Hi Anil, you can mail me at contact@sandipdas.in directly for any queries, if want to book session/consulting, can book via www.buymeacoffee.com/LearnWSandip/extras
Actually, you should not, because we should utilize Load Balancer DNS name in our DNS domain records CNAME and access the service because instance might need shutdown, replacement or could be any reason if we use persistent IP in such cases we will face downtime during code deployment or in case any failure. But if really would like to know how to attach persistent IP address to aws ecs, just click on your ECS clusters any running EC2 instance id and then copy the id, go to ec2 -> Elastic IP -> Create Elastic IP and attach that IP to instance id that you just copied
Want to create CI/CD Flow for your application using Infrastructure as Code (Terraform), check this video: th-cam.com/video/CjjSBWMwOzA/w-d-xo.html
Thank you! Finally with your help I got my cluster working with the load balancer!
It was a valuable session Sandip. Pls, share more informative content.
How to connect ecs cluster with RDS please make a video
Noted
@@learnTechWithSandip thanks but please make ecs using ec2 .
Very good Content. Thank you
Great video
hello, video is very inforamative about how for microservices it will work. my request is that can u tell us how to make for spring boot microservices, as in this microservices are link to each other by rest template and we are using here load balancer, how working will be? i searched for this but i didnt get any helpful, can u help me?
very nice effort sandip , Thanks for your work and keep up doing the great work to share the knowledge !
Thanks, Sandip. It's very informative. Can you do something similar for EKS as well? Multiple services from ECR to EKS and ALB.
Thanks for the wonderful video. Can you please share the repository details containing the dockerfile and node.js code. Thank you.
Thanks for the video. It's very helpful!
But why we should use load balancer for just traversing request to from one to another can we use another open source also?
I have gone through the video and tried the Thing out but only my 1st service works, another service doesn't start the task.......
So what should I do?
Thank you
Upload some more videos so that we can learn a lot in this lockdown!!
Sure
Great Video ! Thanks for this
amazing explanation. Can i apply loadbalancer with already running ecs fargate environment or do i need to re create it again?
but still doesn't working sub path of service-2 and service-3 :c
Very informative!!
Thanks :)
Very helpful, keep it up 👍
Hi @sandip Das, My ECS instances is not registeting with cluster when I am using terraform code.. what could be the reason
for every new image. do we need to change task definition with hardcoded image?? how can we create generic task definition in case of CICD setup.
Awesome video Sandip Da, I have on question in the target group all ec2 instances gets attached automatically?
What is the purpose of a load balancer ,loading different apps?
It's balance the application traffic between target running containers (i.e. running tasks under the service)
Do you have a tutorial how to use AWS EKS for this case?
Hi Sandip, I have a question. How different micro-services talk to each other using this setup?
it's talk to each other via root path or can use the full url . If need internal communication, then we need some message passing implementation using tech like Redis , RabitMB, AWS SQS ETC
@@learnTechWithSandip gRPC incase you want synchronous calls otherwise if you need asynchronous calls use Kafka/RaddisMQ etc
How the config passed to the container application securely in aws. Secondly lets suppose we are using DB. (how the DB will be used for each service)
You can store secrets in parameter store, then in ECS Task definition pass as environment variables , same way you can set credentials for DB as well
Amazing thanks
Thank you for this usefull video. Please, why the host mapping port is set to 80 for the first service s task and 0 for the others?
mentioning any specific port will make the port mapping static, if mention 0, it become dynamic port mapping
@@learnTechWithSandip Got it. Thanks.
Any idea on how to connect database?
Pass as environment variables, define env variables in task definition first, to improve the security, you can save the secret value of the complete DB URL in AWS System Manager Parameter store and pass the key value in Task Definition Container Env variables section
@@learnTechWithSandip how can we spin up mongodb in ECS? How do we mount the database file?
@@slingball This article have all the info needed: gist.github.com/duluca/ebcf98923f733a1fdb6682f111b1a832
How do you expose these service through Api Gateway ?
please check this article for more details: aws.amazon.com/blogs/architecture/using-api-gateway-as-a-single-entry-point-for-web-applications-and-api-microservices/
how did you learn ECS this well? IS there any resource or hands on lab that can help? ( Please dont link the aws whitepapers)
Thanks for your comment, I learned from different youtube videos, A Cloud Guru, Linux Academy, Articles etc, , for lams you can check whizlabs: www.whizlabs.com/
How to fetch ELB monitoring data in my spring boot application?
how did you create images. can you please share code?
How microservice to microservice communcation happen in aws ? I mean how would i call service 2 from service 1?
@Sandip Das Any help on this?
Can you please share us code so that we can practice it by our own
if you are using https the use Port 443. That's what he said
sir how do i reach out to you for some help online
Hi Anil, you can mail me at contact@sandipdas.in directly for any queries, if want to book session/consulting, can book via www.buymeacoffee.com/LearnWSandip/extras
How we attach persistent IP address to aws ecs
Actually, you should not, because we should utilize Load Balancer DNS name in our DNS domain records CNAME and access the service because instance might need shutdown, replacement or could be any reason if we use persistent IP in such cases we will face downtime during code deployment or in case any failure.
But if really would like to know how to attach persistent IP address to aws ecs, just click on your ECS clusters any running EC2 instance id and then copy the id, go to ec2 -> Elastic IP -> Create Elastic IP and attach that IP to instance id that you just copied
@@learnTechWithSandip thanks a lot
can you share the code please?