CloudFormation Logging
- CloudFormation is integrated with CloudTrail
- In CloudFormation, CloudTrail provides record of actions taken by
- user
- role
- an AWS service
- CloudTrail captures all API calls for AWS CloudFormation as events
- The trail, offers continuous delivery of CloudTrail events to S3 bucket
- All CloudFormation actions are logged by CloudTrail
- CloudTrail is enabled on AWS account
- Without a trail, user can still view recent events in CloudTrail console in Event history.
- CloudTrail provides details as
- request made to CloudFormation
- the IP address from which the request was made,
- who made the request,
- when it was made
- additional details
- trail delivers event details as log files to S3.
- An event provides details on
- request from any source
- details on the requested action
- the date and time of the action
- request parameters
- configure logging
- creates a CloudWatch Logs configuration file on the instance
- downloads the awslogs package
- starts the awslogs daemon
AWS Certified DevOps Engineer Free Practice TestTake a Quiz