In this article you can find the instructions for some additional configurations you might want to apply to OutSystems on Microsoft Azure.
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.
Add a Certificate Issued by a Certificate Authority to the Application Gateway of the Environment
SSL certificates enable secure connections between the web server and the web browser through HTTPS protocol. 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.
SSL offloading is active by default on every environment. All access, both http and https, to the environments are made through the Application Gateway IP/DNS Address.
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.
Note that you can set up end-to-end encryption for traffic in Microsoft Azure, as described here.
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.