Skip to content

Allow multiple ports to cut through the containers #3594

@dragosbulugean

Description

@dragosbulugean

For software that manages SSL certificates for customers (called SSL for SaaS in the industry, https://developers.cloudflare.com/ssl/ssl-for-saas/), many times it's required to allow 80 and 443 both to cut through to the containers so they can manage the lifecycle of SSL certificates.

For example Caddy (https://caddyserver.com/) works great for this use case, but it does require 80 and 443 (without termination) to function properly with LetsEncrypt. We know it's possible because we use ECS+Fargate+Caddy with NLB in front for this exact use case in production. We'd like to move this setup to Copilot.

It would be useful if NLB could be configured in Copilot to allow multiple ports somewhat like this:

nlb:
  ports: ['80/tcp', '443/tcp']

Is this feasible? Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/manifestIssues about infrastructure-as-code templates.area/overrideIssues related to overrides.size/MWe should be able to deliver roughly 1 medium issue in a sprint.type/featureIssues that are new feature requests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions