Building Serverless Applications with Spring and AWS

Video description

Removing the concept of a “server” from your application is huge. Cloud-based infrastructure was a game changer for software development and serverless architectures is the next step in that evolution. Building serverless applications means that your developers can focus on their core product instead of worrying about managing and operating servers or runtimes, either in the cloud or on-premises. Many companies have started adopting serverless architecture for their applications to save costs and improve scalability. This course demonstrates a key strength of serverless computing in AWS using Spring.

This course will introduce you to Serverless Architecture and lead you to build a simple image-resizing service using a Java-based AWS Lambda function. Then we’ll move onto how the Spring framework supports the cloud and in particular AWS. There are a number of different services made available through Spring annotations to make your life easier.

Moving on, you’ll start to build your Spring-based, serverless application that will take a URL and convert it into a short URL that will be stored in DynamoDB and you’ll receive a short URL. You can then use that short URL in a browser and then be redirected to the real site. To demonstrate integration with AWS’ Simple Notification Service (SNS), the application will also send a notification to you whenever someone creates a new short URL. Lastly, you’ll learn about monitoring your application using AWS cloud watch.

By the end of the course, you’ll be equipped with the knowledge to build scalable and cost-efficient Spring applications with serverless architectures.

What You Will Learn

  • Understand the concept of Serverless computing
  • Discover the common use cases, advantages, and limitations of serverless
  • Build a serverless application on AWS using Spring Cloud Functions
  • Enable better application interaction with AWS
  • Utilising the testing functionality in AWS
  • Use Spring Cloud Functions to implement AWS functions
  • Explore CloudWatch services to monitor your AWS Lambda functions


This video is for Java developers who would like to learn about serverless architectures and how to build serverless applications using Spring Cloud Functions. Knowledge of Spring and Java is assumed.

About The Author

Marc Thomas: Marc Thomas is a Solutions Architect that is still actively involved with the development team. He has 19 years of experience in software development from embedded software, desktop applications, through to the latest web application technologies. Marc has worked in a number of different industries from Networking to Process Improvement, Asset Management, Defense, and Marketing. Marc works as a Solutions Architect for Connect in Birmingham, delivering Jaguar Land Rover’s web applications using Java, Spring, and React.

Product information

  • Title: Building Serverless Applications with Spring and AWS
  • Author(s): Marc Thomas
  • Release date: July 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781788393966