cloudflare-tunnel-ec2-deployment

Deploys Dockerized apps on EC2 with Cloudflare Tunnel for automatic HTTPS.

4|1|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/stakpak/community-paks --skill cloudflare-tunnel-ec2-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-tunnel-ec2-deployment
Source: https://github.com/stakpak/community-paks/tree/main/cloudflare-tunnel-ec2-deployment
Command: npx skills add https://github.com/stakpak/community-paks --skill cloudflare-tunnel-ec2-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploy containerized applications on EC2 without managing public inbound ports or SSL infrastructure, while providing a secure public endpoint via Cloudflare Tunnel.

Core Features & Use Cases

  • Public exposure of EC2-hosted apps via Cloudflare Tunnel with automatic HTTPS
  • Secure, port-agnostic deployment without opening inbound ports
  • End-to-end guidance from VPC provisioning to DNS configuration for reliable internet exposure

Quick Start

Launch an EC2 instance, install Docker, deploy your app, and configure Cloudflare Tunnel to expose it publicly with HTTPS.

Frequently Asked Questions about cloudflare-tunnel-ec2-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I expose an EC2 hosted app publicly without opening inbound ports?

You can expose an EC2 hosted app without inbound ports by deploying containerized applications and routing traffic outbound through Cloudflare Tunnel. This approach uses token-based configuration to establish the connection, automatically providing public HTTPS access without managing firewalls.

What is the best way to get automatic HTTPS for a Docker application on EC2?

The best way to get automatic HTTPS for a Docker application on EC2 is configuring a Cloudflare Tunnel. By connecting your containerized workloads via an outbound tunnel, you secure public internet exposure without provisioning separate SSL certificates or load balancers.

Do I need to configure VPC settings before deploying containers with Cloudflare Tunnel?

Yes, you need to configure VPC settings before deploying containers with Cloudflare Tunnel. The deployment process covers end-to-end provisioning from VPC setup to DNS configuration, ensuring a reliable network foundation for your secure, publicly accessible services.

Can I manage Docker workloads on EC2 using SSH while using a tunnel?

Yes, you can manage Docker workloads on EC2 using SSH while using a tunnel. The deployment configuration explicitly supports SSH-enabled management of Docker-based workloads, allowing you to securely maintain and update your containerized applications alongside the outbound tunnel connection.

Why use Cloudflare Tunnel instead of opening public ports for EC2 deployment?

You should use Cloudflare Tunnel instead of opening public ports to achieve secure, port-agnostic deployment. This method eliminates the need for inbound firewall rules and separate SSL infrastructure, providing a safe public endpoint through outbound tunneling and automatic DNS configuration.