Yriser is an Open Source FinOps tool to perform AWS tagging best practices, tagging strategy, continuous adjustments in cloud optimization.
Yriser will help you answer these questions:
- How are tags enforced and what methods and automation will be used (proactive vs reactive)?
- How are tagging effectiveness and goals measured?
- How often should the tagging strategy be reviewed?
- Who drives improvements? How is this done?
The full documentation can be found at https://yris-ops.github.io/yriser/
Yriser has been written in Shell using the jq
, bc
and AWS CLI.
Once Yriser repository is cloned, get into the folder and you can run it:
Commands:
cd yriser
Edit the configuration file
vi config.txt
Below ## TAG KEY
and between ## TAG VALUE
place your tag keys.
Below ## TAG VALUE
and between ## END
place your tag values.
Once Yriser repository is cloned, get into the folder and you can run it:
./yriser.sh
You can run Yriser from your workstation, an EC2 instance, ECS Fargate or any other container, Codebuild, CloudShell, Cloud9 and many more.
./yriser.sh
Running the
yriser.sh
script whitout options will use your environment variable credentials.
By default, Yriser will generate a CSV, HTM and JSON reports.
The HTML report will be located in the output directory as the other files and it will look like:
You can always use -h to access to the usage information and all the possible options:
./yriser.sh -h
More details at https://yris-ops.github.io/yriser/
Requirements:
- Have
docker
installed: https://docs.docker.com/get-docker/. - AWS credentials.
- In the command below, change
-v
to your local directory path in order to access the reports. - Before launching the Docker Image, create your
config.txt
local file.
Commands:
docker run -it \
--name yriser \
--env AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
--env AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
--env AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN \
-v /your/local/dir/config.txt:/home/yriser/config.txt \
czantoine/yriser:latest
Use this command to copy reports locally:
docker cp yriser:/home/yriser/output /path/output
You can always use -a to access to the usage information and all the possible options:
./yriser.sh -a
Use a custom AWS profile with -p and/or AWS regions which you want to audit with -r:
./yriser.sh -p <aws_profile> -r "us-east-1 eu-west-1"
By default, Yriser will scan all AWS regions.
See CONTRIBUTING for more information.
Yriser is licensed as Apache License 2.0 as specified in each file. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0