Add Metrics

  • Address:
  • AWS Key Id:
  • AWS Key Secret:
  • Overview

    HHTT uses AWS Cloudwatch metrics to allow users to setup alarms for their workers.


  • Create AWS Account: Go to Amazon AWS and create an account if you don't have one.
  • Create IAM User: AWS IAM.
  • Create AWS credentials for the new IAM user. Note them.
  • Attach a policy for only to cloudwatch PutMetricData to the IAM user. This can be done with the Policy Generator.
  • The policy should look something like this:
      "Statement": [
          "Sid": "Stmt1355106733269",
          "Action": [
          "Effect": "Allow",
          "Resource": [
  • Come back to this page, put in your Bitcoin address, AWS Key Id and AWS Key Secret for the IAM user in the form above.
  • Wait 10-20 minutes then go to All Metrics and find your HHTT metrics.
  • Create alarms as desired.
  • FAQ

    Questions that have never been asked but could potentially be asked, I guess.

    Why use Cloudwatch rather than some other thing?

  • Am I going to make an interface for viewing data and setting alarms better than Cloudwatch? No.
  • Why do I have to create an AWS Account?

    It is the easiest way to get access to the AWS Console to do your alarms and I don't want to pay for them.

    How much will this cost?

    I think it will be free in the AWS free tier. It will be 3 metrics and however many alarms you set. If I did them all under my account, it would probably cost me something.

    Is it safe to post my AWS credentials on this non-HTTPS page?

    Absolutely not. This is why it is important to make an IAM user with access only to put cloudwatch metrics as described above.

    How are you protecting my AWS credentials?

    I am only giving them to the most trustworthy vagrants and ex-conns. I am doing nothing special. If they get stolen someone will be able to post cloudwatch metrics to your account. Somehow, the world may go on. Then you can invalidate the IAM account.

    What if I have new credentials? How do I clear out the old ones?

    Just add your new ones. I'll worry about pruning non-working ones as needed.

    What if I want you to stop publishing data?

    Delete the IAM user, change its policy or invalidate the AWS key. Then I'll be unable to publish.

    What if I want to monitor several workers?

    Just add each one you want to monitor with your credentials.

    How is the data published to cloudwatch?

    Every 5 minutes a put metrics is done in us-east-1 to namespace 'hhtt' with metric names of 'address_last_5_min', 'address_last_hour' and 'address_last_day'. The metrics are in Megahash/second.

    How can I see what AWS keys are setup for my address?