vatertime / minecraft-spot-pricing

Cloudformation template to deploy a Minecraft server
MIT License
141 stars 85 forks source link

Added an optionally-configured CloudWatch Log Group #17

Closed javabrett closed 2 years ago

javabrett commented 2 years ago

Added an optional (default not configured) CloudWatch Log Group and configuration for the task/container. CloudWatch logging is activated and a Log Group created when LogGroupName is set. A LogStreamPrefix should then usually be set (a default is supplied), as ECS containers prefer this - it improves console integration and avoids unhelpful GUIDs in the log stream name.

This can be nice if logging is desired and to avoid ssh-in to read Docker logs.

Screen Shot 2021-12-23 at 20 56 21 Screen Shot 2021-12-23 at 20 56 50