No video

Deploy a Spring Boot Application to AWS Lambda with an API Gateway

  Рет қаралды 2,706

The Dev World - by Sergio Lema

The Dev World - by Sergio Lema

Күн бұрын

In this video, I explain how to deploy a Spring Boot application to AWS Lambda. With Spring Boot, I can create several endpoints, so I need an API Gateway to create a proxy from a single URL to many endpoints inside my AWS Lambda.
This video belongs to a playlist where I show how to deploy Spring Boot applications to several AWS services: studio.youtube...
Github repository: github.com/ser...
My NEW eBook: sergiolema.dev...
Blog: bit.ly/47ornJL
LinkedIn: bit.ly/41Nn61q
Facebook: bit.ly/47rc9nh
Boost your APIs with API Monitor: bit.ly/4d7C0ny

Пікірлер: 22
@vasylbielozertsev5861
@vasylbielozertsev5861 2 ай бұрын
Very helpful video! I couldn't run the Lambda function for a long time. I followed the recommendations from the video, and everything started working.
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema 2 ай бұрын
I'm so happy it helped you!
@Jaksteroide
@Jaksteroide 2 ай бұрын
I came from the "Spring Boot y Java en español" Facebook community... And I have to say that It was a very useful video to give me a brief idea of how aws lambda and spring boot deployment process works. New sub here!
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema 2 ай бұрын
Thank you! I try my best
@fipabrate
@fipabrate 3 ай бұрын
awesome video!
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema 3 ай бұрын
Thank you!
@fipabrate
@fipabrate 3 ай бұрын
@@TheDevWorldbySergioLema i don't know why i get build.gradle when i create maven archtype project :/ Currently I'm trying to test my app with aws toolkit plugin before deploying it. Don;t know what i am doing but here goes nothing 🥲
@johncerpa3782
@johncerpa3782 3 ай бұрын
Great video
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema 3 ай бұрын
Thanks John!
@JohnBrosan
@JohnBrosan 3 ай бұрын
Great video! I am wondering if you have the template file for AWS SAM do you need to create and upload the lambda? SAM should do that for you. I am currently working on a DynamoDB trigger and would like to have the Spring features you mentioned along with AWS SAM to deploy. SAM init, uses the old AWS SDK for Java and not AWS SDK for Java 2.x unless there is something I am doing wrong.
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema 3 ай бұрын
The SAM template is available in the Github repository of the project. I didn't use it because I wanted to explain step by step all the services used.
@JohnBrosan
@JohnBrosan 3 ай бұрын
@@TheDevWorldbySergioLema Fantastic! Thank you! I look forward to more of your content. :-D
@perek3226
@perek3226 3 ай бұрын
Hi man, great video! I have a question, you've created a maven archetype project and using ready dependencies. What if I already have ready Spring Boot project? I don't want recreate whole project with a lot of dependencies, connected DB and other. What I need to do then? Thank you
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema 3 ай бұрын
Hi, you need to create the main method according the my project, add the StreamLambdaHandler, and the Maven dependencies to build the JAR or ZIP file
@perek3226
@perek3226 3 ай бұрын
@@TheDevWorldbySergioLema will it work if I am using Gradle as my building system?
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema 3 ай бұрын
Yes, using Gradle or Maven changes nothing about the application nor the packaging. What you must change is the way the plugins and dependencies are fetch. I remember when building the archetype that both the pom.xml and gradle.build are available.
@daribo1
@daribo1 2 ай бұрын
How do you deal with coldstart? Normally the instance is being shutdown after apporox. 5-7 minutes. Is it possible to keep it alive for not having long responses in between?
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema 2 ай бұрын
I haven't found a solution for that.
@darshanmestry9343
@darshanmestry9343 Ай бұрын
How to run this project locally to test the APIs?
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema Ай бұрын
It's hard to do it, because, by default, you exclude the Tomcat webserver from Spring Boot. This means that you can't run it in your laptop. What I do, create unit tests that request the endpoints.
@PorkyPrank
@PorkyPrank Ай бұрын
If I deploy telegram bot using spring boot, the process is the same?
@TheDevWorldbySergioLema
@TheDevWorldbySergioLema Ай бұрын
I've never tried something like this. I don't know
Where to deploy those Spring Boot Personal Projects
30:53
Dan Vega
Рет қаралды 15 М.
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 43 МЛН
Revolutionary Uses for Leftover Styrofoam
00:19
Делай сам
Рет қаралды 6 МЛН
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 29 МЛН
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 М.
Spring Boot Rest Client Interceptors
14:00
Dan Vega
Рет қаралды 9 М.
Solve the CORS error with Spring Security and a React frontend.
10:35
The Dev World - by Sergio Lema
Рет қаралды 3,3 М.
What are Serverless Apps and How to deploy one on AWS
21:27
Tech Raj
Рет қаралды 27 М.
🚀 Deploy Spring boot application to AWS Cloud 🚀
31:32
Bouali Ali
Рет қаралды 32 М.
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 43 МЛН