Deploy Spring Boot application to AWS EC2 using GitHub Actions

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

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

  • @njabyk
    @njabyk 10 หลายเดือนก่อน +3

    Used this to deploy a test site onto EC2 Instance. Thank you!

  • @syamnaidu5244
    @syamnaidu5244 หลายเดือนก่อน

    Thanks Bro. I was able to deploy my first application in EC2 instance.

  • @abhijitdas-rb3dg
    @abhijitdas-rb3dg ปีที่แล้ว +1

    Very helpful topic and you explained every points very well.. Waiting for more videos on Springboot & AWS..

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

    Indeed it is very helpful, thanks for putting very clear and vivid explanation.

  • @rickdevmajumder5729
    @rickdevmajumder5729 7 หลายเดือนก่อน +1

    The best video ever. Thank you :)

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

    Great content sir. Looking forward to learn a lot from this channel. Thank you 😊

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

    Owesome, very well explained

  • @VISHNUREDDY11756
    @VISHNUREDDY11756 7 หลายเดือนก่อน +1

    HELPED A LOT

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

    Insightful, well explained

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

    Very knowledgeable

  • @ankitagarwal969
    @ankitagarwal969 7 หลายเดือนก่อน +1

    good explanation

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

    Gud one 👍🏼

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

    Very helpful content

  • @sairamareddypadala1328
    @sairamareddypadala1328 2 หลายเดือนก่อน

    HI , my deployment is also successfull, but I couldn't access my /check get API with my instance ipaddress, its just showing ( This site can’t be reached) please help

  • @sagarkhatri5383
    @sagarkhatri5383 7 หลายเดือนก่อน +1

    Need to run the runner from the instance every time.
    can we configure the runner to keep running in the background?

    • @IntegrationNinjas
      @IntegrationNinjas  7 หลายเดือนก่อน

      Yes, absolutely. You can configure the self-hosted runner application as a service to automatically start the runner application when the machine starts.
      Refer docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service

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

    Nice sir , thanks for sharing 👍

  • @JAVAFULLSTACKDEVELOPER-zx7gt
    @JAVAFULLSTACKDEVELOPER-zx7gt 11 หลายเดือนก่อน

    Hey what is the instance type you choosed in while lanching EC-2 instance ?

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

    Hi sir. I need to create a runner for each project. Or i can use this runner for other project

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

      Yes if you have organisation account, you can share and manage self-hosted runners across your organization using new policies and labels. Please go through this document:
      docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-an-organization

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

    what changes in the workflows if i am connecting to a database (mysql)

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

      You will need a docker compose file having database configuration. I will create a tutorial on that soon.

  • @benabdallahmohamed1125
    @benabdallahmohamed1125 11 หลายเดือนก่อน +1

    thanks for video

  • @madhurinaidu3565
    @madhurinaidu3565 4 หลายเดือนก่อน

    Hii sir greate content , can you explain spring boot project with my sql database like crud operation project how we deploy in ec2 please explain this topic

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

    Also, do I need to have docker up and running in my ec2 instance before this will be able to run? I just created my ec2 instance from scratch but my deploy job is failing without a reason

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

      Yes, you need to have Docker installed and running on your EC2 instance for the GitHub Actions workflow to deploy your app using Docker.

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

      I have docker up and running yet my deploy job is still failing@@IntegrationNinjas

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

      also sometimes my runner goes to sleep and cannot service requests

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

      Check if runner is active and listening to jobs.

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

      ​@@IntegrationNinjasHow to keep runner always in idle mode.?

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

    Very nice. Can you make a tutorial on how to deploy to GCP or Azure or heroku?

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

      I will soon create on Azure and GCP

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

      Also it will be nice to see the process of creating the resources. For some reasons, my deploy action isn't being picked up by the self hosted runner in AWS

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

      I have been able to solve this by setting runs-on: self-hosted but now the deploy fails and I don't even know why

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

    Is there any pipeline to automate whole process

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

    I did same with ECS Fargate cluster thru Github Actions, I failed to deploy ECS-EC2, but got success in Fargate, whats the reason?

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

    👏

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

    👍🏻👍🏻

  • @Shinigami4rt
    @Shinigami4rt 9 หลายเดือนก่อน +1

    .

  • @amirrahi9573
    @amirrahi9573 6 หลายเดือนก่อน +1

    very confusing .... missed lots of things

    • @IntegrationNinjas
      @IntegrationNinjas  6 หลายเดือนก่อน

      Would like to hear missed things in order to improve.

  • @LâmBùiMạcTùng
    @LâmBùiMạcTùng ปีที่แล้ว +1

    i run to step deploy: Pull Image from docker hub
    docker pull lambmt2k/clover-network:latest
    throw error command not found

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

      Can u see if docker is installed on your runner?
      Which runner you’re using and if possible share workflow here

    • @TheShareonz
      @TheShareonz 6 หลายเดือนก่อน

      great content guys.

    • @idrisseahamadiabdallah7669
      @idrisseahamadiabdallah7669 2 หลายเดือนก่อน

      ​@@IntegrationNinjas , Hello Sir, very helpful content, exactly what I needed.
      I have a question , instead of installing docker manually on the runner ,
      Can't we include a command on the yml file, so it installs docker if needed ?