In this article you can find the instructions for some additional configurations you might want to apply to OutSystems on Microsoft Azure:
- Enable remote desktop for a virtual machine.
- Install SSL certificates on your OutSystems servers.
- Scale your environments using Azure Scale Sets.
Check OutSystems Documentation and Support Center for further information.
Enable Remote Desktop for a Virtual Machine
After the deployment of OutSystems on Microsoft Azure, the remote desktop access to OutSystems virtual machines is disabled.
If you need to enable the remote desktop access to a virtual machine in your OutSystems infrastructure, do the following:
- Go to the details page of the virtual machine for which you want to enable the remote desktop access.
- On the menu to the left, choose Networking.
- On the pane to the right, you’ll see two network security groups with inbound port rules: the first one is attached to the subnet where the virtual machine is present, the second one is attached to the network interface. You need to add one rule for both groups. Click the Add inbound port rule button next to the subnet security group.
- Add an inbound security rule for the RDP service. If the "Advanced" view is selected, choose the “Basic” view using the “Basic/Advanced” toggle button.
- Do the same for the network interface security group.
You can now access the virtual machine through a remote desktop connection using its public IP address.
Install SSL Certificates on Your OutSystems Servers
SSL certificates allow secure connections between the web server and the web browser through HTTPS protocol.
Generating OutSystems mobile apps requires HTTPS access.
To install an SSL Certificate in your OutSystems server on Azure, you must follow these steps:
- Install the SSL Certificates on the OutSystems platform server.
- Whitelist the certificate in the Application Gateway of the environment.
- Add a certificate issued by a Certificate Authority to the Application Gateway of the environment.
Install the SSL Certificate on the OutSystems platform server
Install the SSL Certificate on your OutSystems platform server as described in this document.
Whitelist the Certificate in the Application Gateway of the Environment
Following Microsoft requirements, an application gateway only communicates with known backend instances that have whitelisted their certificate with the application gateway.
To whitelist the SSL certificate with the application gateway of your environment, do the following:
- Go to the details of the application gateway created for the environment and choose Rules from the menu to the left.
- Select the rule httpsrule.
- Choose the HTTP setting.
- Remove the existing self-signed certificate.
- And add a new one.
- Add your certificate in .cer format and name it according to your preference.
The certificate is now whitelisted according to Microsoft requirements.
Add a Certificate Issued by a Certificate Authority to the Application Gateway of the Environment
If you wish to build mobile applications with OutSystems, you will need a certificate from a public trusted authority to place on your application gateway.
To add the trusted certificate to the application gateway of the environment, do the following:
- Go to the details of the application gateway that was created for the environment and choose Listeners from the menu to the left.
- Select the appGatewayHttpsListener.
- Add a new certificate by uploading the .pfx file and providing its password. Name it according to your preference.
Scale Your Environments Using Azure Scale Sets
Your OutSystems environments are ready for horizontal scaling using Azure virtual machine scale sets. This is achieved scaling the number of front-ends of the environment with no need to manually install and register new servers into your infrastructure. To proceed with this operation, make sure your OutSystems license allows for multiple front-ends.
To scale the number of front-ends of an OutSystems environment on Microsoft Azure, do the following:
- Go to your OutSystems resource group and list only the “Virtual machine scale sets” resources.
- Select the virtual machine scale set corresponding to the environment you want to scale.
- Choose Scaling from the menu to the left.
- Drag the slide or input the number of servers you want to add to your environment and click Save.
Choosing Instances from the menu to the left, you can see the progress of the deployment.
When the deployment finishes, you will see in the Service Center console for your environment that the new front-end servers are already running.
If you install SSL certificates on the new servers, you need to whitelist the certificate in the application gateway of the environment. Alternatively, consider configuring your environment to use SSL Offloading.