How to Monitor Your AWS Infrastructure

The AWS cloud platform has made it easier than ever to be flexible, efficient, and cost-effective. However, monitoring your AWS infrastructure is the key to getting all of these benefits. Realizing these benefits requires that you follow AWS best practices which constantly change as AWS regularly expands and reconfigures.

The practice of monitoring your infrastructure has been a part of your workflows and routines since the time you entered the world of IT.  Infrastructure monitoring has moved on from the tracking of temperatures, power consumption, and neat cabling and racks, but capacity, computing resource, and security are still our responsibility.

In this post, we look at AWS monitoring best practices that leverage the tools provided by both AWS and their trusted third-party technology partners from all angles so that your move to the cloud can be as fruitful and constructive as you want it to be.

Why do we need to monitor our AWS infrastructure?

  • Monitoring is entrenched in the Well-Architected Framework (WAF)

Most users have heard about the five pillars of the AWS Well Architected Framework. Just like any other infrastructure technology, old or new, mistakes can be made and confusion felt when it comes to making the right decisions for your organization.  This is why AWS created the framework in the first place. Monitoring your AWS environment is a constant best-practice theme across the pillars as it’s only through auditing and understanding your resources that you’ll be able to use them to their fullest ability.

From a security perspective, it’s never been more important to have the tools and practices in place to know your environments. Data and security breaches are consistently making the headlines as hackers are using brute force. The effects on reputation and corporate wallets can be immense. With the General Data Protection Regulation (GDPR) coming into effect last year, the financial consequences of a breach or even a potential one, up to €20m or 4% of annual turnover, whichever is greater — is undoubtedly top of mind for many CFOs and CSOs.

  • Efficiency & Optimization

As touched on before, the Well-Architected Framework gives you the guidelines to help make the right infrastructure choices for your needs, while ensuring you stick to best practices. The best practice extends to efficiency and optimization and through monitoring, helps you find out how well your stacks are running. Monitoring allows you to utilize resources to their fullest while keeping costs low as well as ensuring you have enough capacity should incidents happen. For example, as you add more workloads, you could be slowing down your compute or overlooking other readily available assets already in your environment.

Who should monitor it and how often?

Developers, SREs, and systems operators, to name a few, who have access are the ones who should be monitoring your AWS infrastructure. With many monitoring tools today, alarms are triggered should a check be violated. However, it’s down to personal preference and priority as to how often the checks themselves should be run. For test or dev accounts, a daily check should be enough as there shouldn’t be any critical workloads involved, however for live or prod environments with particularly sensitive data or resources, real-time monitoring is recommended. Access levels are needed so that changes can then be made once an alarm is received.

How does AWS help with this?

Given that it’s ingrained into their best practice, AWS helps with monitoring. Here are a few of those different services: 

AWS CloudWatch is a tool that connects with many other AWS logging services to monitor and provide data around your environment(s). By setting up automated CloudWatch Events and CloudWatch Logs, you’re able to see when changes have been made and set up patterns and targets to rectify them. The data and insights the tool provides can also help when it comes to Incident Response and conducting an investigation to work through to identify the root of the fault.

AWS Trusted Advisor helps to optimize your environment’s performance, security, and costs through a series of checks. There are more than 60 checks for AWS trusted advisor available, but the number you’re able to access depends on the type of AWS plan you have. Trusted Advisor serves as a good starting point for monitoring simple environments without sensitive or critical resources.

AWS Security Hub was announced at 2018’s re:Invent in Las Vegas, where it takes security and compliance to a higher level than Trusted Advisor. AWS has stated this tool is better suited to more complex environments that demand high levels of security monitoring and critical compliance status maintenance. Its dashboard aggregates results and incorporates many AWS services so that automated checks are run and the results can be actioned. If you’d like to learn more about the AWS Security Hub you can check out our blog post.


About Cloud Conformity

