Quickstart
Install and create your first Alto project
Installation
Alto requires Python 3.8 and above. It can be installed via pip
:
Creating your first project
Alto has a powerful CLI that allows users to instantiate, modify, and execute their
projects. To initialize your first project, use alto init
:
This command builds an Alto configuration file in your current directory. Configuration files are simple YAML files, so don’t worry about having to learn a new domain-specific language.
Running your first project
To run your project on your cloud environment, use the alto build
command. Under the
hood, this command:
- Builds the cloud environment according to instructions contained in the configuration file, and
- Executes your project on the cloud.
Here’s what the build command does when the user wants to run their code on an EC2 instance:
Alternatively, you could use the alto apply command to first build the cloud environment and then use alto run to actually run the code.
A full description of the CLI commands can be found here.