The database

Now that we are aware of the benefits and disadvantages of a monolith application and we have decided to break our app into multiple pieces, it is time to move the first resource outside of the monolith. 

As we anticipated in the first section of this chapter, it is necessary to move the data (also called state) outside  of the EC2 machine. In some web applications, the database is the only data source. However, in others, there are also files uploaded from the users saved directly on the disk or index files if you use an index engine such as Apache Solr. For more information on this, refer to http://lucene.apache.org/solr/ .

When possible, it is always convenient to use a cloud service instead to install a program in a virtual ...

Get Effective DevOps with AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.