AWS Elastic Beanstalk - Deploy Spring Boot App with MySQL Database

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

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

  • @ShreePatil-e3v
    @ShreePatil-e3v Месяц назад +2

    "I was trying to upload my Spring Boot Java project to AWS for a week, but it wasn't uploading due to some errors. I watched a lot of videos, and after watching your channel's video, my backend project got deployed. Thank you so much, CodeJava!"

    • @CodeJava
      @CodeJava  Месяц назад

      Glad it helped. You're welcome.

  • @ArtemSurzhenko
    @ArtemSurzhenko 6 месяцев назад +1

    Thats the video I have been looking for months, also would be incredible if u will add https protocol to that instance

    • @CodeJava
      @CodeJava  6 месяцев назад

      Glad it helped. I will study about that HTTPS

  • @johnsandoval1855
    @johnsandoval1855 10 месяцев назад +2

    This was probably the first video i found using the modern AWS and it was very easy to follow! However, I my site is receiving a "404 not found ("/")" error. I am really frustrated because I finally feel so close with your tutorial but cant figure out why this is is happening. It works absolutely fine on my localhost but now when it is deployed it does not work! Could you or anyone help me out?

    • @CodeJava
      @CodeJava  10 месяцев назад

      did you set custom context path? If so, the app URL is customdomain.amazon.com/contextpath. Also check the last log lines to see what really happened.

    • @johnsandoval1855
      @johnsandoval1855 10 месяцев назад

      @@CodeJava I was reading online to see what could have happened... someone said it is possible that my JAR file does not carry my WEB-INF folder and views. That would definitely trigger a 404 I think? Since it can't complete the Get ("/") method? I'm not sure. This is my first deployment lol. I am trying it again today as a WAR file, they said that might work.

    • @CodeJava
      @CodeJava  10 месяцев назад +1

      that's a possible cause. Try to make the JAR file running on localhost first. If it works on localhost (in command line) it will very likely work on AWS.

  • @VinayKumar-em5eb
    @VinayKumar-em5eb 3 месяца назад

    Hi, I deployed react app on AWS amplify. When I try to deploy java springboot app in elastic beanstalk it's giving
    Error on line 357 at column 8: Opening and ending tag mismatch: meta line 7 and head
    I don't have any html or XML file in my springboot app. I am unable to trace the error

    • @CodeJava
      @CodeJava  3 месяца назад

      I think you need to have source code to be able to fix that issue. Sorry I can't help because it's specific to your application.

    • @VinayKumar-em5eb
      @VinayKumar-em5eb 3 месяца назад

      Now I am able to deploy in my personal laptop instead office laptop. What do you think the issue may be with office laptop.

  • @goodcourseavailable
    @goodcourseavailable 2 месяца назад

    Does this work with project with spring boot thymeleaf MySQL? as fullstack ?

    • @CodeJava
      @CodeJava  2 месяца назад

      Sure, it will work.

  • @brazo98
    @brazo98 10 месяцев назад

    Nammmm I hope you are ok. You movies evertime awesome. I love it. Thx a lot for your support. 😻😻😻

    • @CodeJava
      @CodeJava  10 месяцев назад +1

      i'm glad to see your comments as always. Thanks for your kind support :) All the best!

    • @kongarasrikiran7727
      @kongarasrikiran7727 8 месяцев назад

      @@CodeJavaWhen enabling database i am getting like below exception can you pls tell me what is the solution for this
      Configuration validation exception: Invalid option value: 'db.t2.micro' (Namespace: 'aws:rds:dbinstance', OptionName: 'DBInstanceClass'): DBInstanceClass db.t2.micro not supported for mysql db engine. please reply to this bro

  • @goodcourseavailable
    @goodcourseavailable Месяц назад

    Deploying jar to elastic beanstalk in October is deprecated, any other options.
    Please update

  • @janphillipdacallos4214
    @janphillipdacallos4214 5 месяцев назад

    Hello sir. I still can't access my springboot api. I already set the server port into 5000 but then, when I tried to upload and access the domain again, bad gate way error still appeared. How to fix this? Great video by the way!

    • @CodeJava
      @CodeJava  5 месяцев назад

      you need to check server's logs to see what really caused the error.

  • @VenkatFreelancer
    @VenkatFreelancer 8 месяцев назад

    When enabling database i am getting like below exception can you pls tell me what is the solution for this
    Configuration validation exception: Invalid option value: 'db.t2.micro' (Namespace: 'aws:rds:dbinstance', OptionName: 'DBInstanceClass'): DBInstanceClass db.t2.micro not supported for mysql db engine.

    • @kongarasrikiran7727
      @kongarasrikiran7727 8 месяцев назад

      Same with me!!!! i tried everything possible. Please reply if you found a solution.

    • @VenkatFreelancer
      @VenkatFreelancer 8 месяцев назад

      @@kongarasrikiran7727 for that I tried another way first I created application ec2 and after that we can give to database to that instance. You can try like that

    • @CodeJava
      @CodeJava  8 месяцев назад

      or change the db instance class ?

  • @grrlgd3835
    @grrlgd3835 6 месяцев назад

    excellent content as usual. thanks

    • @CodeJava
      @CodeJava  6 месяцев назад

      Glad you enjoyed it

  • @benamngungoc797
    @benamngungoc797 7 месяцев назад

    Anh cho em hỏi nếu public ip database ra để kết nối xuống mysql workbench thì mất phí phải ko ạ? Em dùng RDS nhưng mà thấy mất phí

    • @CodeJava
      @CodeJava  7 месяцев назад

      nó có tính phí dữ lắm đó em. Chắc để hạn chế kết nối trực tiếp.

    • @benamngungoc797
      @benamngungoc797 7 месяцев назад

      @@CodeJava dạ vâng ạ

    • @hiimluvn
      @hiimluvn 6 месяцев назад

      @@CodeJava vậy thay vì mình dùng ip trực tiếp api thì mình dùng cái link dài dài nó tạo là không bị tính phí hả anh

    • @CodeJava
      @CodeJava  6 месяцев назад

      @@hiimluvn kiểu gì nó cũng tính phí remote access hết em ạ.

  • @luciano5026
    @luciano5026 7 месяцев назад

    Muchas gracias!!!!!!

    • @CodeJava
      @CodeJava  7 месяцев назад

      Glad it helped. You're welcome.

  • @fozant7156
    @fozant7156 10 месяцев назад

    is it free bro ?

    • @CodeJava
      @CodeJava  10 месяцев назад

      as far as I know, AWS is free for 1 year (trial).