Building Microservices with AWS ECS + Application Load Balancer

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 59

  • @learnTechWithSandip
    @learnTechWithSandip  3 года назад +1

    Want to create CI/CD Flow for your application using Infrastructure as Code (Terraform), check this video: ruclips.net/video/CjjSBWMwOzA/видео.html

  • @mazecore
    @mazecore 4 года назад +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.

  • @ashishsharma3220
    @ashishsharma3220 4 года назад +1

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

  • @sanjugoingwild1
    @sanjugoingwild1 3 года назад +1

    Very good Content. Thank you

  • @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?

  • @akshaynagesh5859
    @akshaynagesh5859 4 года назад +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!

  • @vedanti-vidhan4766
    @vedanti-vidhan4766 4 года назад +1

    Great video

  • @mannukewat8727
    @mannukewat8727 2 года назад

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

  • @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?

  • @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.

  • @MySachincool
    @MySachincool 4 года назад +1

    Great Video ! Thanks for this

  • @jebiboy
    @jebiboy 2 года назад

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

  • @kashish9296
    @kashish9296 4 года назад +1

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

  • @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?

  • @krushnapardeshi3694
    @krushnapardeshi3694 3 года назад

    Very helpful, keep it up 👍

  • @dipanshu4807
    @dipanshu4807 3 года назад

    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.

  • @johanez
    @johanez 2 года назад

    Amazing thanks

  • @ankitagarwal6014
    @ankitagarwal6014 3 года назад

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

  • @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.

  • @Ian-tg3vm
    @Ian-tg3vm 2 года назад +2

    How to connect ecs cluster with RDS please make a video

  • @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

  • @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/

  • @niteshbawane4442
    @niteshbawane4442 4 года назад +1

    Thank you

  • @kashish9296
    @kashish9296 4 года назад +1

    Very informative!!

  • @TheAtikahmad
    @TheAtikahmad Год назад

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

  • @1006931080
    @1006931080 4 года назад

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

  • @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

  • @akuiitianair11132010
    @akuiitianair11132010 4 года назад

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

  • @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/

  • @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)

  • @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

  • @puneetsaneja3007
    @puneetsaneja3007 4 года назад

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

  • @alexlodeon7143
    @alexlodeon7143 2 года назад

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

  • @asitkumarrout9796
    @asitkumarrout9796 2 года назад

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

  • @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

  • @VinitKhandelwal
    @VinitKhandelwal 4 года назад

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

  • @indomie6384
    @indomie6384 3 года назад

    can you share the code please?