flemzord / komiser

:cloud: Cloud Environment Inspector ๐Ÿ‘ฎ:lock: :moneybag:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Komiser is back ๐ŸŽ‰ and rework all of this project !

Amp Logo

Highlights

  • Analyze and manage cloud cost, usage, security, and governance in one place.
  • Control your usage and create visibility across all used services to achieve maximum cost-effectiveness.
  • Detect potential vulnerabilities that could put your cloud environment at risk.
  • Get a deep understanding of how you spend on the AWS, GCP, OVH, DigitalOcean and Azure.

Homebrew

brew install flemzord/tap/komiser

Docker:

docker run -d -p 3000:3000 -e AWS_ACCESS_KEY_ID="" -e AWS_SECRET_ACCESS_KEY="" -e AWS_DEFAULT_REGION="" --name komiser ghcr.io/flemzord/komiser:latest

How to use

AWS

  • Create an IAM user with the following IAM policy:
wget https://raw.githubusercontent.com/flemzord/komiser/main/policy.json
  • Add your Access Key ID and Secret Access Key to ~/.aws/credentials using this format
[default]
aws_access_key_id = <access key id>
aws_secret_access_key = <secret access key>
region = <AWS region>
  • That should be it. Try out the following from your command prompt to start the server:
komiser start --port 3000

You can also use Redis as a caching server:

komiser start --port 3000 --redis localhost:6379 --duration 30

Multiple AWS Accounts Support

Komiser support multiple AWS accounts through named profiles that are stored in the config and credentials files. You can configure additional profiles by using aws configure with the --profile option, or by adding entries to the config and credentials files.

The following example shows a credentials file with 3 profiles (production, staging & sandbox accounts):

[Production]
aws_access_key_id=<AWS_ACCESS_KEY_ID>
aws_secret_access_key=<AWS_SECRET_ACCESS_KEY>

[Staging]
aws_access_key_id=<AWS_ACCESS_KEY_ID>
aws_secret_access_key=<AWS_SECRET_ACCESS_KEY>

[Sandbox]
aws_access_key_id=<AWS_ACCESS_KEY_ID>
aws_secret_access_key=<AWS_SECRET_ACCESS_KEY>

To enable multiple AWS accounts feature, add the --multiple option to Komiser:

komiser start --port 3000 --redis localhost:6379 --duration 30 --multiple

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

FOSSA Status

About

:cloud: Cloud Environment Inspector ๐Ÿ‘ฎ:lock: :moneybag:


Languages

Language:Vue 52.8%Language:Go 36.0%Language:JavaScript 10.1%Language:Dockerfile 1.0%