<commit_before># Ec2::Blackout

Want to reduce your EC2 costs?

Do you stop EC2 instances out of business hours?

If you don't, `ec2-blackout` could save you money

`ec2-blackout` is a command-line tool to stop running EC2 instances.

Use ec2-blackout to shutdown EC2 instances when they are idle, for example when you are not in the office.

Certinaly not suitable for production instances but development and test instances can generally be shutdown overnight to save money.

## Installation

    $ gem install ec2-blackout

It is recommended you create an access policy using Amazon IAM

1. Sign in to your AWS management console and go to the IAM section
2. Create a group and paste in the following policy

    {
      "Statement": [
        {
          "Action": [
            "ec2:StartInstances",
            "ec2:StopInstances"
            "ec2:CreateTags",
            "ec2:DeleteTags",
            "ec2:DescribeInstances"
            "ec2:DescribeRegions"
          ],
          "Effect": "Allow",
          "Resource": \[
            "*"
          \]
        }<commit_msg>Escape the markdown<commit_after># Ec2::Blackout

Want to reduce your EC2 costs?

Do you stop EC2 instances out of business hours?

If you don't, `ec2-blackout` could save you money

`ec2-blackout` is a command-line tool to stop running EC2 instances.

Use ec2-blackout to shutdown EC2 instances when they are idle, for example when you are not in the office.

Certinaly not suitable for production instances but development and test instances can generally be shutdown overnight to save money.

## Installation

    $ gem install ec2-blackout

It is recommended you create an access policy using Amazon IAM

1. Sign in to your AWS management console and go to the IAM section
2. Create a group and paste in the following policy

    {
      "Statement": [
        {
          "Action": [
            "ec2:StartInstances",
            "ec2:StopInstances"
            "ec2:CreateTags",
            "ec2:DeleteTags",
            "ec2:DescribeInstances"
            "ec2:DescribeRegions"
          ],
          "Effect": "Allow",
          "Resource": \[
            "\*"
          \]
        }
{'fraction_non_alphanumeric': 0.072183908045977, 'fraction_numerical': 0.015632183908045976, 'mean_word_length': 2.37888198757764, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6130022', 'n_tokens_mistral': 599, 'n_tokens_neox': 590, 'n_words': 248}