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
Your power users will want to be the first in line to try out upcoming features through the Office 365 targeted release program. Set up early access ... Continue Reading
Many compatibility issues can arise when moving VMs to the public cloud. Watch out for compatibility problems with partitions, OSes and image formats... Continue Reading
To migrate a VM and its dependencies from a local data center to a public cloud, use the forklift method to prepare the VM for migration, deploy the ... 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.