updating VPC config
This commit is contained in:
16
tempnotes.md
16
tempnotes.md
@@ -177,10 +177,22 @@ Using `jq` for formatting:
|
||||
|
||||
## Adding SSL to ELB
|
||||
|
||||
You should generate an SSL Certificate in Certificate Manager for your domain. To do this you will need to create a CNAME record to verify you have access to the DNS settings.
|
||||
|
||||
At the same time you should create a CNAME record that maps your subdomain (<strapi.panaetius.co.uk>) to the DNS name AWS has given your load balancer (<awseb-AWSEB-68CXGV0UTROU-1492520139.eu-west-1.elb.amazonaws.com>).
|
||||
|
||||
### With load balancer
|
||||
|
||||
- Generate the SSL cert in Certificate Manager for your domain
|
||||
- Configure the load balancer listener
|
||||
A load balancer is not free! It costs ~£15 a month.
|
||||
|
||||
- Configure the load balancer listener in a EB `.config` file:
|
||||
|
||||
```yaml
|
||||
option_settings:
|
||||
aws:elbv2:listener:443:
|
||||
Protocol: HTTPS
|
||||
SSLCertificateArns: arn:aws:acm:eu-west-1:745437999005:certificate/218876af-7f8d-4022-97af-ad982aa540bc
|
||||
```
|
||||
|
||||
Good repo for examples: <https://github.com/awsdocs/elastic-beanstalk-samples>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user