You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
??? faq "1.6.17. How do I deploy AWS Elastic Beanstalk instances?"
877
+
878
+
#### How do I deploy AWS Elastic Beanstalk instances?
879
+
880
+
If your deployed environment contains an SCP enforcing volume encryption of EC2 instances, your Elastic Beanstalk deployment will fail.
881
+
882
+
The SCP will contain an entry like this:
883
+
884
+
```json
885
+
{
886
+
"Sid": "EBS1",
887
+
"Effect": "Deny",
888
+
"Action": "ec2:RunInstances",
889
+
"Resource": "arn:aws:ec2:*:*:volume/*",
890
+
"Condition": {
891
+
"Bool": {
892
+
"ec2:Encrypted": "false"
893
+
}
894
+
}
895
+
},
896
+
897
+
```
898
+
A solution is to encrypt the root volume of the AMI that Elastic Beanstalk uses for your selected platform, and perform a custom AMI deployment of your Elastic Beanstalk application.
899
+
900
+
You can gather the AMI that Elastic Beanstalk uses via CLI with the following command:
0 commit comments