Deploying Django in AWS
In Chapter 12, we learned how to work with version control and use CI pipelines to run test cases and verify our code changes efficiently. In this chapter, we will take the next step toward our development cycle: learning how to deploy our Django application in production. While most books only cover application code development, we are going to take a step further and make sure we learn how to deploy our code on production. We are going to use Amazon Web Services (AWS) as a platform to deploy our Django code. There are several other cloud providers available, such as Azure, Google Cloud Platform (GCP), and Digital Ocean, but out of all the major cloud providers, AWS has one-third of the market share. This is why we will learn how to use AWS to host our Django application.
Important note
AWS is a vast topic and is a book in itself. We shall not look at how AWS works in depth; rather, our primary focus will be to learn how we can deploy our Django application...