For Scalr to function properly in your environment, the following requirements must be met:
Allow communication between the Scalarizr Agent and the Scalr Server
Note that Scalr automatically configures the Servers it launches in your behalf so that they have a proper firewall configuration:
- Scalr configures your Cloud's firewall (e.g. Security Groups on Amazon EC2)
- Scalr configures your Server's firewall (e.g. iptables on Linux)
In order to manage your Servers, Scalr communicates with a local agent ("Scalarizr"), which is installed on your instance.
To do so, Scalr requires a certain specific network configuration, which is detailed below.
The IP Scalr uses to communicate with your instances is controlled by the
instances_connection_policy configuration setting.
View Advanced Configuration for more details.
Scalr does not require SSH (port 22) access to your instances.
This list does not include "service" ports for the software that may be installed and running on your Scalr-managed instances. For example, if you are deploying a web server, you'll probably want to open port 80.
|Port||Protocol||Direction||Usage||Roles using this rule||Notes|
|80||TCP||Cloud Instance > Scalr Server||Scalarizr Agent|
Requests may access the following HTTP paths:
|443||TCP||Cloud Instance > Scalr Server||Scalarizr Agent||All|
|8008||TCP||Scalr Host > Cloud Instance||Scalarizr Agent (update service)||All|
|8009||TCP||Scalr Host > Cloud Instance||Reserved, not used at this time||All|
|8010||TCP||Scalr Host > Cloud Instance||Scalarizr Agent (API)||All||May be changed on a Farm Role basis in the Farm Designer's Advanced Tab - General|
|8011||TCP||Scalr Host > Cloud Instance||Reserved, not used at this time||All|
|8012||TCP||Scalr Host > Cloud Instance||Reserved, not used at this time||All|
|8013||TCP||Scalr Host > Cloud Instance||Scalarizr Agent (control)||All||May be changed on a Farm Role basis in the Farm Designer's Advanced Tab - General|
|8014||UDP||Scalr Host > Cloud Instance||Scalarizr Agent (Scalr < 4.5, SNMP)||All|
|3306||TCP||Scalr Host > Cloud Instance|
MySQL Status page, PHPMyAdmin
|MySQL Roles only|
Allow communication between the Scalr Server and Cloud APIs, and between the Scalarizr Agent and Cloud APIs
The Scalr agent that is installed on your Servers needs access to the APIs of the Cloud Platform the Server was launched in.
Your Scalr Server needs to have access to all the cloud APIs that you plan to provision instances in.
Addendum: Hosted Scalr IPs
This only applies to Hosted Scalr, not to Enterprise or Open Source Scalr.
If you are using Open Source or Enterprise Scalr, contact your installation owner for the IPs of your Scalr server(s).
If you are using Hosted Scalr, Scalr may communicate with your instances and Cloud APIs from the following networks
- 188.8.131.52/32 (only needed on MySQL Role for PHPMyAdmin)