In this 3-part series on Create and Deploy applications using CodeDeploy and CodePipeline with Amazon S3 bucket versioning enabled -
In the 2nd article, We will Cceate a CodeDeploy application and Deployment group
1st article
- As a reference, please read my 3-part series - (1) Launch an EC2 Instance, Install CodeDeploy Agent and upload App_Linux.zip file to version enabled S3 bucket
Letβs get started!
Please visit my GitHub Repository for CI-CD/Docker/ECS/ECR articles on various topics being updated on constant basis.
Objectives:
1. Create a CodeDeploy application
2. Create a Deployment group
Pre-requisites:
- AWS user account with admin access, not a root account.
- AWS CLI.
Resources Used:
Steps for implementation to this project
1. Create a CodeDeploy application
Go to CodeDeploy Console, Applications, Create application, my-codedeployapp, Compute platform , Select the EC2/On-Premises
Create application
2. Create a Deployment group
click my-codedeployapp, Service role: Role-CodeDeploy, Create deployment group, my-codedeploy-grp, Deployment type, In-place deployment, Environment configuration, Select Amazon EC2 Instances,In Tag Group 1, Key-Name, Value:my-ec2, Matching instances, 1 unique matched instance, Agent configuration with AWS Systems Manager: Never, Deployment settings: Select CodeDeployDefault.AllAtOnce, Load balancer: Uncheck
Create deployment group.
What we have done so far
- We will successfully created a CodeDeploy application and Deployment group.
Top comments (0)