Skip to Content

Chapter 9 - Deploying to the cloud

In this chapter, we’ll take a tour of the different cloud providers, understand the challenges and benefits of a distributed architecture and we’ll deploy our web application on Heroku.

In this chapter of Mastering Spring MVC 4, you will deploy your application on the cloud and invite the whole world to see!

We will see how to deploy our application on two popular PaaS: Cloud Foundry and Heroku.

A big thank you to Wayne Lund at Pivotal who wrote the Pivotal Web Services part!

Our login page on Heroku!

Know your options

We will have a look at the different PaaS providers, then I will guide you through the steps of deploying your application on Cloud Foundry and Heroku.

We will use Redis to distribute our sessions as well as our application cache and prepare our application to handle thousands of requests without spending a single penny!

I’m not bluffing

I already deployed my application on Heroku!

It’s a free Heroku instance so you might have to wait 30 seconds for it to go out of sleep.

As always, I hope you will find the content of this chapter interesting, let me know your thoughts in the comments!

comments powered by Disqus