Crate commonware_deployer

Source
Expand description

Deploy infrastructure across cloud providers.

commonware-deployer automates the deployment of infrastructure across different cloud providers, closing the gap between a local demo and remote deployment. commonware-deployer is both available as a CLI tool for standard operation and as a library for custom workflows.

§CLI Installation

§Local

cargo install --path . --force

§Crates.io

cargo install commonware-deployer

§CLI Commands

While the crate is named commonware-deployer, the CLI is named deployer.

§ec2

Deploy a custom binary (and configuration) to any number of EC2 instances across multiple regions. Collect metrics and logs from all instances via a private network.

§create

Deploy EC2 instances across multiple regions from a YAML configuration file.

§update

Update binaries (and configurations) in-place on all instances.

§refresh

Add the deployer’s current IP to all security groups (if not already present).

§destroy

Destroy all resources associated with a given deployment.

Modules§

ec2
AWS EC2 deployer