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
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/
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/
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
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: ruclips.net/video/CjjSBWMwOzA/видео.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.
very nice effort sandip , Thanks for your work and keep up doing the great work to share the knowledge !
Very good Content. Thank you
But why we should use load balancer for just traversing request to from one to another can we use another open source also?
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!
Great video
Hi @sandip Das, My ECS instances is not registeting with cluster when I am using terraform code.. what could be the reason
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?
Thanks, Sandip. It's very informative. Can you do something similar for EKS as well? Multiple services from ECR to EKS and ALB.
Great Video ! Thanks for this
Do you have a tutorial how to use AWS EKS for this case?
Upload some more videos so that we can learn a lot in this lockdown!!
Sure
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?
Very helpful, keep it up 👍
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.
Amazing thanks
amazing explanation. Can i apply loadbalancer with already running ecs fargate environment or do i need to re create it again?
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.
How to connect ecs cluster with RDS please make a video
Noted
@@learnTechWithSandip thanks but please make ecs using ec2 .
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 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/
Thank you
Very informative!!
Thanks :)
how did you create images. can you please share code?
Awesome video Sandip Da, I have on question in the target group all ec2 instances gets attached automatically?
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
How to fetch ELB monitoring data in my spring boot application?
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/
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)
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 microservice to microservice communcation happen in aws ? I mean how would i call service 2 from service 1?
@Sandip Das Any help on this?
but still doesn't working sub path of service-2 and service-3 :c
Can you please share us code so that we can practice it by our own
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
if you are using https the use Port 443. That's what he said
can you share the code please?