Skip to content

Latest commit

 

History

History
38 lines (36 loc) · 1.25 KB

File metadata and controls

38 lines (36 loc) · 1.25 KB

ecs-codedeploy-cloudformation-CICD

  1. Create infra stack aws cloudformation create-stack --capabilities CAPABILITY_IAM --stack-name mystack-network --template-body file://infra.yml

  2. Create ecs service stack aws cloudformation create-stack --capabilities CAPABILITY_AUTO_EXPAND --stack-name mystack-service --template-body file://service-stack.yml --parameters ParameterKey=StackName,ParameterValue=mystack-network

  3. Create CodeDeploy Application stack aws cloudformation create-stack --capabilities CAPABILITY_IAM --stack-name mystack-codedeploy-application --template-body file://Create_CodeDeploy_Application.yaml

  4. Create deployment group aws deploy create-deployment-group \ --cli-input-json file://Create_Deployment_Group_CLI_Param.json \ --region us-east-2

  5. Create Deployment aws deploy create-deployment \ --cli-input-json file://Create_Deployment_CLI_Param.json \ --region us-east-2

  6. Create deployment group aws deploy create-deployment-group \ --cli-input-json file://Create_Deployment_Group_CLI_Param.json \ --region us-east-2

  7. Create codepipeline stack aws cloudformation create-stack --capabilities CAPABILITY_IAM --stack-name mystack-codepipeline --template-body file://Create_CodePipeline.yaml