Overview: Automating Deployment on AWS

Get an overview of the topics covered in this chapter.

We'll cover the following

Most of the deployment we did has been done manually, and we don’t check for regression when pushing a new version of the application. Interestingly, all the deploying can be automated using GitHub Actions.

Topics covered in this chapter

In this chapter, we will use GitHub Actions to automatically deploy on an AWS EC2 instance so that we don’t have to do it manually. We will explore how to write a configuration file that will run tests on the code to avoid regressions. Finally, we'll connect via Secure Socket Shell (SSH) to a server and execute the script to pull and build the recent version of the code and up the container.

We will cover the following topics in this chapter:

  • Explaining continuous integration and continuous deployment (CI/CD).

  • Defining the CI/CD workflow.

  • What GitHub Actions is.

  • Configuring the backend for automated deployment.

Get hands-on with 1200+ tech skills courses.