Skip to content

Commit 07da113

Browse files
ejahnkeJahnke
andauthored
(docs): Eb faq doc update (#1055)
* added Elastic Beanstalk entry to FAQ * Update index.md Co-authored-by: Jahnke <ejahnke@909c4acec9cf.ant.amazon.com>
1 parent 33ecd9b commit 07da113

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

src/mkdocs/docs/faq/index.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,48 @@
873873

874874
![Logging](../installation/img/ASEA-Logging-Arch.png)
875875

876+
??? 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:
901+
902+
```bash
903+
aws elasticbeanstalk describe-platform-version --region <YOUR_REGION> --platform-arn <ARN_EB_PLATFORM>
904+
```
905+
906+
Once you have gathered the AMI ID successfully, go to the EC2 console and:
907+
908+
- Click on the ‘AMIs’ option in the left navigation pane
909+
- Search for your AMI after selecting ‘Public Images’ from the dropdown list.
910+
- Select the AMI
911+
- Go to Actions and Copy AMI
912+
- Click on the checkbox to enable ‘Encryption’ and then select "Copy AMI".
913+
914+
Once the AMI is successfully copied, you can use this AMI to specify a custom AMI in your Elastic Beanstalk environments with root volume encrypted.
915+
916+
917+
876918
## 1.7. Network Architecture
877919

878920
??? faq "1.7.1. We want to securely connect our on-premises networks/datacenters to our AWS Cloud PBMM tenancy, what does AWS you recommend?"

0 commit comments

Comments
 (0)