From 331643fbf7bf92e7403c95565ca6b95f52f51b0e Mon Sep 17 00:00:00 2001 From: dtomlinson Date: Sat, 2 May 2020 02:56:24 +0100 Subject: [PATCH] updating docs --- tempnotes.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tempnotes.md b/tempnotes.md index d34423d..3928829 100644 --- a/tempnotes.md +++ b/tempnotes.md @@ -151,7 +151,7 @@ Default ports: ### deploy -`aws --profile admin cloudformation deploy --template-file ./02-stack-vpc.yaml --stack-name strapi-vpc --tags git=web-dev owner=home project=strapi-elb test=true deployment=cloudformation` +`aws --profile admin cloudformation deploy --template-file ./02-stack-vpc.yaml --stack-name strapi-vpc --taws:elbv2:listener:defaultags git=web-dev owner=home project=strapi-elb test=true deployment=cloudformation` `aws --profile admin cloudformation deploy --template-file ./03-stack-rdsinstance.yaml --stack-name strapi-rds --parameter-overrides StackName=strapi-vpc --tags git=web-dev owner=home project=strapi-elb test=true deployment=cloudformation` @@ -175,6 +175,13 @@ Using `jq` for formatting: `aws --profile admin cloudformation describe-stack-resources --stack-name strapi-vpc | jq -r '.StackResources[] | .ResourceType + ": " + .PhysicalResourceId'` +## Adding SSL to ELB + +### With load balancer + +- Generate the SSL cert in Certificate Manager for your domain +- Configure the load balancer listener + Good repo for examples: Doc: