Depending of your needs and the criticality of your web applications, Artifakt offers two types of platform: Starter and Scalable.
Starter platforms are best suited for development environments, simple websites or small web projects. They are made up of 1 instance hosting your web application including all the additional services such as MySQL, Redis, etc.
Scalable platforms are the go-to standard for the most critical apps (global availability, requiring high resiliency and efficient scalability). They are made up of at least 2 instances allowing resiliency in case of an outage (failover mechanism) for web applications and additional services.
Additional services are run on separated and dedicated instances that are also resilient (at least 2 nodes).
Using Scalable platforms, you will be able to manually scale horizontally and vertically, while avoiding downtime. You will also be able to define rules to automatically scale horizontally, based on memory or CPU usage.
Go to Environment → Settings → Resources to manage the sizing of your platforms resources. From this page, you can easily define application resources, additional services, server limits (scalable type only) or auto scaling configuration.
This section allows you to scale up or down memory (RAM) and storage, based on your web application's needs. If you experience slowness or timeouts, consider increasing the memory.
This section allows you to configure sizing of your additional services such as persistent disk, MySQL, etc. More details about additional services here.
This section lets you configure the number of servers that will support your platform. Depending on the platform type, you will be able to configure the minimum and the maximum number of servers.
Please find below some information about server limits.
Minimum number of servers
Maximum number of servers
From 1 to 10
From 1 to 10
From 2 to 10
From 2 to 10
This feature allows you to define rules (RAM or CPU usage thresholds) that will be used to respond to traffic drops or peaks according to your needs.
For example, for traffic peaks, you can set the CPU usage threshold to 70% for 5 minutes. It means that if the average CPU usage of all servers is above 70% for more than 5 minutes, a new server will be automatically started to process new web requests (if the maximum number of servers defined has not already been reached).
At any time, you can change the platform sizing and configuration. If the environment is
Offline, the settings will be saved in Artifakt, in order to be used the next time you start the environment. If the environment is
Online, Artifakt will trigger a new version to be approved and will keep an history of all the previous versions.
After saving platform settings, a message will display at the top of the page to notify you that changes need to be applied. You can also see when and by whom these changes have been made.
By clicking on the link Uncommitted changes need to be reviewed, you can review all changes made on the platform. After reviewing, if the changes are satisfactory you can approve them; otherwise if you realize the changes are incorrect you can reject them which will cancel the platform update.
To help you understand the process, here is how the update of any platform works at Artifakt:
Each time you update the settings of a platform and approve the changes, we increment the version of that platform by one. For example, at some point, your environment will use version 12 of your platform (because you've changed it 12 times).
We have added a platform version history page accessible from Environment → Settings → Platform → Platform History. It helps you keep track of configuration changes made on your platform and know exactly what has been changed, when and by whom.