Sha256: cc4d0ac7f2393f6ef2da602fd1c85f0293187b550329d1e3242ed6603447edf7

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

# EcsDeployer

This package provides the service deployment function of ECS.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'ecs_deployer'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install ecs_deployer

## Task definition

Write task definition in YAML format.
For available parameters see [Task Definition Parameters](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html).
The sample file is in `example/fixtures/task.yml`.

```
container_definitions:
- name: wordpress
  links:
  - mysql
  image: wordpress
  essential: true
  port_mappings:
  - container_port: 80
    hostPort: 80
  memory: 500
  cpu: 10
- environment:
  - name: MYSQL_ROOT_PASSWORD
    value: password
  name: mysql
  image: mysql
  cpu: 10
  memory: 500
  essential: true
family: hello_world
```

## Usage

```
ecs_deployer = EcsDeployer::Client.new
ecs_deployer.register_task('development.yml')
ecs_deployer.update_service('cluster', 'development')
```

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecs_deployer-0.1.10 README.md
ecs_deployer-0.1.9 README.md
ecs_deployer-0.1.8 README.md
ecs_deployer-0.1.7 README.md