Demo: Preparing an EC2 Instance for AWS CodeDeploy

Learn how to create an EC2 instance and install the CodeDeploy agent.

Let’s explore a high-level architecture of deploying applications using AWS CodeDeploy. AWS CodeDeploy requires creating a deployment group before starting a new deployment. A deployment group is a set of EC2 instances where our application will be deployed. AWS CodeDeploy does not automatically create the target instances; they must be manually provisioned. Another requirement for CodeDeploy is a service role that needs to be in place for the AWS CodeDeploy to access the target instances. The AWSCodeDeployRole is an AWS-managed role, and we don’t need to create the policy explicitly.

Get hands-on with 1400+ tech skills courses.