Connections are how applications can communicate. There are two main ways this can be achieved:
- An external connection makes an internet round-trip, so it is much slower than internal communication. We recommend external connections if you are hosting only your database with us but not your front-end.
- An internal connection stays within our network and is thus much faster and more secure. We recommend this method if you host both your front-end and your database with Kinsta.
For applications, external connections can be made through the web server as you would expect. For databases, we provide external connection details.
In the future, external connections will be switched off by default for databases, and we will recommend keeping them off when not in use for security reasons.
Internal connections use our internal infrastructure for communication and are thus much faster. We recommend using them whenever possible.