Cloud Conformity was created by our founders from their own first-hand learnings when it came to large AWS migrations and keeping on top of the infrastructure with a prevent, detect, correct, attitude across the entire deployment pipeline.

Our entire ethos and platform has been built to make AWS infrastructure as secure, efficient, and optimized through a simple but thorough list of over 475 checks. The AWS best practice as set out in the Well-Architected Framework and for each service can be easily implemented without the need to manually check each box or regularly update your own knowledge of it.

Cloud Conformity provides customization on multiple levels so that any monitoring is changeable to suit the needs of your organization and environment. As standard, the Conformity bot runs on a daily or hourly schedule or can be manually triggered, which suits dev environments. However, for any accounts with sensitive data or resources, the Real-Time Monitoring tool is available so alerts are triggered as soon as high-risk checks have failed. To go one step further, the auto-remediation function means that some of those high-risk failures trigger a lambda function to auto-correct themselves without any manual involvement.

The integrated communication channels can also be customized so that personnel receive alerts specifically relevant to them and their responsibilities. Currently, Cloud Conformity is integrated with seven different channels including Slack, Jira, and ServiceNow so there is plenty of flexibility to fit with your existing processes and workflows.  

The alerts triggered include remediation steps so that you’re not simply left in the dark with a failure, whilst also providing some guidance behind the check in the first place. The platform also incorporates various compliance standards, for example, CIS and GDPR, so you can easily run checks to see how compliant you are against these critical tests.

Announced during re:Invent 2018, is the CloudFormation Template Scanner in beta which gives you all of these checks and customization features before deployment of your CloudFormation templates. Monitoring during a build is a game-changer which can save so much of that heart-stopping panic and means that only the cleanest and secure code will make it to your understandably precious infrastructure.

Take 3 minutes to connect one of your AWS accounts to Cloud Conformity’s free trial, here.

Paul Hortop

Written by

Paul Hortop

17 years experience in IT security, compliance and risk management. Proven experience building security reference architecture on AWS. DevSecOps coach promoting automation, integration, and deployment. Implementation experience with enterprise security solutions such as forensics, WAF, IPS, and SIEM.


Related Posts

Amanda Cross
Amanda Cross
— February 12, 2021

New Content: Get Ready for the CISM Cert Exam & Learn About Alibaba, Plus All the AWS, GCP, and Azure Courses You Know You Can Count On

This month our team of intrepid certification specialists released five learning paths, seven courses, 19 hands-on labs, and three lab challenges!  One particularly interesting new learning path is Certified Information Security Manager (CISM) Foundations. After completing this learn...

Read more
  • alibaba
  • AWS
  • Azure
  • cism
  • DevOps
  • Google Cloud Platform
  • programming
Avatar
Cloud Academy Team
— January 31, 2021

Which Certifications Should I Get?

The old AWS slogan, “Cloud is the new normal” is indeed a reality today. Really, cloud has been the new normal for a while now and getting credentials has become an increasingly effective way to quickly showcase your abilities to recruiters and companies. With all that in mind, the s...

Read more
  • AWS
  • Azure
  • Certifications
  • Cloud Computing
  • Google Cloud Platform
Avatar
Andrew Larkin
— January 31, 2021

The 12 AWS Certifications: Which is Right for You and Your Team?

As companies increasingly shift workloads to the public cloud, cloud computing has moved from a nice-to-have to a core competency in the enterprise. This shift requires a new set of skills to design, deploy, and manage applications in cloud computing. As the market leader and most ma...

Read more
  • AWS
  • AWS Certifications
Avatar
Stuart Scott
— January 29, 2021

AWS Certified Solutions Architect Associate: A Study Guide

Want to take a really impactful step in your technical career? Explore the AWS Solutions Architect Associate certificate. Its new version (SAA-C02) was released on March 23, 2020. The AWS Solutions Architect - Associate Certification (or Sol Arch Associate for short) offers some ...

Read more
  • AWS
  • AWS Certifications
  • AWS Certified Solutions Architect Associate
