Sha256: 88f1f7212656a971c70aa163b1de24467b909cd3441c15934be8fa3a88b4a96c

Contents?: true

Size: 1.54 KB

Versions: 38

Compression:

Stored size: 1.54 KB

Contents

It is useful to sometimes deploy only the task definition without re-building it.  Say for example, you are debugging the task definition and just want to directly edit the `.ufo/output/demo-web.json` definition. You can accomplish this with the `ufo deploy` command.  The `ufo deploy` command will deploy the task definition in `.ufo/output` unmodified.  Example:

    ufo deploy demo-web

The above command does the following:

1. register the `.ufo/output/demo-web.json` task definition to ECS untouched.
2. deploys it to ECS by updating the service

## ufo tasks build

To regenerate a `.ufo/output/demo-web.json` definition:

    ufo tasks build

## ufo ship

The `ufo deploy` command does less than the `ufo ship` command.  Normally, it is recommended to use `ufo ship` over the `ufo deploy` command to do everything in one step:

1. build the Docker image
2. register the ECS task definition
3. update the ECS service

The `ufo ships`, `ufo ship`, `ufo deploy` command support the same options. The options are presented here again for convenience:

{% include ufo-ship-options.md %}

## Creating mutiple environments in parallel

If you would like to create multiple enviroments quickly in parallel, the `--no-wait` and `--build` option can help speed up the process.  Example:

    ufo ship # at least once
    for i in {1..3}; do
      UFO_ENV_EXTRA=$i ufo deploy --no-wait --build
    done

A more detailed post is available here: [How to Create Unlimited Extra Environments
](https://blog.boltops.com/2018/07/12/ufo-how-to-create-unlimited-extra-environments).

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
ufo-5.0.7 lib/ufo/help/deploy.md
ufo-5.0.6 lib/ufo/help/deploy.md
ufo-5.0.5 lib/ufo/help/deploy.md
ufo-5.0.4 lib/ufo/help/deploy.md
ufo-5.0.3 lib/ufo/help/deploy.md
ufo-5.0.2 lib/ufo/help/deploy.md
ufo-5.0.1 lib/ufo/help/deploy.md
ufo-5.0.0 lib/ufo/help/deploy.md
ufo-4.6.3 lib/ufo/help/deploy.md
ufo-4.6.2 lib/ufo/help/deploy.md
ufo-4.6.1 lib/ufo/help/deploy.md
ufo-4.6.0 lib/ufo/help/deploy.md
ufo-4.5.11 lib/ufo/help/deploy.md
ufo-4.5.10 lib/ufo/help/deploy.md
ufo-4.5.9 lib/ufo/help/deploy.md
ufo-4.5.8 lib/ufo/help/deploy.md
ufo-4.5.7 lib/ufo/help/deploy.md
ufo-4.5.6 lib/ufo/help/deploy.md
ufo-4.5.5 lib/ufo/help/deploy.md
ufo-4.5.4 lib/ufo/help/deploy.md