Once you have installed an application on one of your deployments, you can communicate with it through an endpoint. To get an overview of all the endpoints of your application, you should navigate to the endpoints page via the side navigation on the application page.
This page, as shown in the screenshot below, contains one or more endpoints which have one of the following types:
To create a new endpoint, hover the button in the right upper corner of the endpoints table and click Create endpoint. Then, a form will appear similar to the one in the screenshot below.
In the first step of this form, you need to specify which port of which container you like to expose using the endpoint.
In some cases, Smoothy figures out by itself which container and which port it needs to expose. In these cases, you should not alter the prepopulated fields.
In the next step you can decide what type of endpoint you like to create. There are three options:
Suitable for Exposing applications that communicate over TCP, for example, databases.
Not suitable for Exposing web applications that communicate over HTTPS, since the endpoint does not use the HTTPS protocol.
Smoothy automatically alters the firewall of your deployment to allow all connections on the opened port. However, if you only want to allow certain IP addresses to connect to the endpoint you should manually adapt the firewall rules to your needs.
Suitable for Exposing web applications that communicate over HTTPS in development.
Not suitable for Exposing web applications that communicate over HTTPS in production.
Suitable for Exposing web applications that communicate over HTTPS in production.
Not suitable for Exposing web applications that communicate over HTTPS in development, since the number of time Smoothy can generate a free TLS certificate for a certain domain is limited. If you repeatedly create and delete your application, as is often the case in development, you may quickly reach your monthly limit.
If you point one of your domains to your application, make sure to add the required DNS record that points your specified (sub)domain to the IP address of your deployment.
Smoothy can periodically check the health of your endpoint by sending an HTTP GET request to it and verifying that the application returns a successful response. If no successful response is returned within 5 seconds, something may be wrong with your application and you receive a notification.
If you want to enable the HTTP health check for your endpoint, you can specify this in the last step of the creation process or during the update process.
A passionate cloud engineer who helps software companies adopt modern cloud technologies through an intelligent all-in-one cloud platform called Smoothy.
Learn how to get started with Smoothy, how all the resources work together, and how you can build, run and scale your applications in the cloud.
Learn how you can design your applications to maximally benefit from the elasticity and scalability from the cloud.