Skip to content

Update Setting SSL termination by Load Balancer #17293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions cloud/ecs-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,11 +489,43 @@ services:
x-aws-cloudformation:
Resources:
WebappTCP80Listener:
Properties:
DefaultActions:
- Type: redirect
RedirectConfig:
Host: '#{host}'
Path: '/#{path}'
Port: '443'
Protocol: 'HTTPS'
Query: '#{query}'
StatusCode: 'HTTP_301'
Protocol: HTTP
Port: 80
WebappTCP443Listener:
Properties:
Certificates:
- CertificateArn: "arn:aws:acm:certificate/123abc"
DefaultActions:
- Type: forward
ForwardConfig:
TargetGroups:
- TargetGroupArn:
Ref: WebappTCP80TargetGroup
Protocol: HTTPS
Port: 443
LoadBalancerArn:
Ref: LoadBalancer
Type: AWS::ElasticLoadBalancingV2::Listener
Default443Ingress:
Properties:
CidrIp: 0.0.0.0/0
Description: web:443/tcp on default network
FromPort: 443
GroupId:
Ref: DefaultNetwork
IpProtocol: TCP
ToPort: 443
Type: AWS::EC2::SecurityGroupIngress
```

## Using existing AWS network resources
Expand Down