AWS Elastic Beanstalk - Deploy Simple Spring Boot Application

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • This video is a step-by-step guide about deployment of a simple Spring Boot application (without database) on AWS Cloud with Elastic Beanstalk using AWS web console.
    You'll learn the following steps for deploying a Spring Boot application on AWS cloud using Elastic Beanstalk management console:
    - Package Spring Boot app to JAR file
    - Create new application
    - Configure service access
    - Add environment variable
    - Deploy the application
    - Access newly deployed application
    - Check AWS related services
    - Terminate environment
    - Undeploy the application
    Timestamps
    0:00 - Table of content
    1:06 - Prerequisites
    2:38 - Elastic Beanstalk Key Concepts
    3:55 - Download and Test Sample Spring Boot App on Localhost
    7:21 - Create New Application
    11:53 - Configure Service Access
    16:06 - Add Environment Variable
    17:49 - Deploy the application
    22:46 - Edit Environment Configuration
    24:36 - Access Newly Deployed Application
    25:00 - Check AWS Related Services
    28:25 - Terminate Environment
    30:55 - Delete the application
  • Věda a technologie

Komentáře • 17

  • @tejveersingh6409
    @tejveersingh6409 Před 2 měsíci

    Thank you sir
    Very clear explanation

  • @dhanunjaya_07
    @dhanunjaya_07 Před 7 měsíci

    Clear explanation of each detail. Thanks from India.

    • @CodeJava
      @CodeJava  Před 7 měsíci

      Glad it was helpful! Most welcome.

  • @Udaybhairoyalgaming
    @Udaybhairoyalgaming Před měsícem +1

    Your are just awesome 🎉

  • @KaleidoVibe007
    @KaleidoVibe007 Před 6 měsíci

    You are the GOAT! One thing I had to do was use `mvn` to build the JAR file. This was a crucial step. When I tried to create the JAR using intellij docs it did not work.
    Thank you so much!

  • @user-jj5wl6dc1w
    @user-jj5wl6dc1w Před 9 měsíci

    OMG your instructions are very easy to understand !!
    Can you make a tutorial on spring websocket with reactjs, including connection security?
    Thank you !!

    • @CodeJava
      @CodeJava  Před 9 měsíci

      Great suggestion! I will publish such videos in future. Thanks!

  • @NguyenDangSang
    @NguyenDangSang Před 6 měsíci

    hello anh tại sao server port anh lại để 5000 trong khi port default nó đang dùng 8080 anh, với lại default là beanstalk nó dùng s3 để lưu data của nó luôn đúng không ạ, em không thấy config chổ s3 nào nhưng nó vẫn lưu data ở s3

    • @CodeJava
      @CodeJava  Před 6 měsíci

      Beanstalk nó lưu deployment artifact trên S3 là mặc định, theo cái AWS region được chọn để deploy đó. Nó chỉ cho phép port 5000 được map ra bên ngoài internet nên phải config port của app là 5000 đó.

  • @benamngungoc797
    @benamngungoc797 Před 2 měsíci

    A có thể chỉ cách chuyển từ http sang https trên Elastic Bean để fe gọi được api ko ạ?

    • @CodeJava
      @CodeJava  Před 2 měsíci

      A sẽ làm video sau. Em thử tìm hiểu cái này xem: docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html

    • @benamngungoc797
      @benamngungoc797 Před 2 měsíci

      @@CodeJava dạ vâng e cảm ơn ạ

  • @VitaliiSmahlenko
    @VitaliiSmahlenko Před 9 měsíci

    How did you realize that you need to change PORT to SERVER_PORT?

    • @CodeJava
      @CodeJava  Před 9 měsíci

      because I remember Spring Boot uses the property name server.port in the application config file.