Cuemby Cloud Platform lets you create an Application. An Application in Cuemby Cloud Platform is a template that contains the code repo and scaling strategies and can be replicated in multiple Environments and as Runtimes. For more information, please check out Documentation.
To create an Application in the platform, go to the upper left menu, select Pipelines and click on the tab “Applications.”
You may see an empty page if you have not created any Applications yet. Click on “Create.”
You will need to name the Application you are going to create. You can use lowercase letters, numbers and dash but no spaces and special characters are allowed. Then, select the name of the integration. The integration is a name of the connection you established previously with the Git repository provider. It can be GitHub, GitLab or Bitbucket. Remember, you can only select from the integration you created under the particular Organization or personal account.
Next, choose the traffic type of the Application. If your Application is open to the public and interacts with traffic that is outside your project, please select External. If your Application is to service other Applications in the same Project internally, you can select internal.
It is important to note that when you create a Runtime, the platform automatically generates aCloudFlare Origin Certificate Authority (Origin CA). By selecting the option “External,” Cuemby Cloud Platform provides more robust security to your infrastructure. Ingress certificates are automatically renewed, eliminating the need for manual updates and the worry of missing expiration.
By selecting the option “Internal,” Cuemby Cloud Platform generates an endpoint to consume at the cluster level, which is identified through a DNS.
In the 2nd step of creating an Application, you can add Environment variables for your Application. If you have sensitive information such as TOKEN, you are able to encrypt the information by clicking on the Encrypt lock icon. Click on “Next.”
The last step requires you to define the scaling strategies. Let’s select an instant type. You can select from Extra small, small, medium. Large or Extra Large. They are types of an instance where your Application will be running. The types are:
Extra small – CPU 100m, RAM 128Mi
Small – CPU 200m, Ram 256Mi
Medium – CPU 600m, RAM 384Mi
Large – CPU 300m, RAM 768Mi
Extra Large – CPU 1000m, RM 1024Mi
The rest of the fields are pre-filled. For more information, please check out Documentation. If you are not sure, you can use the pre-defined values. However, if you are planning on running a robust Application, you may need to make changes.
Cool down period is how many seconds you want to wait before scaling down when you no longer need replicas. The default is 30 seconds.
Polling Interval is how often the platform should be checking if the application is complied with the scaling strategy. The default is 30 seconds.
Minimum Replica is the minimum number of replicas you want to run when your Application does not need to scale. The default is 1.
Lastly, Maximum Replica is the maximum number of replicas you want to run when your application needs to scale. The default is 2.
After defining the scaling strategies, click on “Create.”
Now you have successfully created a new Application!