While working with your project, you can face the need to upgrade or modify it. And, of course, before applying the changes on production, they should be tested. With Jelastic, this can be easily accomplished by means of swapping domains among intermediate and production project veriosns.
With this functionality, end-users of your application won't experience any downtime when you, for example, deploy a new application version. You can stage your new application version in a test environment and consequently swap URLs with a production environment just in a few clicks.
- If you want to use the Swapping domains feature, do not enable Public IP for any node in your environments
- In case of the necessity to attach external IP address to the entry point of your environmnet (i.e. app server or balancer) after the swapping is already done, you'll need to additionally state the proper CNAME record for it within the domains administration panel; otherwise, the requests will be sent to the "old" environment
So, let's see how this actually works.