[20170321123755] Improved visibility with ECS Events

ECS Events

With this update, we improve rack and app visibility by including ECS events into the app logs.
Running convox logs --filter=ECS gives you the ability to see:

2017-03-20T18:08:11Z [ECS] service="dev-httpd-ServiceWeb-1274TTQ2F7LR0" task="ef76746b-1fcd-4185-a74f-1234567" status="PENDING" container="web"
2017-03-20T18:08:12Z [ECS] service="dev-httpd-ServiceWeb-1274TTQ2F7LR0" task="ef76746b-1fcd-4185-a74f-1234567" status="RUNNING" container="web"
2017-03-20T18:08:12Z [ECS] event="service dev-httpd-ServiceWeb-1274TTQ2F7LR0 has started 1 tasks: task ef76746b-1fcd-4185-a74f-1234567."
2017-03-20T18:08:12Z [ECS] service="dev-httpd-ServiceWeb-1274TTQ2F7LR0" task="ef76746b-1fcd-4185-a74f-1234567" status="PENDING" container="web"
2017-03-20T18:18:16Z [ECS] event="service dev-httpd-ServiceWeb-1274TTQ2F7LR0 has started 1 tasks: task ef76746b-1fcd-4185-a74f-1234567."
2017-03-20T18:18:16Z [ECS] event="service dev-httpd-ServiceWeb-1274TTQ2F7LR0 registered 1 instances in elb httpd-web-SJ6R77B"
2017-03-20T18:18:16Z [ECS] event="service dev-httpd-ServiceWeb-1274TTQ2F7LR0 has reached a steady state."
2017-03-20T18:18:30Z [ECS] service="dev-httpd-ServiceWeb-1274TTQ2F7LR0" task="3fd0ff97-5e4e-4271-a705-1234567" status="PENDING" container="web"
2017-03-20T18:18:30Z [ECS] event="service dev-httpd-ServiceWeb-1274TTQ2F7LR0 has started 1 tasks: task 3fd0ff97-5e4e-4271-a705-1234567."

This gives you direct insight into what is happening with app process and help debug process that fail to start up.

For more information: #2054 Ecs event logs [@MiguelMoll]

EBS Encryption

Rack now has the ability to enable EBS encryption via a rack parameter:

convox rack params set EncryptEbs=Yes

With this parameter enabled, overall rack security increases via encrypted volumes.

It’s currently disabled to let users update existing racks and configure it as needed. But the plan is to enable it by default in a future release.

For more information: #2068 Parameterize ebs encryption [@mattmanning]

Other improvements include: