# aws-ec2-start-stop-tools

[![License](https://img.shields.io/github/license/Sylvain-Bugat/aws-ec2-start-stop-tools.svg)](https://github.com/Sylvain-Bugat/aws-ec2-start-stop-tools/blob/master/LICENSE)
[![Build Status](https://travis-ci.org/Sylvain-Bugat/aws-ec2-start-stop-tools.svg?branch=master)](https://travis-ci.org/Sylvain-Bugat/aws-ec2-start-stop-tools)
[![Coverage Status](https://coveralls.io/repos/Sylvain-Bugat/aws-ec2-start-stop-tools/badge.svg?branch=master)](https://coveralls.io/r/Sylvain-Bugat/aws-ec2-start-stop-tools?branch=master)

========================
Simple but useful tools to start and stop Amazon AWS EC2 instances.

## Configuration

Copy or edit sample ec2tools.ini file with targeted instance and order
```
[SECTION1]
instanceId1=START
...

[SECTION2]
instanceId1=STOP
...
```

## Execution

just launch the jar with one or more section arguments:
```bash
java -jar start-stop-ec2-tools-1.0-SNAPSHOT-jar-with-dependencies.jar -e -s SECTION1 -s SECTION2
```

## Compile and build

Using maven 3.0.5 or more recent, type this command:
```bash
mvn clean install
```

# aws-ec2-start-stop-tools

[![License](https://img.shields.io/github/license/Sylvain-Bugat/aws-ec2-start-stop-tools.svg)](https://github.com/Sylvain-Bugat/aws-ec2-start-stop-tools/blob/master/LICENSE)
[![Build Status](https://img.shields.io/travis/Sylvain-Bugat/aws-ec2-start-stop-tools.svg)](https://travis-ci.org/Sylvain-Bugat/aws-ec2-start-stop-tools)
[![Coverage Status](https://coveralls.io/repos/Sylvain-Bugat/aws-ec2-start-stop-tools/badge.svg?branch=master)](https://coveralls.io/r/Sylvain-Bugat/aws-ec2-start-stop-tools?branch=master)

========================
Simple but useful tools to start and stop Amazon AWS EC2 instances.

## Configuration

Copy or edit sample ec2tools.ini file with targeted instance and order
```
[SECTION1]
instanceId1=START
...

[SECTION2]
instanceId1=STOP
...
```

## Execution

just launch the jar with one or more section arguments:
```bash
java -jar start-stop-ec2-tools-1.0-SNAPSHOT-jar-with-dependencies.jar -e -s SECTION1 -s SECTION2
```

## Compile and build

Using maven 3.0.5 or more recent, type this command:
```bash
mvn clean install
```

Change build badge by using shields.io
Change build badge by using shields.io