Crates.io | oct-cloud |
lib.rs | oct-cloud |
version | 0.4.1 |
created_at | 2025-08-22 05:21:12.597221+00 |
updated_at | 2025-08-22 05:21:12.597221+00 |
description | opencloudtool (oct) |
homepage | https://opencloudtool.com |
repository | https://github.com/opencloudtool/opencloudtool |
max_upload_size | |
id | 1805928 |
size | 306,777 |
A tool to hide the complexity of the cloud.
oct-cli
curl -LsSf https://repo.opencloudtool.com/install.sh | sh
or
wget -qO- https://repo.opencloudtool.com/install.sh | sh
Basic login (docs):
aws configure
Using AWS SSO (docs):
aws configure sso
Each version of OpenCloudTool has a mini-project to prove the design and implementation.
pre-commit install
cargo build
cd dir/with/oct.toml
cargo run -p oct-cli deploy
cargo run -p oct-cli destroy
cargo run -p oct-cli --help
cargo run -p oct-cli command --help
For example:
cargo run -p oct-cli deploy --help
[WIP] Main principles:
mocks
module...main code...
pub mod mocks {
...mocks...
}
#[cfg(test)]
mod tests {
...tests...
}
mocks
module...other imports...
#[cfg(test)]
use module::mocks::MockModule as Module;
#[cfg(not(test))]
use module::Module;
...main code...
When importing modules, the following order should be used:
use std::fs;
use serde::{Deserialize, Serialize};
use crate::aws::types::InstanceType;
Removes unused dependencies
cargo install cargo-machete
cargo machete
Removes unused features
cargo install cargo-features-manager
cargo features prune
Produces HTML file with building time report.
Can be found in target/cargo-timings.html
cargo build -p PACKAGE_NAME --release --timings
This section compares the cost of running a set of services in a cloud with different approaches which do not require the end user to manage underlying infrastructure (serverless).
Note that OpenCloudTool is a free to use open-source tool and there is no charge for using it.
Main components:
Total: $92 per month
Total: $25.5 per month