Skip to main content

Usage

alto apply builds (or rebuilds) your agent using the information in your agent’s configuration YAML.
alto apply does NOT execute your code on your cloud environment. It simply builds the environment itself. To execute your code, use either alto run or alto build.
Here’s what alto apply does under the hood:
  1. Parses your project’s configuration YAML and grabs all the necessary data (e.g., the entrypoint code, the additional paths, the bootstrap actions, etc.)
  2. Securely builds the agent computing environment with all the data identified in step 1. For example, for EC2 instances, Nomad uses the SSH protocol to securely copy all project data into the virtual machine.
Important: alto apply allows you to quickly propagate any local code changes to your cloud environment. So, if you build your agent using alto apply and then make some local changes, you can use alto apply again to make sure those local changes are reflected in your environment.

Example

Here’s what the output looks like (using an EC2 agent as an example):