From the course: Complete Guide to Serverless Web App Development on AWS

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Lift and shift an existing webapp with Lambda web adapter

Lift and shift an existing webapp with Lambda web adapter - Amazon Web Services (AWS) Tutorial

From the course: Complete Guide to Serverless Web App Development on AWS

Lift and shift an existing webapp with Lambda web adapter

- [Instructor] So now it should be in here and we can test if it worked. In order for this to work, you need to have Docker installed and running. We can first build this. So this is built, and now we can run this. So this is running our application in the localhost:8080. So this is a simple application that has all kind of local database and everything that we can track our water intake, so then we can do query into the localhost:8080/water. We can pass an user and an amount, and that will then create the intake, and then we can check how much water they have been drinking. You can basically check here all the different queries that you can do. It's all in the README. And now we want to add the Lambda Web Adapter to this. So what we'll go and do is we are going to check the Docker file, and we are going to change here and add the Lambda Web Adapter. So this is the only change we need to do to this app to get it to work with the Lambda Web Adapter. So here we are going to copy from…

Contents