Skip to content

codehikes/awan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Awan

Monitor and manage cloud budget, resources, and organize cloud by tagging.

Authentication

// AWS
Awan::provider('aws')->withCredentials('key', 'secret'); 

// GCP
Awan::provider('gcp')->withCredentials('project_id', 'secret_path');
Awan::actual();

Budget

Awan::budget();
Awan::forecast();
Awan::setBudget('2000');
Awan::setCurrency('$');

Connect to specific provider

Awan::provider('aws')->cost('forecast');
Awan::provider('aws')->cost('actual');

Awan::provider('aws')->setBudget(1000);
Awan::provider('aws')->setCurrency('IDR');
Awan::provider('aws')->setCurrencyConversion(14500);

Awan::provider('aws')->cost('budget');

Awan::providers();
Awan::sync();

Resources

Awan::provider('gcp')->resources('vm')->list();
Awan::provider('aws')->resources('vm')->search();

Tag

Awan::provider('gcp')->resources('vm')->project('cost')->list();
Awan::provider('gcp')->resources('vm')->environment('production')->list();
Awan::provider('gcp')->resources('vm')->service('cost')->list();
Awan::provider('gcp')->resources('vm')->team('cost')->list();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages