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

Alisha Reyes
Alisha Reyes
— December 5, 2019

New on Cloud Academy: AWS Solution Architect Lab Challenge, Azure Hands-on Labs, Foundation Certificate in Cyber Security, and Much More

Now that Thanksgiving is over and the craziness of Black Friday has died down, it's now time for the busiest season of the year. Whether you're a last-minute shopper or you already have your shopping done, the holidays bring so much more excitement than any other time of year. Since our...

Read more
  • AWS
  • AWS solution architect
  • AZ-203
  • Azure
  • cyber security
  • FCCS
  • Foundation Certificate in Cyber Security
  • Google Cloud Platform
  • Kubernetes
Avatar
Cloud Academy Team
— December 4, 2019

Understanding Enterprise Cloud Migration

What is enterprise cloud migration? Cloud migration is about moving your data, applications, and even infrastructure from your on-premises computers or infrastructure to a virtual pool of on-demand, shared resources that offer compute, storage, and network services at scale. Why d...

Read more
  • AWS
  • Azure
  • Data Migration
Wendy Dessler
Wendy Dessler
— November 27, 2019

6 Reasons Why You Should Get an AWS Certification This Year

In the past decade, the rise of cloud computing has been undeniable. Businesses of all sizes are moving their infrastructure and applications to the cloud. This is partly because the cloud allows businesses and their employees to access important information from just about anywhere. ...

Read more
  • AWS
  • Certifications
  • certified
Avatar
Andrea Colangelo
— November 26, 2019

AWS Regions and Availability Zones: The Simplest Explanation You Will Ever Find Around

The basics of AWS Regions and Availability Zones We’re going to treat this article as a sort of AWS 101 — it’ll be a quick primer on AWS Regions and Availability Zones that will be useful for understanding the basics of how AWS infrastructure is organized. We’ll define each section,...

Read more
  • AWS
Avatar
Dzenan Dzevlan
— November 20, 2019

Application Load Balancer vs. Classic Load Balancer

What is an Elastic Load Balancer? This post covers basics of what an Elastic Load Balancer is, and two of its examples: Application Load Balancers and Classic Load Balancers. For additional information — including a comparison that explains Network Load Balancers — check out our post o...

Read more
  • ALB
  • Application Load Balancer
  • AWS
  • Elastic Load Balancer
  • ELB
Albert Qian
Albert Qian
— November 13, 2019

Advantages and Disadvantages of Microservices Architecture

What are microservices? Let's start our discussion by setting a foundation of what microservices are. Microservices are a way of breaking large software projects into loosely coupled modules, which communicate with each other through simple Application Programming Interfaces (APIs). ...

Read more
  • AWS
  • Docker
  • Kubernetes
  • Microservices
Nisar Ahmad
Nisar Ahmad
— November 12, 2019

Kubernetes Services: AWS vs. Azure vs. Google Cloud

Kubernetes is a popular open-source container orchestration platform that allows us to deploy and manage multi-container applications at scale. Businesses are rapidly adopting this revolutionary technology to modernize their applications. Cloud service providers — such as Amazon Web Ser...

Read more
  • AWS
  • Azure
  • Google Cloud
  • Kubernetes
Avatar
Stuart Scott
— October 31, 2019

AWS Internet of Things (IoT): The 3 Services You Need to Know

The Internet of Things (IoT) embeds technology into any physical thing to enable never-before-seen levels of connectivity. IoT is revolutionizing industries and creating many new market opportunities. Cloud services play an important role in enabling deployment of IoT solutions that min...

Read more
  • AWS
  • AWS IoT Events
  • AWS IoT SiteWise
  • AWS IoT Things Graph
  • IoT
Avatar
Cloud Academy Team
— October 23, 2019

Which Certifications Should I Get?

As we mentioned in an earlier post, 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 compan...

Read more
  • AWS
  • Azure
  • Certifications
  • Cloud Computing
  • Google Cloud Platform
Valery Calderón Briz
Valery Calderón Briz
— October 22, 2019

How to Go Serverless Like a Pro

So, no servers? Yeah, I checked and there are definitely no servers. Well...the cloud service providers do need servers to host and run the code, but we don’t have to worry about it. Which operating system to use, how and when to run the instances, the scalability, and all the arch...

Read more
  • AWS
  • Lambda
  • Serverless
Avatar
Stuart Scott
— October 16, 2019

AWS Security: Bastion Hosts, NAT instances and VPC Peering

Effective security requires close control over your data and resources. Bastion hosts, NAT instances, and VPC peering can help you secure your AWS infrastructure. Welcome to part four of my AWS Security overview. In part three, we looked at network security at the subnet level. This ti...

Read more
  • AWS
Avatar
Sudhi Seshachala
— October 9, 2019

Top 13 Amazon Virtual Private Cloud (VPC) Best Practices

Amazon Virtual Private Cloud (VPC) brings a host of advantages to the table, including static private IP addresses, Elastic Network Interfaces, secure bastion host setup, DHCP options, Advanced Network Access Control, predictable internal IP ranges, VPN connectivity, movement of interna...

Read more
  • AWS
  • best practices
  • VPC