Amanda Cross
Amanda Cross
— January 7, 2021

New Content: AWS Terraform, Java Programming Lab Challenges, Azure DP-900 & DP-300 Certification Exam Prep, Plus Plenty More Amazon, Google, Microsoft, and Big Data Courses

This month our Content Team continues building the catalog of courses for everyone learning about AWS, GCP, and Microsoft Azure. In addition, this month’s updates include several Java programming lab challenges and a couple of courses on big data. In total, we released five new learning...

Read more
  • AWS
  • Azure
  • DevOps
  • Google Cloud Platform
  • Machine Learning
  • programming
Avatar
Stuart Scott
— December 17, 2020

Where Should You Be Focusing Your AWS Security Efforts?

Another day, another re:Invent session! This time I listened to Stephen Schmidt’s session, “AWS Security: Where we've been, where we're going.” Amongst covering the highlights of AWS security during 2020, a number of newly added AWS features/services were discussed, including: AWS Audit...

Read more
  • AWS
  • AWS re:Invent
  • cloud security
Joe Nemer
Joe Nemer
— December 4, 2020

AWS re:Invent: 2020 Keynote Top Highlights and More

We’ve gotten through the first five days of the special all-virtual 2020 edition of AWS re:Invent. It’s always a really exciting time for practitioners in the field to see what features and services AWS has cooked up for the year ahead.  This year’s conference is a marathon and not a...

Read more
  • AWS
  • AWS Glue Elastic Views
  • AWS re:Invent
Bryony Harrower
Bryony Harrower
— November 6, 2020

WARNING: Great Cloud Content Ahead

At Cloud Academy, content is at the heart of what we do. We work with the world’s leading cloud and operations teams to develop video courses and learning paths that accelerate teams and drive digital transformation. First and foremost, we listen to our customers’ needs and we stay ahea...

Read more
  • AWS
  • Azure
  • content roadmap
  • GCP
Joe Nemer
Joe Nemer
— October 25, 2020

Excelling in AWS, Azure, and Beyond – How Danut Prisacaru Prepares for the Future

Meet Danut Prisacaru. Danut has been a Software Architect for the past 10 years and has been involved in Software Engineering for 30 years. He’s passionate about software and learning, and jokes that coding is basically the only thing he can do well (!). We think his enthusiasm shines t...

Read more
  • AWS
  • careers
  • champions
  • upskilling
Joe Nemer
Joe Nemer
— October 14, 2020

New Content: AWS Data Analytics – Specialty Certification, Azure AI-900 Certification, Plus New Learning Paths, Courses, Labs, and More

This month our Content Team released two big certification Learning Paths: the AWS Certified Data Analytics - Speciality, and the Azure AI Fundamentals AI-900. In total, we released four new Learning Paths, 16 courses, 24 assessments, and 11 labs.  New content on Cloud Academy At any ...

Read more
  • AWS
  • Azure
  • DevOps
  • Google Cloud Platform
  • Machine Learning
  • programming
Joe Nemer
Joe Nemer
— September 15, 2020

New Content: Azure DP-100 Certification, Alibaba Cloud Certified Associate Prep, 13 Security Labs, and Much More

This past month our Content Team served up a heaping spoonful of new and updated content. Not only did our experts release the brand new Azure DP-100 Certification Learning Path, but they also created 18 new hands-on labs — and so much more! New content on Cloud Academy At any time, y...

Read more
  • AWS
  • Azure
  • DevOps
  • Google Cloud Platform
  • Machine Learning
  • programming
Joe Nemer
Joe Nemer
— August 28, 2020

AWS Certification Practice Exam: What to Expect from Test Questions

If you’re building applications on the AWS cloud or looking to get started in cloud computing, certification is a way to build deep knowledge in key services unique to the AWS platform. AWS currently offers 12 certifications that cover major cloud roles including Solutions Architect, De...

Read more
  • AWS
  • AWS Certifications