Building Microservices with AWS ECS + Application Load Balancer

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • This video covers how to build Microservices with AWS ECS. & Application Load Balancer
    #aws #ecs #microservices

ความคิดเห็น • 59

  • @learnTechWithSandip
    @learnTechWithSandip  3 ปีที่แล้ว +1

    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

  • @mazecore
    @mazecore 3 ปีที่แล้ว +1

    Thank you! Finally with your help I got my cluster working with the load balancer!

  • @rejithks6845
    @rejithks6845 4 ปีที่แล้ว +1

    It was a valuable session Sandip. Pls, share more informative content.

  • @Ian-tg3vm
    @Ian-tg3vm 2 ปีที่แล้ว +2

    How to connect ecs cluster with RDS please make a video

    • @learnTechWithSandip
      @learnTechWithSandip  2 ปีที่แล้ว +1

      Noted

    • @Ian-tg3vm
      @Ian-tg3vm 2 ปีที่แล้ว

      @@learnTechWithSandip thanks but please make ecs using ec2 .

  • @sanjugoingwild1
    @sanjugoingwild1 3 ปีที่แล้ว +1

    Very good Content. Thank you

  • @vedanti-vidhan4766
    @vedanti-vidhan4766 4 ปีที่แล้ว +1

    Great video

  • @sanketlondhe7725
    @sanketlondhe7725 2 ปีที่แล้ว +1

    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?

  • @ashishsharma3220
    @ashishsharma3220 4 ปีที่แล้ว +1

    very nice effort sandip , Thanks for your work and keep up doing the great work to share the knowledge !

  • @kiranduba
    @kiranduba 2 ปีที่แล้ว +1

    Thanks, Sandip. It's very informative. Can you do something similar for EKS as well? Multiple services from ECR to EKS and ALB.

  • @akshaynagesh5859
    @akshaynagesh5859 3 ปีที่แล้ว +2

    Thanks for the wonderful video. Can you please share the repository details containing the dockerfile and node.js code. Thank you.

  • @SushrutKanetkar
    @SushrutKanetkar 3 ปีที่แล้ว +1

    Thanks for the video. It's very helpful!

  • @himanshujain9933
    @himanshujain9933 2 ปีที่แล้ว +1

    But why we should use load balancer for just traversing request to from one to another can we use another open source also?

  • @sarveshmankar6855
    @sarveshmankar6855 2 ปีที่แล้ว

    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?

  • @niteshbawane4442
    @niteshbawane4442 4 ปีที่แล้ว +1

    Thank you

  • @kashish9296
    @kashish9296 4 ปีที่แล้ว +1

    Upload some more videos so that we can learn a lot in this lockdown!!

  • @MySachincool
    @MySachincool 4 ปีที่แล้ว +1

    Great Video ! Thanks for this

  • @ankitagarwal6014
    @ankitagarwal6014 3 ปีที่แล้ว

    amazing explanation. Can i apply loadbalancer with already running ecs fargate environment or do i need to re create it again?

  • @alexlodeon7143
    @alexlodeon7143 2 ปีที่แล้ว

    but still doesn't working sub path of service-2 and service-3 :c

  • @kashish9296
    @kashish9296 4 ปีที่แล้ว +1

    Very informative!!

  • @krushnapardeshi3694
    @krushnapardeshi3694 3 ปีที่แล้ว

    Very helpful, keep it up 👍

  • @mannukewat8727
    @mannukewat8727 ปีที่แล้ว

    Hi @sandip Das, My ECS instances is not registeting with cluster when I am using terraform code.. what could be the reason

  • @dipanshu4807
    @dipanshu4807 2 ปีที่แล้ว

    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.

  • @1006931080
    @1006931080 4 ปีที่แล้ว

    Awesome video Sandip Da, I have on question in the target group all ec2 instances gets attached automatically?

  • @kirin9991
    @kirin9991 4 ปีที่แล้ว +1

    What is the purpose of a load balancer ,loading different apps?

    • @learnTechWithSandip
      @learnTechWithSandip  3 ปีที่แล้ว

      It's balance the application traffic between target running containers (i.e. running tasks under the service)

  • @jebiboy
    @jebiboy 2 ปีที่แล้ว

    Do you have a tutorial how to use AWS EKS for this case?

  • @ssaha7714
    @ssaha7714 3 ปีที่แล้ว +1

    Hi Sandip, I have a question. How different micro-services talk to each other using this setup?

    • @learnTechWithSandip
      @learnTechWithSandip  3 ปีที่แล้ว +1

      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

    • @ratneshsinha9567
      @ratneshsinha9567 ปีที่แล้ว

      @@learnTechWithSandip gRPC incase you want synchronous calls otherwise if you need asynchronous calls use Kafka/RaddisMQ etc

  • @danyal_250
    @danyal_250 3 ปีที่แล้ว

    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)

    • @learnTechWithSandip
      @learnTechWithSandip  3 ปีที่แล้ว

      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

  • @johanez
    @johanez 2 ปีที่แล้ว

    Amazing thanks

  • @yaovit8754
    @yaovit8754 2 ปีที่แล้ว +1

    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?

    • @learnTechWithSandip
      @learnTechWithSandip  2 ปีที่แล้ว

      mentioning any specific port will make the port mapping static, if mention 0, it become dynamic port mapping

    • @yaovit8754
      @yaovit8754 2 ปีที่แล้ว

      @@learnTechWithSandip Got it. Thanks.

  • @slingball
    @slingball 3 ปีที่แล้ว +1

    Any idea on how to connect database?

    • @learnTechWithSandip
      @learnTechWithSandip  3 ปีที่แล้ว

      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

    • @slingball
      @slingball 3 ปีที่แล้ว

      @@learnTechWithSandip how can we spin up mongodb in ECS? How do we mount the database file?

    • @learnTechWithSandip
      @learnTechWithSandip  3 ปีที่แล้ว

      @@slingball This article have all the info needed: gist.github.com/duluca/ebcf98923f733a1fdb6682f111b1a832

  • @vikramranabhatt
    @vikramranabhatt 4 ปีที่แล้ว +1

    How do you expose these service through Api Gateway ?

    • @learnTechWithSandip
      @learnTechWithSandip  4 ปีที่แล้ว

      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/

  • @shubhgarg2916
    @shubhgarg2916 3 ปีที่แล้ว +1

    how did you learn ECS this well? IS there any resource or hands on lab that can help? ( Please dont link the aws whitepapers)

    • @learnTechWithSandip
      @learnTechWithSandip  3 ปีที่แล้ว +1

      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/

  • @akuiitianair11132010
    @akuiitianair11132010 3 ปีที่แล้ว

    How to fetch ELB monitoring data in my spring boot application?

  • @TheAtikahmad
    @TheAtikahmad ปีที่แล้ว

    how did you create images. can you please share code?

  • @puneetsaneja3007
    @puneetsaneja3007 4 ปีที่แล้ว

    How microservice to microservice communcation happen in aws ? I mean how would i call service 2 from service 1?

    • @kishorreddy6011
      @kishorreddy6011 2 ปีที่แล้ว

      ​ @Sandip Das Any help on this?

  • @asitkumarrout9796
    @asitkumarrout9796 ปีที่แล้ว

    Can you please share us code so that we can practice it by our own

  • @VinitKhandelwal
    @VinitKhandelwal 4 ปีที่แล้ว

    if you are using https the use Port 443. That's what he said

  • @anilchaudhry804
    @anilchaudhry804 2 ปีที่แล้ว

    sir how do i reach out to you for some help online

    • @learnTechWithSandip
      @learnTechWithSandip  2 ปีที่แล้ว

      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

  • @karanpatil706
    @karanpatil706 3 ปีที่แล้ว

    How we attach persistent IP address to aws ecs

    • @learnTechWithSandip
      @learnTechWithSandip  3 ปีที่แล้ว

      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

    • @karanpatil706
      @karanpatil706 3 ปีที่แล้ว

      @@learnTechWithSandip thanks a lot

  • @indomie6384
    @indomie6384 3 ปีที่แล้ว

    can you share the code please?