Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f632669

Browse filesBrowse files
Update with access to the AutoScaling API
1 parent 9238836 commit f632669
Copy full SHA for f632669

File tree

Expand file treeCollapse file tree

1 file changed

+25
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+25
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,28 @@ ssh-agent bash -c 'ssh-add /root/id_rsa_file; git clone https://github.com:user/
6161
```
6262

6363
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/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.