Here is my source code
Run it on the cloud for me
I do not care how
– Cloud Foundry haiku (Onsi Fakhouri @onsijoe)
In the previous chapter, we learned how to secure our microservice-based social media platform.
In this chapter, we will cover the following topics:
- Configuring profile-specific beans
- Creating configuration property beans
- Overriding property settings in production
- Deploying our social media platform to the cloud
So, today is the day. We worked for weeks to build this system. And now we want to take it to production. What could happen? What could go wrong?
Answer: A lot. And...​a lot.
Spring Boot comes with powerful features to make it easy to tune and adjust things in production, allowing us to minimize the code. Some of the concepts presented here are rooted in The Twelve-Factor App (https://12factor...