No video

Where to deploy those Spring Boot Personal Projects

  Рет қаралды 15,777

Dan Vega

Dan Vega

Күн бұрын

In this tutorial I am going to show you when, why and how to deploy entire Spring Boot applications to AWS Lambda. Lambda is a great solution for any application with variable traffic or that can scale to zero.
00:00 Introduction
00:59 Problem Presentation
02:31 Discussing alternatives
04:42 AWS Lambda Solution
06:23 Configuring Maven Archetype
09:40 Building Rest API with SpringBoot
15:02 Loading Data from JSON Placeholder Service
19:24 Creating AWS Lambda Function
22:56 Fixing AWS Lambda Function Error
25:24 Creating API Gateway on AWS
28:35 Website Testing
30:23 Conclusion
🔗Resources & Links mentioned in this video:
GitHub Repository: github.com/dan...
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/dan...
LinkedIn: / danvega
Newsletter: www.danvega.de...
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️

Пікірлер: 43
@prathmeshchaudhari9846
@prathmeshchaudhari9846 Жыл бұрын
Can you also make one tutorial where the spring boot project is using a database and deploy it on lambda?
@lovely_948
@lovely_948 2 ай бұрын
bro you have deploy springboot using db on lambda can you help me also
@user-cz6in3ko2x
@user-cz6in3ko2x Жыл бұрын
Thanks Dan, Love these spring to production series. I always found serverless implementation difficult, thanks for the tutorial. I also found render a good and easy alternative to host for free.
@JimShingler
@JimShingler Жыл бұрын
Awesome!!! Idea for next post, ... connect up spring security (OAuth/OIDC) with this and was Cognito, ... that would be full circle
@arielcastillo7925
@arielcastillo7925 Жыл бұрын
thank you man, i don't so much people doing video like this about spring boot, i have a pet project and i wanna deploy it for get a job, this is very useful for me
@JamesStansell
@JamesStansell Жыл бұрын
Thanks, Dan! Really interesting. I was surprised to see JUnit 4 in the beverages dependencies.
@sivasrinivasamara
@sivasrinivasamara Жыл бұрын
Thanks for the tutorial, Dan. It's very helpful and exactly what I am looking for in my POC at work. How can we use GraalVM in this use case to improve the Lambda cold start problem?
@SouhaibD
@SouhaibD Жыл бұрын
Great video as always Dan! Thanks for enriching the Spring community.
@kappaj01
@kappaj01 6 ай бұрын
One sneaky little trick is to use the class static constructor to store some cached information for you. That will still be available when the lambda goes cold, and a new version is deployed. Not sure how that works together with the fast start, but used to work some time ago when I build pure Java only.
@mayureshratnaparkhi9112
@mayureshratnaparkhi9112 8 ай бұрын
It is really great and helpful information, we understood spring with lambda with java 17 It is my humble request you, can you please create the spring security with AWS (cognito) with method level security, where as per the role user will have module wise (reade,write,delete) permission Example :- Role is Sales-Manger and (reade,write,delete, get) permision for (Sale dept) but for (HR dept) will have only (GET) access.
@DanVega
@DanVega 8 ай бұрын
I will ad it to the backlog but I don't have a ton of experience with that so it might take some time.
@svalyavasvalyava9867
@svalyavasvalyava9867 11 ай бұрын
Infinitely helpful tutorial, thank you ☺️
@aziztolearn
@aziztolearn Жыл бұрын
Hello Mr Dan Vega, I appreciate your videos and tutorials. But could you create video about AWS, about how to run smth, how to delete services, how to integrate with docker, who and how uses senior engineers. I'm just asking, if you can. It's not obligation.
@TheStefannel
@TheStefannel Жыл бұрын
You are using the wrong data structure. Please use a Map
@taonamadzudzo9627
@taonamadzudzo9627 10 ай бұрын
Thanks. This is a great tutorial
@terrabys
@terrabys Жыл бұрын
Can you do example with DB?
@sreekanthkumar1485
@sreekanthkumar1485 4 ай бұрын
When first time we hit the api, it take some time, since it should start the app right. How to manage that part
@leoMC4384
@leoMC4384 Жыл бұрын
Great content as always. I'm using Vercel for most of my projects but they don't support Spring Boot nor plan to. So this is super useful. However I've never liked the idea of giving AWS my credit card number in order to start using their services. What if they decide to start charging me for stuff?? They should offer a free tier like Google. Anyway, thank you very much. 😃😃😃
@soufianeodf9125
@soufianeodf9125 4 ай бұрын
they do offer free tier also in aws, and you can set up some limit as he explained in the video
@harshsingh8175
@harshsingh8175 10 ай бұрын
Thanks Dan, Please help me i want to configure api gateway to trigger two lamda spring boot apps, for microservice development, how can we achive that
@martinuslukas448
@martinuslukas448 Жыл бұрын
Wow, KZfaq already know what I need
@WM-ec
@WM-ec 9 ай бұрын
hi @Dan Vega sorry a dumb question...is possible have several http methods in only one lambda?
@Greazer
@Greazer 5 ай бұрын
Hey, So to confirm this is Not a Knative Serving app that can be deployed with "kn service create" right ??
@eliali9968
@eliali9968 Жыл бұрын
I wonder if using GraphQL would work in the same way without needing to define a proxy and graphQL resolver will wrap all endpoints in the request body, so only single endpoint can be deployed..
@waleagboola5943
@waleagboola5943 Жыл бұрын
First to comment 🎉... I love it. Thanks Dan. Very helpful
@user-gd6yq4wy5n
@user-gd6yq4wy5n 11 ай бұрын
Why is posts.isEmpty() necessary? init is only executed once, or what am I missing?
@user-zy6su4gg8l
@user-zy6su4gg8l Жыл бұрын
hey @Dan can please you make a video for the same setup for springboot kotlin application that is using gradle
@StigBSivertsen
@StigBSivertsen Жыл бұрын
Hi Dan, Could please create a video on how to navigate Spring documentation? I’m not a developer and find super hard to find my way around in the documentation.
@zavierrodriguez9236
@zavierrodriguez9236 Жыл бұрын
Thanks Dan! Very helpful. Question for you? Why would this be something to consider only for pet projects or small apps? Wouldn't this work for larger production code? With the example that you gave and snapstart, cold starts don't seem to be a problem and a lambda that is constantly warm due to utilization wouldn't even suffer from cold starts. What are your thoughts here?
@mayikx
@mayikx 8 ай бұрын
Amazing beautifull
@user-qp7bh5ru8r
@user-qp7bh5ru8r Жыл бұрын
Just curious about your intelij theme and font settings, share more details about it
@praveens2272
@praveens2272 Жыл бұрын
It's a lot but useful 😁
@prashlovessamosa
@prashlovessamosa Жыл бұрын
Thank you.
@brunocarneiro7754
@brunocarneiro7754 Жыл бұрын
Hi Dan! How about Spring AOP? Can you teach us something?
@sandrodelacruz8125
@sandrodelacruz8125 Жыл бұрын
What about gradle?
@sdash2023
@sdash2023 Жыл бұрын
Sweet!!!
@MohamedElsayed-tc5yg
@MohamedElsayed-tc5yg 11 ай бұрын
Thanks
@nitinmorey8825
@nitinmorey8825 Жыл бұрын
Thanks Dan your most informative and easy ti understand. I HAVE QUESTION RELATED TO SEVERLET WHY WE USE THAT ? IF WE HAVE THE ANOTATION BASED CONFIGURATION. PLEASE HELP WITH THIS QUESTION.THANKS
@TawfikShalash
@TawfikShalash Жыл бұрын
you can host it at render for free
@maneshipocrates2264
@maneshipocrates2264 Жыл бұрын
Have you tried render? Thanks
@TawfikShalash
@TawfikShalash Жыл бұрын
@@maneshipocrates2264 the only problem is it's slow
Deploy a Spring Boot Application to AWS Lambda with an API Gateway
9:49
The Dev World - by Sergio Lema
Рет қаралды 2,5 М.
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 52 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 32 МЛН
Getting started with Spring Boot AOT + GraalVM Native Images
21:03
Spring Boot APIs Gateway in 20 Minutes
22:50
The IT Wizard
Рет қаралды 10 М.
GO without SERVERS? How to Deploy Go to Lambda
15:47
Melkey
Рет қаралды 17 М.
Deploy a SpringBoot 3 API on AWS Lambda in 10 minutes
9:16
James Eastham
Рет қаралды 8 М.
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 52 МЛН