The shift to a microservices architecture in software design emphasizes the notion of scalability. Instead of a...
traditional monolithic application design, a microservices architecture breaks a complex application into smaller functional modules that can be deployed independently. A microservices architecture can speed up application design and deployment, but it's not without issues. Monitoring microservices-based software can be a challenge for IT teams. Amazon CloudWatch can be a good fit for this.
IT administrators struggle when it comes to monitoring microservices performance and spinning up -- or spinning down -- instances and duplicate components in real time. The best way to approach microservices is by monitoring component statuses or events and then responding to those events according to established rule sets -- all without direct human intervention. Amazon CloudWatch monitors AWS resources and applications, allowing users to collect important metrics, gather logs and generate alarms or events. Alarms or events created in CloudWatch can automatically trigger response actions; they could also terminate an instance, run an Auto Scaling policy or run an AWS Lambda function. The ability to establish and respond automatically to conditions fits with microservices-type application deployments in public cloud.
Amazon CloudWatch is not a standalone tool for monitoring microservices; it works in concert with other AWS services such as Auto Scaling. So, IT teams need to direct the tool to monitor a specific task before configuring it to respond to microservices-based applications.
Amazon CloudWatch provides a free tier with basic monitoring and limited data ingestion, storage and metrics each month. But enterprises can incur fees for additional dashboards, faster monitoring intervals, more metrics as well as alarms and extra logs. Developers and IT architects should collaborate on software design and monitoring microservices and other application components -- establish requirements that are appropriate for the app deployment and ensure that any premium CloudWatch services are included in the application's operating budget.
Upgrade apps with microservices architecture
Microservices deployments help boost availability
Track events with CloudWatch monitoring service
Dig Deeper on AWS CloudWatch and application performance monitoring
Related Q&A from Stephen J. Bigelow
Version 2.0 of the vRealize Operations Service Discovery Management Pack has been updated with user-defined service discovery, but consider the ...continue reading
Admins can view infrastructure information in the services relationship, VM relationships, service distribution and service visibility dashboards of ...continue reading
The vRealize Operations Service Discovery MP automatically discovers services running on VMs, as well as the relationships and interdependencies ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.