Focus on cloud service provider activities
Notes on website operation and maintenance

Monitor website and server performance with Amazon CloudWatch

Amazon CloudWatch , a monitoring and management service that can help us collect and track indicators, log files, and events from various AWS and non AWS resources. CloudWatch can monitor AWS services (such as Amazon EC2 instances and Amazon RDS database instances), as well as custom applications and services that you can monitor without deploying any additional software. You can use dashboards, alerts, and other tools in CloudWatch to analyze to ensure that your applications and infrastructure are always running well.

Recommended reading  Lao Zuo personally tested the process of applying for free Amazon Cloud AWS 12 month account qualification (verify and activate the complete tutorial) Lao Zuo personally tested the process of applying for free Amazon Cloud AWS 12 month account qualification (verify and activate the complete tutorial) Presumably, many of us have heard of Amazon ECS, database, cloud storage, and machine learning applications. However, because AWS Amazon ECS only provides English, we have some difficulties for many friends who need to buy it. We may have heard that Amazon AWS has the qualification to apply for free accounts, and it is generous in the industry [...] Updated: 2022/7/18 read the whole passage

If we apply for an Amazon cloud account, we can enjoy 100+free cloud service product experiences, including Amazon CloudWatch Free package.

The Amazon CloudWatch free package includes the following:

10 custom indicators and 10 alerts;

1000000 API requests;

5GB log data ingestion and 5GB log data archiving;

3 control panels, each panel can have up to 50 indicators per month.

The specific amount of free resources shall be subject to the actual official amount.

Amazon CloudWatch has the following advantages:

Real time monitoring: CloudWatch can monitor AWS resources and applications in real time and provide real-time alerts.

Multidimensional monitoring: CloudWatch provides multi-dimensional monitoring, which can monitor CPU utilization, network traffic and other dimensions to help users understand various indicator data in depth.

Automatic monitoring: CloudWatch can automatically monitor AWS resources such as EC2, and users can obtain real-time monitoring data without manual configuration.

Monitoring logs: CloudWatch also provides the log monitoring function, which supports the collection, monitoring and analysis of log data.

Low cost and high performance: Since CloudWatch is a part of AWS services, the cost of using CloudWatch is very low, and it also has excellent performance.

High scalability: CloudWatch supports multiple tenants and regions, and can easily handle large-scale monitoring tasks.

Powerful API support: CloudWatch provides rich monitoring data access and management functions through API, which can be easily embedded into existing tools and processes.

We can select monitoring types and settings according to our business needs. Here is a simple demonstration of monitoring website performance. Here we use Synthetics Canary is used to add monitoring target websites. It can simulate user activities regularly to test the usability and performance of applications. Synthetics Canary can perform various types of monitoring operations, such as visiting websites, clicking buttons, filling out forms, etc., to ensure the availability of applications. Synthetics Canary can measure request response time, page load time and other indicators to measure the performance of the application.

Here, we create a Canary version.

Here we create and select a blueprint, and then select monitoring objects according to the required blueprint template. For example, we select heartbeat monitoring for monitoring a single URL, including visual monitoring, API monitoring, and failure link check monitoring.

Set the name of the Canary version and the URL address of the application side. You can monitor five URLs at a time.

Then set the data retention period and the monitoring period as required. Other setting options include setting permission roles, alarm notifications, etc. as required.

Here we can see the added monitoring targets, and then clearly see the monitoring status. Of course, we can deploy multiple data node centers as needed.

Of course, there are many applications available for the Amazon CloudWatch monitoring function, which can basically cover the multi-dimensional monitoring of common servers, single tasks, APIs, and applications.

Like( zero )
Do not reprint without permission: Lao Zuo's Notes » Monitor website and server performance with Amazon CloudWatch

Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge