docker-curriculum icon indicating copy to clipboard operation
docker-curriculum copied to clipboard

Had to manually create log group in CloudWatch

Open grandmaestr opened this issue 4 years ago • 3 comments

Great tutorial, thanks for putting it together!

I was under the impression that the log group defined in the aws-ecs/docker-compose.yml file awslogs-group: foodtrucks would be automatically created but that turned out not to be the case. I had to manually create the log group by going to:

AWS > CloudWatch > Logs > Log Groups > Create log group (I named it foodtrucks per the docker-compose.yml definition)

after which running ecs-cli compose up succeeded without any errors. Perhaps you can make that clearer in the tutorial (unless I missed that instruction, in which case, my bad!)?

I've learnt so much about Docker and will be using it to deploy my apps for a startup that I'm getting off the ground. Thanks!

grandmaestr avatar Oct 06 '20 16:10 grandmaestr

Thanks @bibliolibs I had the same issue and that solved it. I see there's a pull request to solve that #275

fernandorb8 avatar Oct 21 '20 21:10 fernandorb8

Thanks for pointing out pull request #275 @fernandorb8, option 3 simplifies the creation of the log group and is a much better solution.

grandmaestr avatar Oct 23 '20 18:10 grandmaestr

I had this issue as well, still in the middle of trying to get it working.

rudytrubitt avatar Dec 01 '20 21:12 rudytrubitt