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 .
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?
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
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.
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?
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.
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...
@@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
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
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/
Thanks for the tutorial. I really appreciate this. While deploying a java spring boot jar in Elastic Beanstalk, I encountered an issue. I get Environment health has transitioned from Warning to Severe. 100.0 % of the requests are failing with HTTP 5xx. Unable to assume role "arn:aws:iam::481384092346:role/aws-elasticbeanstalk-ec2-role". Verify that the role exists and is configured correctly. also 502 bad gateway. I am Confused. I added environment role too but no luck.
This is life saving. Clean, Clear and Fast ❤
Thanks brother . Earlier struggled to integrate spring boot with dynamo dB . With this video make me easy to do this . Thanks a lot
hey basant ,
when it comes to spring your tutorials are awesome
now spring with aws became more interesting
keep up the good work.
Thanks lot of realtime integration I will demonstrate here AWS with spring boot .
As always Keep in touch with javatechie
This video save my lot of time.. Spring boot articles are confusing.. Thanks!
Wonderful, very well explained, Thank you so much...
Easy and simple explanation
Thanks java techie 😊
Hi 👋bro tq for uploading this kind of videos tq 😊so much
you are genius, keep it up. Thank you.
Appreciate your efforts Basant
Big help thanks for the video!!
Thanks a ton for making these videos!!
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🙄.
to be honest. I am tired trying to get things done with aws cloud. the code are just something else
thank you for this tutorial!
Nice! Saved to learn later.
good work
thanks Bro.. keep post more vedio
👍
Great tutorial!
Sir I will be thankful to get Spring boot DTO implementation video .
Is it possible to change the host/domain provided by aws and make it our own way ?🤔🤔
Yes absolutely possible but do you have any paid domain?
Thank u 🙏🙏🙏🙏🙏
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
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 .
@@Javatechie Can SpringData JPA be used with DynamoDB?
No we can't use for DynamoDb we need to use mapper
@@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
beanstalk env when deploy jar shwoing red sever warn???
If we want migrate existing project to dynamo , do we need to rewrite all the code ? Is this tightly coupled ?
No not entire code only persistence layer or dao you need to modify
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?
From where did you get the policy details(which you copy pasted)?
Hi Brother, For Post, Get are working without any issues but put request is not working and I'm getting 500 error.
Hi sir, i am getting 502 bad gateway . I followed same steps what you said in vedios
Did you specify server.port= 5000 in your application.yml file ?
SAME HERE
As mentioned above change port to 5000 in application.properties file
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?
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
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
In elastic beanstalk specify your own domain
Can you upload video on putIteam and getItem using dynamodb in java
where to find background music?
please provide name or link to music
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.
It shouldn't fail with war . Did you specify port 5000
@@Javatechie , Thank you for the reply , Yes I have specified the port as 5000 only.
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?
Yes we can deploy it .my next tutorial is same spring boot MySQL application deployment to AWS
@@Javatechie waiting for you
How do you get a list as a result?
How means that is what I mentioned in my controller endpoint
🙏🙏🙏🙏🙏👍👍👍
Nice video sir, how we can create composite primary key in dynamodb
While creating table you can specify partition key and sort key both
@@Javatechieok, so the dynamodbsaveexpression also to be changed accordingly right
Yes
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.
same with me ..have you found any solution?
Did you specify port 5000 in application properties also even though it's red you must have some error please get it
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...
Same
Both of you please check your application status in beanstalk console .
@@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
@@Javatechie Yes, same question with John, even the service seems working fine but the health icon is still red on EBS environment console page
After refreshing also is it showing red ? Can you rebuild the environment and try once
How to create our custom policy..
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
Hi bro
Can you please suggest a best book to learn springboot clearly and perfectly
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
@@Javatechie thank you
Why implemented serializable
Thank you for the tutorial. How to get all recode from dynamodb table? (getAll Request)
There should be some method in DynamoDb mapper need to check
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/
Thanks for the tutorial. I really appreciate this. While deploying a java spring boot jar in Elastic Beanstalk, I encountered an issue. I get
Environment health has transitioned from Warning to Severe. 100.0 % of the requests are failing with HTTP 5xx. Unable to assume role "arn:aws:iam::481384092346:role/aws-elasticbeanstalk-ec2-role". Verify that the role exists and is configured correctly.
also 502 bad gateway.
I am Confused. I added environment role too but no luck.
mine keeps saying "com.amazonaws:aws-java-sdk-dynamodb:1.11.815" not found
how to resolve this one?
Check the version