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: