AWS – EC2 Image Builder is now able to stream logs to CloudWatch

image_thumb[1]As you know, AWS EC2 Image Builder is an AWS service letting you automate the creation and deployment of golden image on Amazon Elastic Cloud Compute (EC2).

Well, to help you troubleshoot building, customization and deployment of EC2 image, you can now stream the logs in CloudWatch.

This option is enabled by default.

If you want to disable the option, you will need to remove the corresponding permissions from the EC2 instance profile

“Statement”: [
     {
         “Effect”: “Allow”,
         “Action”: [
             “logs:CreateLogStream”,
             “logs:CreateLogGroup”,
             “logs:PutLogEvents”
         ],
         “Resource”: “arn:aws:logs:*:*:log-group:/aws/imagebuilder/*”
     }
]

Benoit Hamet
Benoit Hamet
Benoit is working on Microsoft collaborative technologies He has been awarded as MVP for more than 12 years Currently MVP on Office 365 after being awarded on SharePoint (2011-2012) and Windows client & server (2002-2007) Speaker at various Microsoft events (TechDays, TechNet seminars) and Quest Software He works on on-premises (Active Directory, RADIUS/NPS, Exchange, Skype for Business, SharePoint, SQL, Terminal Server, Windows client and Windows Server) or online (Azure, Intune, Office 365, Exchange Online, SharePoint Online, Skype for Business Online, Teams) technologies