TrackIt – Cloud Consulting & S/W Development
  • Home
  • Solutions
    • M&EMedia & Entertainment
    • HPCHigh Performance Computing
    • DevOpsDevOps, AWS Cloud Consulting
    • StorageData Storage
    • S/W DevSoftware Development; Serverless, CI/CD, UI/UX, API Integration
    • AWS Programs
      • AWS Well-Architected Framework
      • Media2Cloud Video AI/ML
      • Chime SDK
      • DevOps Guru
      • API Gateway
  • Services
  • About Us
  • Resources
    • Blogs
    • White Papers
    • Case Studies
    • Press Releases
  • TrackIt App
    • Sign In

TrackIt Blogs

Read the latest cloud technology news and learn new tips and tricks to get the most out of your cloud.

  • Contact Us

Categories

Automation AWS data rooms Data Storage DevOps DevTools Monitoring Optimization Services TrackIt

Tags

ai ami API Aurora autoscaling aws AWS EC2 AWS S3 chargify Ci Cd Pipeline cloud Cloud Computing Cognito consul cost optimization Data Storage dedicated DevOps docker Dynamodb ec2 ESXi github hashicorp high availability IP json Marketing Media nomad open source packer pfSense Postgres public cloud reduce cost Serverless Solution Architect as a Service terraform trackit tutorial Video VM vmware windows

Feb. 23, 2018

—

Installing & Setting Up TrackIt Step-by-Step

TAGS : aws, cost optimization, github, open source

Contents

  • 1 Installing requirements
    • 1.1 Docker
    • 1.2 AWS CLI
  • 2 Installing TrackIt
    • 2.1 Cloning
    • 2.2 Configuring
    • 2.3 Running
    • 2.4 Using TrackIt
    • 2.5 Setting Up AWS Bills
    • 2.6 Setting Up Monitoring
At the end of this article, you will have a configured and usable TrackIt monitoring your AWS costs and generating reports to optimize your cloud on your own. TIP: Don’t want to host TrackIt? You can use it without any installation by using our infrastructure. Check our website at https://trackit.io/.


Installing requirements

Right now TrackIt supports role based permission only, so you will have to install it inside your AWS account on an EC2 instance.

Docker

