Kokomo

Networking

Dedicated & Static

As described in the core concepts Kokomo will provision infrastructure on demand to create the tunnel for each service you are exposing. Let's learn more about this infrastructure.


When Kokomo receives a request from a CLI agent to expose a service, it will provision on-the-fly new infrastructure that is specifically allocated for your service. This also means that if you are exposing multiple services, each one of them will be owning its own Kokomo tunnel without sharing the same infrastructure with each other.

This is quite important for both security and performance reasons, since every service has compartimentalized and segregated infrastructure and it's also what makes Kokomo quite unique.

Not only that, but Kokomo also provisions a static IP address and a DNS address for each service, as you will learn in this section.

Dedicated single-tenant

Every service you provision on Kokomo will require approximately 60 seconds to start as we are provisioning dedicated and single-tenant infrastructure for each service in your account. This means that each service (and each customer) never share the same infrastructure for any service, whether they are HTTP or TCP.

Kokomo will keep your tunnel infrastructure running even when the agent stops, and when the agent is restarted again without changing mutual TLS, IP firewalling and port mapping configurations, Kokomo will re-use the existing configuration immediately without triggering a re-provisioning and therefore without having to wait.

But if one of those configuration parameters changes, this will force an automatic rebuild of the environment which may take antoher 60 seconds to complete.

Static IP address and DNS

As part of the provisioning process, Kokomo will allocate a static IP address to your tunnel specific for each service. Different services exposed via Kokomo have different static IP addresses.

The IP address will only change during a rebuild of the infrastructure, but if the infrastructure doesn't change, it will be the same forever. This means that you can point DNS A records to the static IP address to customize the domains in an unlimited way.

Kokomo will also provision a *.connect.getkokomo.io DNS address - like abc.connect.getkokomo.io - that points the static IP address, which you can also use in CNAME DNS records. Likewise with the IP address, the DNS address will not change unless the service name is also been updated.

Unlimited custom domains

You can create unlimited DNS custom addresses that point to either the Kokomo static IP by using A records, or that point to the DNS by using CNAME records.

Rebuilding or deleting a service

Deleting a service on Kokomo will deprovision the infrastructure (and the tunnel), which will be unreachable from the moment it's been deleted.

Restarting or rebuiling the Kokomo tunnel will deleting the old infrastructure, and rebuild a brand new one.

Previous
API keys