Cloud Computing Assignment-11
Cloud Computing Assignment-11
1. Cloud Trail:
AWS CloudTrail is an AWS service that helps you enable operational and risk
auditing, governance, and compliance of your AWS account. Actions taken by a user,
role, or an AWS service are recorded as events in CloudTrail. Events include actions
taken in the AWS Management Console, AWS Command Line Interface, and AWS
SDKs and APIs.
1. Event Logging: CloudTrail records AWS API calls made on your account. These logs
include the identity of the API caller, the time of the API call, the source IP
address of the API caller, the request parameters, and the response elements
returned by the AWS service.
2. Event History: CloudTrail provides a history of AWS API calls for your account,
including API calls made via the AWS Management Console, AWS SDKs,
command-line tools, and other AWS services.
5. Insights: CloudTrail Insights helps you identify and respond to unusual activity
associated with write APIs by continuously analyzing CloudTrail management
events. It can detect and alert you about API activity that deviates significantly
from typical activity, such as a spike in resource provisioning or an increase in the
number of security group changes.
6. Data Retention and Export: You can store CloudTrail logs in Amazon S3 for long-
term analysis and archiving. The logs can be encrypted for security and can be
integrated with AWS services like Amazon Athena, AWS Lambda, and Amazon
CloudWatch for further analysis.
2. CloudTrail console:
Sign in to the AWS Management Console and open the CloudTrail console at
https://console.aws.amazon.com/cloudtrail/.
The CloudTrail console provides a user interface for performing many CloudTrail tasks
such as:
Viewing recent events and event history for your AWS account.
3. AWS CLI:
The AWS Command Line Interface is a unified tool that you can use to interact with
CloudTrail from the command line. For more information, see the AWS Command
Line Interface User Guide. For a complete list of CloudTrail CLI commands, see
cloudtrail and cloudtrail-data in the AWS CLI Command Reference.
4. Cloud Watch:
Amazon CloudWatch is a monitoring and management service that provides data and
actionable insights for AWS, on-premises, hybrid, and other cloud applications and
infrastructure resources. You can collect and access all your performance and
operational data in the form of logs and metrics from a single platform rather than
monitoring them in silos (server, network, or database). CloudWatch enables you to
monitor your complete stack (applications, infrastructure, network, and services) and
use alarms, logs, and events data to take automated actions and reduce mean time to
resolution (MTTR). This frees up important resources and allows you to focus on
building applications and business value.
CloudWatch Logs classes
There are two log classes:
b. Amazon CloudWatch Logs Standard for comprehensive log management intended for
real-time monitoring and advanced analytics capabilities like Live Tail, metric
extraction, alarming or data protection.
6. Key Aspects of Cloud Watch in AWS:
Monitoring and Metrics: Collects and tracks metrics, monitors log files, sets alarms,
and automatically reacts to changes in your AWS resources.
Alarms and Automated Actions: Allows you to set thresholds on metrics and trigger
automated actions such as scaling EC2 instances or sending notifications when
thresholds are crossed.
Log Management: Enables you to aggregate, monitor, and analyze log data from
Amazon EC2 instances, AWS CloudTrail, and other sources in real-time.
Event Handling and Automation: Offers near real-time event streams for system
changes, allowing for automated responses like triggering AWS Lambda functions or
starting/stopping EC2 instances.