Cloud Execution
Cloud execution allows you to run test cases and test suites on remote infrastructure instead of your local machine. WalnutAI connects to the configured compute environment, provisions the required resources, and executes the tests remotely.
Before running tests in the cloud, configure a virtual machine from the Admin settings.
Steps to configure a virtual machine
Navigate to Admin settings.

Select Compute configuration.

Click Add Machine.

Choose the compute type. WalnutAI supports the following compute providers:
VM (SSH + Docker)
Kubernetes (K8s Jobs)
LambdaTest (Mobile Cloud)
Enter the required connection details.
Compute configuration: Provide a name for the machine that will be displayed while selecting the execution environment.
Name
Name of the compute machine
Production Server
Type
Compute provider
VM
Configure the SSH connection: Enter the SSH credentials required to connect to the virtual machine.
Host / IP
Public or private IP address of the machine
Port
SSH port number
Username
SSH username
Auth type
Authentication method
Password
SSH password
Example:
Configure agent settings: Agent settings control how WalnutAI provisions and executes tests on the machine.
Workspace directory: The workspace directory defines the location where repositories are cloned during execution.
Max concurrent agents: Specifies the maximum number of WalnutAI agents that can run simultaneously on the machine.
Idle timeout: Defines the duration, in minutes, after which inactive sessions are terminated automatically.
Max concurrent test cases: This setting enables cloud execution for the machine.
Set the value above
0to enable the VM as a cloud runner.WalnutAI automatically detects the machine capacity during provisioning.
The recommended concurrency limit is populated automatically.
You can modify the value up to the detected limit.
Setting the value to
0disables cloud execution.
Configure project access:
Configure project access settings to control which projects can use a particular machine.
Enable All Projects to make the machine available across all projects, or select specific projects to restrict access. If no projects are selected, WalnutAI automatically grants access to all projects by default.
Set a default machine
Enable Set as default machine to automatically use the configured VM during cloud execution.
Execute test cases in the cloud
After the virtual machine has been configured, you can execute test cases in the cloud.
Open the required project.
Navigate to the test case or test suite.
Click Execute.
Select Cloud execution.

Choose the configured virtual machine.

Start the execution.
WalnutAI provisions the selected machine and executes the test remotely.
Last updated