TrackIt will needs Docker to work. Follow the instructions to install Docker (https://docs.docker.com/install/#supported-platforms), then Docker-Compose (https://docs.docker.com/compose/install/). After this, if you are using Linux, run this command to gain the permission to use Docker:

$> sudo usermod -a -G docker [username]

Replace username by your username obtainable with

$> whoami

If you are using Docker-for-Mac, you will have to increase the Docker memory limit to 4GB to allow ElasticSearch to run properly.

AWS CLI

TrackIt enhances the API Key handling by using AWS CLI. First, install AWS CLI by following the installation tutorial (https://docs.aws.amazon.com/cli/latest/userguide/installing.html). Then, configure your credentials (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html). The credentials should have the permissions below:

{
 "Version": "2012-10-17",
 "Statement": [
     {
       "Sid": "AssumeRole",
       "Effect": "Allow",
       "Action": "sts:AssumeRole",
       "Resource": "*"
     }
   ]
 }

Installing TrackIt

Cloning

Clone TrackIt’s repository by using

$> git clone https://github.com/trackit/trackit

And go inside

$> cd trackit

Configuring

If you run TrackIt on a remote machine, you will need to configure the host.

$> vi docker-compose.yml
 line 8: - API_URL=http://localhost:8080 # replace localhost by the public URL of your host.

To properly run our ElasticSearch database, you need to ensure your map count is high enough (https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html).

Running

Run TrackIt by using the script provided

$> ./start.sh

Did you encounter a problem? Feel free to open an issue on Github and we will be happy to help you. (https://github.com/trackit/trackit/issues).

Using TrackIt

Once you run the script, TrackIt is available on the HTTP port. For example, if you installed it on a local machine, the URL will be http://localhost/. You will meet the login page. Create an account and log in.

Setting Up AWS Bills

TrackIt uses your AWS bills to analyze your spend. Therefore, you should enable them by going to the AWS Billing service, clicking on Reports in the left side menu, and create a new report.  Choose a Report name and set the Time unit to Hourly. Don’t forget to include Resource IDs to the report as shown above. Then, click on Next. Create an S3 Bucket to store the bills and fill the field. You don’t need to set a Report path prefix. The Compression must be set to GZIP. On the next slide, you can review your settings. You should have the same as above.

Setting Up Monitoring

Next, you need to add the AWS Account you want to monitor by going to the Setup section and clicking Add. A�

1. Go to your AWS Console (https://console.aws.amazon.com/iam/home) 2. Choose Role on the left-side menu 3. Click on Create Role

4. Choose Another AWS account 5. Paste Account ID 6. Check Require external ID box 7. Paste External ID

8. Select ReadOnlyAccess policy

9. Set a name and clickA�Create role

10. In Role list, select the role you created 11. Paste Role ARN in the form

12. Set a name and click Next

13. Set the bucket you previously created (example: s3://my.bucket/prefix ; if you didn’t fill the prefix field when creating the report, just type s3://my.bucket//)

14. Click Done

The key is loaded after a few minutes. You can now use TrackIt!

Previous Next

11 Replies to “Installing & Setting Up TrackIt Step-by-Step”

  1. Aidencusose says:
    December 26, 2020 at 9:57 pm

    Yay google is my world beater aided me to find this outstanding site!

    Feel free to visit my web site: Aidencusose

    Reply
  2. maseczki z filtrem says:
    December 28, 2020 at 8:12 am

    I’m extremely pleased to discover this website. I wanted to thank you for ones time just for this fantastic read!! I absolutely enjoyed every part of it and i also have you bookmarked to see new stuff in your site.

    Reply
  3. buy cialis says:
    December 28, 2020 at 1:29 pm

    Definitely, what a great blog and revealing posts, I definitely will bookmark your site. Best Regards!

    Reply
  4. car key reprogramming near me says:
    January 2, 2021 at 9:52 pm

    I am incessantly thought about this, thanks for posting.

    Reply
  5. chwilówki dla zadłużonych says:
    January 3, 2021 at 2:20 am

    I reckon something truly special in this website.

    Reply
  6. renault key card says:
    January 3, 2021 at 3:52 am

    Some really great info, Gladiola I detected this. I’m not spaming. I’m just saying your website is AWSOME! Thank you so much! Please vist also my website.

    Reply
  7. samochody na sprzedaż says:
    January 4, 2021 at 11:17 pm

    Świetny post. Bardzo ciekawie opisany artykuł. Jak możesz sprawdź stronę o samochodach u mnie! Do zobaczenia!

    Reply
  8. venlafaxine generic says:
    January 9, 2021 at 10:58 am

    Thank you for every one of your labor on this web site. My daughter really loves making time for investigations and it’s really obvious why. Most people learn all regarding the lively mode you present reliable tactics through this web site and even inspire participation from some others on the point then our favorite princess is really starting to learn a whole lot. Take advantage of the rest of the year. You are always doing a remarkable job.

    Reply
  9. buy quetiapine says:
    January 9, 2021 at 11:55 am

    I am just writing to make you understand what a outstanding experience my wife’s girl obtained using your web site. She noticed so many pieces, which included what it is like to possess an excellent helping nature to let other people with ease learn specific specialized things. You truly surpassed people’s expected results. Thank you for producing these precious, trusted, informative and in addition fun tips about this topic to Lizeth.

    Reply
  10. order venlor says:
    January 10, 2021 at 5:45 am

    A lot of thanks for all your valuable efforts on this site. Kate loves engaging in investigation and it’s really easy to understand why. I know all concerning the dynamic medium you give important secrets on this web blog and as well as foster participation from others on that content plus our daughter is always discovering a lot. Have fun with the remaining portion of the new year. You are conducting a great job.

    Reply
  11. ahang says:
    January 18, 2021 at 12:30 am

    The content bring great value for readers. I can’t stop reading news in this site everyday basketball legends

    Reply

Leave a Reply Cancel Reply

Your email address will not be published. Required fields are marked *

*
*

AWS Advanced Consulting Partner - Cloud Management, Consulting, and Software Development Solutions

Quick links

    • Home
    • Blog
    • About Us
    • Services
    • Trackit App

App

    • Log in to TrackIt
    • How to get started

get in touch

    • Phone: +1 323-230-0042
    • Email: info@trackit.io
  • @TrackIt 2020