AWS DynamoDB | Spring Boot CRUD Example Deployed in Elastic Beanstalk | javatechie

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ค. 2020
  • This tutorial will guide you , How to Integrate DynamoDB with Spring Boot Application & deployed into AWS using Elastic Beanstalk !!
    easy and quick steps
    #javatechie #AWS #Elasticbeanstalk #DynamoDB
    GitHub:
    github.com/Java-Techie-jt/spr...
    Blogs:
    / javatechie
    Facebook:
    / 919464521471923
    guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
    Disclaimer/Policy:
    --------------------------------
    Note : All uploaded content in this channel is mine and its not copied from any community , you are free to use source code from above mentioned GitHub account
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @thisurathenuka8362
    @thisurathenuka8362 3 ปีที่แล้ว +4

    This is life saving. Clean, Clear and Fast ❤

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

    Thanks brother . Earlier struggled to integrate spring boot with dynamo dB . With this video make me easy to do this . Thanks a lot

  • @farrukhahmedsid
    @farrukhahmedsid 4 ปีที่แล้ว +3

    This video save my lot of time.. Spring boot articles are confusing.. Thanks!

  • @jskr456
    @jskr456 3 ปีที่แล้ว +4

    hey basant ,
    when it comes to spring your tutorials are awesome
    now spring with aws became more interesting
    keep up the good work.

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

      Thanks lot of realtime integration I will demonstrate here AWS with spring boot .
      As always Keep in touch with javatechie

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

    Easy and simple explanation
    Thanks java techie 😊

  • @ArjunKumar-zu2kl
    @ArjunKumar-zu2kl ปีที่แล้ว +1

    Wonderful, very well explained, Thank you so much...

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

    Thanks a ton for making these videos!!

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

    Big help thanks for the video!!

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

    thank you for this tutorial!

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

    you are genius, keep it up. Thank you.

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

    Nice! Saved to learn later.

  • @Ravikumar-gj6qw
    @Ravikumar-gj6qw 3 ปีที่แล้ว +2

    Hi 👋bro tq for uploading this kind of videos tq 😊so much

  • @Saravanan-lj9so
    @Saravanan-lj9so 4 ปีที่แล้ว +1

    thanks Bro.. keep post more vedio

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

    good work

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

    Great tutorial!

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

    Appreciate your efforts Basant

  • @pramodhjajala8021
    @pramodhjajala8021 10 หลายเดือนก่อน +1

    Thanks a lot for the video . That's a lot of config and boiler plate , java really has to come up with a nicer approach to deal with cloud DBs🙄.

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

    Thank u 🙏🙏🙏🙏🙏

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

    Sir I will be thankful to get Spring boot DTO implementation video .

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

    👍

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

    🙏🙏🙏🙏🙏👍👍👍

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

    hi bro, iam getting following issue while i am deploying springboot application using elastic beanstalk could any one help , issue is i am not able to ec2 instance profile while iam creating elastic bean stalk application

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

    From where did you get the policy details(which you copy pasted)?

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

    beanstalk env when deploy jar shwoing red sever warn???

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

    I want to intergrate spring boot with dynamodb, my application will be deployed in PCF. Can you please help me in intergating spring boot with dynamodb using PCF broker. How to do it?

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

    If we want migrate existing project to dynamo , do we need to rewrite all the code ? Is this tightly coupled ?

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

      No not entire code only persistence layer or dao you need to modify

  • @user-ox5bq8dp6c
    @user-ox5bq8dp6c 5 หลายเดือนก่อน

    Hi Brother, For Post, Get are working without any issues but put request is not working and I'm getting 500 error.

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

    where to find background music?
    please provide name or link to music

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

    Can you also explain reasons to create policy etc? What happens if I don't create policies? Any why u chose certain options inside those policies?

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

      User should have access to dynamodb db access .
      You might notice i created new group and user right ? How should AWS know this user have access to use dynamodb

  • @KamleshSharma-si2rq
    @KamleshSharma-si2rq 3 ปีที่แล้ว +1

    Nice tutorial but i have one doubt actually I tried the same approach by using war file and when I upload it using war file and tried to run api it shows internal server error and once I changed it to jar then it works. It would be grateful if someone explains the reason behind the same.

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

      It shouldn't fail with war . Did you specify port 5000

    • @KamleshSharma-si2rq
      @KamleshSharma-si2rq 3 ปีที่แล้ว +1

      @@Javatechie , Thank you for the reply , Yes I have specified the port as 5000 only.

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

    Is it possible to change the host/domain provided by aws and make it our own way ?🤔🤔

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

      Yes absolutely possible but do you have any paid domain?

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

    for the same example it is possible to query records in db based on the adress, city, example, I want to list down all person from a particular city

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

      Why not am displaying all the persons either in service you can use java 8 groupBy or
      As we used spring data jpa we can write method in repository like
      Approach :1
      findByCity(String city):
      Approach :2
      @Query("select * from person where city=:city")
      FindPersonsByCityName(@Parm("city") String city);
      These are spring data jpa features.please check my spring data jpa videos .

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

      @@Javatechie Can SpringData JPA be used with DynamoDB?

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

      No we can't use for DynamoDb we need to use mapper

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

      @@Javatechie I am sorry for bugging you so much, can you share me some sample where I can fetch all person based on city using same table, thank you

  • @Anilkumar-reddy
    @Anilkumar-reddy ปีที่แล้ว +1

    Thank for the video, I want know How to change the url, I don't want to use amazon provided url, I want to use my own url?. Please tell me

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

      In elastic beanstalk specify your own domain

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

    Can you upload video on putIteam and getItem using dynamodb in java

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

    Hi sir, i am getting 502 bad gateway . I followed same steps what you said in vedios

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

      Did you specify server.port= 5000 in your application.yml file ?

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

      SAME HERE

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

      As mentioned above change port to 5000 in application.properties file

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

    hello sir, i want to deploy my spring boot rest api + mysql to amazon. What keyword or tutorial for this, I'm a student and i had verified amazon account. Front end was written Angular, can I deploy it to Amazon?

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

      Yes we can deploy it .my next tutorial is same spring boot MySQL application deployment to AWS

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

      @@Javatechie waiting for you

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

    Thank you for the tutorial. How to get all recode from dynamodb table? (getAll Request)

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

      There should be some method in DynamoDb mapper need to check

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

    Nice video sir, how we can create composite primary key in dynamodb

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

      While creating table you can specify partition key and sort key both

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

      @@Javatechieok, so the dynamodbsaveexpression also to be changed accordingly right

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

      Yes

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

    Sir when I am deploying my jar file, the health status is always coming RED, even if I am using your code from github, then also health is coming RED, can you please help.

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

      same with me ..have you found any solution?

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

      Did you specify port 5000 in application properties also even though it's red you must have some error please get it

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

    I follow exact steps and getting 404 error when running post method in postman, even I tried with your spring boot code as well.
    I have created dynamoDB table, Groups, users and policy and attached it to the group as per your video.
    I think my Elastic bean cache deployment is not working, selecting java and the installed java 8 on linux64
    please suggest...

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

      Same

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

      Both of you please check your application status in beanstalk console .

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

      @@Javatechie Hey, I solved it. I had a typo on the primary key. I tried Beanstalk and I get a response but the health icon is still red which is weird. Thanks a lot for the tutorial

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

      @@Javatechie Yes, same question with John, even the service seems working fine but the health icon is still red on EBS environment console page

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

      After refreshing also is it showing red ? Can you rebuild the environment and try once

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

    Hi bro
    Can you please suggest a best book to learn springboot clearly and perfectly

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

      I always recommend you to go through spring boot official page .
      Prepare the agenda then search over the Google then you will get tons of resources, choose the one which you feel good , I mean which make you easy to understand

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

      @@Javatechie thank you

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

    How do you get a list as a result?

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

      How means that is what I mentioned in my controller endpoint

  • @SumitGupta-cu5nu
    @SumitGupta-cu5nu 3 ปีที่แล้ว +1

    How to create our custom policy..

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

      I shown in one of my AWS video please have a look .
      Due to some reason , my AWS account suspended can't upload new video on AWS for couple of days

  • @100bands
    @100bands 3 ปีที่แล้ว

    The port issue is because Elastic beanstalk by default will listen on port 5000. More here: aws.amazon.com/blogs/devops/deploying-a-spring-boot-application-on-aws-using-aws-elastic-beanstalk/

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

    Why implemented serializable

  • @user-tk4bm1yp6r
    @user-tk4bm1yp6r ปีที่แล้ว +1

    mine keeps saying "com.amazonaws:aws-java-sdk-dynamodb:1.11.815" not found
    how to resolve this one?

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

      Check the version