Skip to main content

 

 

 

 

Template:OutSystems/Documentation_KB/Breadcrumb_New_Layout

 

 

Template:OutSystems/OSLanguageSwitcher

 

 

 

OutSystems

Scaling Container-deployed Applications

Template:OutSystems/Documentation_KB/ContentCollaboration
  • Edit
    Collaborate with us
    Edit this page on GitHub
  • Container deployment is available as an Early Access Program.

    To be able to scale OutSystems container-based applications you should follow the application architecture recommendations while developing and maintaining them.

    In the sections below we present some general guidelines on how to scale OutSystems container-bound applications according to your hosting technology.

    Docker Containers

    Scale using Docker Swarm

    In Docker Swarm you create a service for your application and then scale the created service. Follow these general steps:

    1. Create and configure a swarm, adding and configuring as many nodes as needed, creating a swarm cluster;
    2. Create a containers deployment zone using the address of the swarm cluster manager;
    3. Associate the application to this deployment zone;
    4. Publish the application, so that you can generate the container image;
    5. Deploy the application as a service in the swarm cluster, specifying the required scalability parameters;
    6. Configure the reverse-proxy for the swarm cluster to map the application URL to the application service in the swarm;
    7. Finish the deployment.

    Check the Docker Swarm documentation for more information.

    Scale using Kubernetes

    Scaling in Kubernetes is done by specifying or changing the number of replicas in a deployment.

    Follow these guidelines to use Kubernetes with OutSystems:

    1. Create and configure a cluster, adding and configuring as many nodes as needed;
    2. Create a containers deployment zone using the public address of the cluster;
    3. Associate the application to this deployment zone;
    4. Publish the application, so that you can generate the container image;
    5. Deploy the application into the cluster, specifying the number of replicas;
    6. Create a load balancer service for the application that you want to expose;
    7. Create an ingress service for the application that you want to expose to map the application URL to the application service;
    8. Finish the deployment.

    We recommend you to check the official Kubernetes documentation for detailed instructions on using Kubernetes with a cluster.

    Pivotal Cloud Foundry

    Use the features provided by PCF to scale your application. Follow the instructions provided by Pivotal to scale applications manually or automatically (based on a set of rules or a schedule).

    • Was this article helpful?