AWS CodeDeploy is a managed service that can be used to streamline your delivery process. CodeDeploy uses an agent installed on EC2 instances and on-premises servers to poll for software revisions available. This agent takes the control of the delivery process by pulling software artifacts from GitHub and Amazon S3 as requested from deployments.
CodeDeploy is also AWS Lambda compatible and is platform agnostic. It provides a series of lifecycle events called hooks when deploying new software. Examples of these hooks are the BeforeInstall and ValidateService. The BeforeInstall can take of installing all required dependencies before the cut over of the previous version and the ValidateService hook can perform some smoke testing after deployment.
To demonstrate the use of AWS CodeDeploy, we will create a web artifact that will consist of an index.html web page. You...