Step 1 -Open CodeDeploy-Applications :
Step 2 – Create deployment group : Click on Create deployment group
Step 3 – Create deployment group: Add the below configuration
(i) | Deployment group name | <name-your-deploy-group> |
(ii) | Service role | Select the Previously created service role |
(iii) | Deployment type | In-place |
(iv) | Environment configuration | Amazon EC2 instances |
(v) | Agent configuration with AWS Systems Manager | Install AWS CodeDeploy Agent : Select Never |
(vi) | Deployment settings | CodeDeployDefault:AllAtOnce |
(vii) | Load balancer | Untick Enable Load Balancer |
Click on Create deployment group, Next Deployment group is created.
Next we need to create code pipeline for CICD automation