Easier (database) endpoints
We’re making changes to the way we manage domains for you. File this one under www.awesome.com (keyword: “just for you”).
First, we simplified endpoint formats. Endpoints, for MySQL, are the hostnames to which you connect your application. The database endpoint is usually the most important. Here are a few examples of the new format.
- int.master.mysql.farm-hash.scalr-dns.net
- int.slave.redis.farm-hash.scalr-dns.net
- ext.master.postgresql.farm-hash.scalr-dns.net
- ext.server-index.farm-role-id.farm-hash.scalr-dns.net
The format breaks down like so:
- int|ext determines if the associated ip address is externally available (to the public internet) or not
- master|slave determines whether the endpoint links to either the single master server or one of the many slave servers. If you leave it out, the endpoint will be both.
- mysql|redis|postgresql [optional] determines the role if a database
- farm-role-id [optional] determines the role if not one of the above
- server-index [optional] points to the server’s index in the farm. For example [3] for the 4th instance launched of that role, in that farm.
- farm-hash determines the farm
- and scalr-dns.net is our new domain to handle / offer this service.
We also changed the average TTL, or time-to-live. This is the amount of time a computer caches DNS records before requesting them again. We noticed that TTLs of 90 seconds were often a little too long (many of our users reduce them to 60 seconds or even 30 seconds). Therefore, we reduced the average TTL to 20 seconds.
We’re also able to update records faster. Instead of waiting for our scheduled job to run (which it does every minute), the records under this new system are updated as soon as your infrastructure changes. This removes the lag during which the endpoints point to the wrong address.
To start using the new system, you can find the endpoints by clicking on Extended information under Options for any farm.

You can find more information about a server or farm here
You’ll find something like:

Connect your app to your db with these endpoints
We hope you enjoy!