Where to deploy those Spring Boot Personal Projects

preview_player
Показать описание
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:

👋🏻Connect with me:

Рекомендации по теме
Комментарии
Автор

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.

czinkox
Автор

Can you also make one tutorial where the spring boot project is using a database and deploy it on lambda?

prathmeshchaudhari
Автор

Awesome!!! Idea for next post, ... connect up spring security (OAuth/OIDC) with this and was Cognito, ... that would be full circle

JimShingler
Автор

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

arielcastillo
Автор

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?

sivasrinivasamara
Автор

Thanks, Dan! Really interesting. I was surprised to see JUnit 4 in the beverages dependencies.

JamesStansell
Автор

Great video as always Dan! Thanks for enriching the Spring community.

SouhaibD
Автор

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.

kappaj
Автор

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.

mayureshratnaparkhi
Автор

Infinitely helpful tutorial, thank you ☺️

svalyavasvalyava
Автор

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.

aziztolearn
Автор

You are using the wrong data structure. Please use a Map<id, post>

TheStefannel
Автор

First to comment 🎉... I love it. Thanks Dan. Very helpful

waleagboola
Автор

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. 😃😃😃

leoMC
Автор

Wow, Youtube already know what I need

martinuslukas
Автор

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?

zavierrodriguez
Автор

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.

StigBSivertsen
Автор

Just curious about your intelij theme and font settings, share more details about it

chandrahasans-lb
Автор

Hey, So to confirm this is Not a Knative Serving app that can be deployed with "kn service create" right ??

Greazer
Автор

When first time we hit the api, it take some time, since it should start the app right.
How to manage that part

sreekanthkumar