Altostra Docs

›CLI

Getting Started

  • Welcome to Altostra
  • Connect your accounts
  • Install the developer tools
  • Log in from the CLI

Tutorials

  • Create a Static Website
  • Create a Scalable Webhook
  • Create a Simple API Project
  • CI/CD with Altostra CLI and Github Actions
  • Deploying a Project to Multiple Environments

How To

    Working with projects

    • Create a new project
    • Deploy a project
    • Manage a project

    Working with environments

    • Manage an environment
    • Configure stacks expiration for an environment

    Working with the Editor

    • Quick Start
    • Grant access to vendor services
    • Use the Parameter Store
    • Use a custom CloudFormation resource
    • Attach a custom policy to a Function
    • Connect a Function to VPC
    • Add filter policy to SNS subscription

    Organization account settings

    • Set General Settings
    • Connect a Git account
    • Connect Cloud Accounts
    • Manage log aggregation accounts

CLI

  • Altostra CLI
  • Commands

    • account
    • activity-log
    • api-key
    • build
    • config
    • console
    • deploy
    • docs
    • endpoints
    • environments
    • import
    • init
    • invalidate
    • login
    • logout
    • new
    • projects
    • push
    • deploy-cfn
    • deploy-sam
    • deploy-sls
    • stacks
    • sync
    • tasks
    • templates
    • versions
    • whoami

    Options

    • --debug
    • --verbose
    • Scripting options
  • Configuration files

Errors And Solutions

  • Autnentication Required
  • Import Project Troubleshooting
  • Stack Deletion

Technical Reference

  • Environments
  • Stacks
  • Projects
  • Project Versions Repository
  • Log Shipping
  • Deployment Modes
  • Altostra Cloud Integration

Integrations

    CI/CD

    • CircleCI

    Git

    • Git integration
    • Connect a GitHub account
    • Connect a Bitbucket account

    Messaging

    • Connect a Slack workspace

    Security

    • Connect an Auth0 tenant

Altostra CLI

Manage and deploy Altostra projects from your terminal.

Installation

It is assumed that you have Node.js and npm installed.

$ npm install -g @altostra/cli

Using

To run Altostra commands:

$ alto <command> [flags] [arguments]

Commands

CommandAliasesDescription
alto accountaccounts, team, teamsSwitch between personal and team accounts
alto activity-logList recently completed tasks
alto api-keyManage API keys
alto buildcompileBuild the project to an AWS SAM template and save to sam-template.json
alto configManage local Altostra configuration
alto consoleOpen the Altostra Web Console for the this project
alto deployDeploy an Altostra project
alto deploy-samDeploy an AWS SAM managed project
alto deploy-slsDeploy a Serverless Framework managed project
alto deploy-cfnDeploy an AWS CloudFormation managed project
alto docsOpen the Altostra documentation
alto endpointsdomains, get-domainsList the available domains for supported resources in a deployed Stack
alto environmentsenvironment, env, envsManage Altostra environments
alto importImport a project from a Git repository
alto initInitialize an Altostra project in the current directory
alto invalidateClear CDN caches
alto localexecute, execRun resources locally
alto loginLog in to your Altostra account
alto logoutLog out of your Altostra account
alto newInitialize an Altostra project in a new directory
alto projectsprojectManage Altostra projects
alto pushPush a new version of the project to your Altostra repository
alto stacksstack, instances, instance, deployments, deploymentManage project stacks
alto syncUploads files to buckets
alto tasksList currently running tasks
alto templatesget-templates, list-templatesList all available project templates
alto versionsversion, images, imageList the available published versions for the project
alto whoamiShows logged-in user

Options

OptionAliasDescription
--debugLogs debug data to your temp dir
--helpShow help for a command
--verbose-vShow detailed information for commands to the terminal
--versionShow the currently installed Altostra CLI version
--textOutput results as plain text without decoration for piping to other commands
--jsonOutput results as JSON for piping to other commands
← Manage log aggregation accountsaccount →
  • Installation
  • Using
  • Commands
  • Options

Ready to Get Started?

Get Started for Free
© 2022 Altostra, Inc.