File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Original file line number Diff line number Diff line change @@ -61,3 +61,28 @@ ssh-agent bash -c 'ssh-add /root/id_rsa_file; git clone https://github.com:user/
61
61
```
62
62
63
63
When using the steps above, the deployment will automatically run.
64
+
65
+
66
+ ## Access to the AutoScaling API
67
+ Make sure the EC2 instances have access to the AutoScaling API. You can achieve this by adding the following policy:
68
+
69
+ ```
70
+ {
71
+ "Statement": [
72
+ {
73
+ "Effect": "Allow",
74
+ "Action": [
75
+ "autoscaling:Describe*",
76
+ "autoscaling:EnterStandby",
77
+ "autoscaling:ExitStandby",
78
+ "cloudformation:Describe*",
79
+ "cloudformation:GetTemplate",
80
+ "s3:Get*"
81
+ ],
82
+ "Resource": "*"
83
+ }
84
+ ]
85
+ }
86
+ ```
87
+
88
+ See more information here: https://aws.amazon.com/blogs/devops/use-aws-codedeploy-to-deploy-to-amazon-ec2-instances-behind-an-elastic-load-balancer-2/
You can’t perform that action at this time.
0 commit comments