SecureProxy (SSL Termination)
Overview
SecureProxy provides automatic SSL/TLS termination as a separate ECS service using Traefik. Unlike CertWrapper which runs as a sidecar container, SecureProxy runs independently with its own dedicated Fargate resources, enabling zero-downtime deployments since application deployments don’t restart or redeploy the proxy service.
Purpose and Benefits
- Zero-Downtime Deployments: Application deployments don’t affect SSL termination & proxying
- Dedicated Resources: Runs on separate ECS Fargate service with its own CPU/memory
- Automatic HTTPS: Secure your application with automatically provisioned SSL certificates
- Let’s Encrypt Integration: Free SSL certificates with automatic renewal using Traefik
- Independent Scaling: Proxy service scales independently of application
vs. CertWrapper Comparison
| Feature | SecureProxy | CertWrapper |
|---|---|---|
| Architecture | Separate ECS Fargate service | Sidecar container |
| Resources | Dedicated Fargate resources | Shares app CPU/RAM |
| Cost | Additional service costs | No additional compute cost |
| Deployment | Independent of app deploys | Restarts with app deploys |
| Use Case | Zero-downtime deployments | Cost-effective SSL |
| Proxy Technology | Traefik | Traefik |
CLI Usage
Create SecureProxy
tapit create secureproxy acme_email=my@email.comRequired Parameters
acme_email: Email address for Let’s Encrypt certificate registration and notifications
List and Show SecureProxy
# List all addons (including SecureProxy)
tapit list addons
# Show specific SecureProxy details
tapit show addon name=secureproxyDelete SecureProxy
tapit delete addon name=secureproxyTraffic Flow
Internet → SecureProxy (HTTPS:443) → Your Application (HTTP:8080)- Client Request: Browser makes HTTPS request to your domain
- SSL Termination: SecureProxy decrypts the request
- Forwarding: Request is forwarded to your application over internal network
- Response: Application response is encrypted and sent back to client
Domain Configuration
DNS Setup
Point your domain’s CNAME record to the app’s Tapitalee hostname (*.dns.tapitalee.net)
Multiple Domains
SecureProxy supports multiple domains and subdomains. Certificates are automatically requested for all domains pointing to the proxy.