(e.g., databases, custom services, or non-HTTP protocols).
When to Use
- Running PostgreSQL, MySQL, or other TCP-based services.
- Exposing internal tools that don’t use HTTP.
- Secure external access to non-web workloads.
Configuration
- Go to Deploy-tab → Add database.
- Enable TCP Proxy.
- Select the port(s) you want exposed.
- A public TCP endpoint will be provisioned.
Example: PostgreSQL
Result:
Public TCP URL → mysql://USERNAME:PASSWORD@mysql-9myyqbqq9e.tcp-proxy-2212.dcdeploy.cloud:30298/mysql-dbSecurity Notes
- Always require authentication (databases, SSH).
- Restrict IP access using firewall rules if possible.
- Use TLS where supported.
