Book Image

Effective DevOps with AWS - Second Edition

By : Raheja, Giuseppe Borgese, Felsen
Book Image

Effective DevOps with AWS - Second Edition

By: Raheja, Giuseppe Borgese, Felsen

Overview of this book

The DevOps movement has transformed the way modern tech companies work. Amazon Web Services (AWS), which has been at the forefront of the cloud computing revolution, has also been a key contributor to the DevOps movement, creating a huge range of managed services that help you implement DevOps principles. Effective DevOps with AWS, Second Edition will help you to understand how the most successful tech start-ups launch and scale their services on AWS, and will teach you how you can do the same. This book explains how to treat infrastructure as code, meaning you can bring resources online and offline as easily as you control your software. You will also build a continuous integration and continuous deployment pipeline to keep your app up to date. Once you have gotten to grips will all this, we'll move on to how to scale your applications to offer maximum performance to users even when traffic spikes, by using the latest technologies, such as containers. In addition to this, you'll get insights into monitoring and alerting, so you can make sure your users have the best experience when using your service. In the concluding chapters, we'll cover inbuilt AWS tools such as CodeDeploy and CloudFormation, which are used by many AWS administrators to perform DevOps. By the end of this book, you'll have learned how to ensure the security of your platform and data, using the latest and most prominent AWS tools.
Table of Contents (11 chapters)

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 machine. For a database, the RDS  service (https://aws.amazon.com/rds/)provides a large set of open or closed source(AmazonAurora, PostgreSQL, MySQL, MariaDB, Oracle, and Microsoft SQL Server), so if you need an IBM Db2https://www.ibm.com/products/db2-database...