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:
- #2050 Use CONVOX_DEBUG rather than DEBUG [@soulshake]
- #2060 delete acm certs [@MiguelMoll]
- #2063 clarify ‘convox rack releases’ help text [@soulshake]
- #2064 bash completion script [@soulshake]
- #2065 Prevent a panic if no host config is found with a nicer error message[@MiguelMoll]
- #2066 Listing processes use a cache to prevent throttling [@MiguelMoll]
- #2069 build instance support for run and boot command [@MiguelMoll]