From the course: Running Jenkins on AWS: Deploying and Managing Jenkins on Cloud Infrastructure

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Deploy to AWS Lambda from GitHub

Deploy to AWS Lambda from GitHub

- [Instructor] This is the moment we've been working toward: making a code change that triggers a Jenkins job and seeing that change deployed to the web application running in AWS Lambda. Let's review all of the resources we have in place. We have a GitHub repository with our code. We have a Jenkins job that will be triggered by a webhook from GitHub, and we have our application running in AWS Lambda. If everything works as intended, we'll be able to make a change in GitHub and see it propagated all the way to the application. Let's give it a shot. In the repository, let's make a change that will be immediately visible so that we can quickly confirm that the change was applied. The HTML for the homepage is a good place to start. We can edit this file in the browser by selecting the pencil icon. Let's add a message explaining how the API was deployed. I'll add a message to the page header, and I'll even add a smiley face because if this works, I'll be really happy. Now we need to…

Contents