• DevOps
    Case Study

    How we built a resilient multi-account, multi-cloud solution for a Health Tech service provider!

    READ CASESTUDY
    icon

    24/7 DevOps as a Service

    Round-the-clock DevOps for uninterrupted efficiency.

    icon

    Infrastructure as a Code

    Crafting infrastructure with ingenious code.

    icon

    CI/CD Pipeline

    Automated CI/CD pipeline for seamless deployments.

    icon

    DevSecOps

    Integrated security in continuous DevOps practices.

    icon

    Hire DevOps Engineers

    Level up your team with DevOps visionaries.

    icon

    Consulting Services

    Navigate success with expert DevOps consulting.

  • TechOps
    Case Study

    How we built a scalable Odoo solution for a Travel Tech service provider!

    READ CASESTUDY

    WEB HOSTING SUPPORT

    icon

    HelpDesk Support

    Highly skilled 24/7 HelpDesk Support

    icon

    Product Support

    Boost your product support with our expertise.

    MANAGED SERVICES

    icon

    Server Management

    Don’t let server issues slow you down. Let us manage them for you.

    icon

    Server Monitoring

    Safeguard your server health with our comprehensive monitoring solutions.

    STAFF AUGMENTATION

    icon

    Hire an Admin

    Transform your business operations with our expert administrative support.

    icon

    Hire a Team

    Augment your workforce with highly skilled professionals from our diverse talent pool.

  • CloudOps
    Case Study

    How we helped a Private Deemed University in India, save US $3500/m on hosting charges!

    READ CASESTUDY
    icon

    AWS Well Architected Review

    Round-the-clock for uninterrupted efficiency

    icon

    Optimize

    Efficient CloudOps mastery for seamless cloud management

    icon

    Manage

    Automated CI/CD pipeline for seamless deployments

    icon

    Migrate

    Upgrade the journey, Migrate & Modernize seamlessly

    icon

    Modernize

    Simplify compliance complexities with our dedicated services

    icon

    FinOps as a Service

    FinOps as a Service

  • SecOps
    Case Study

    How we built a scalable Odoo solution for TravelTech service provider!

    READ CASESTUDY
    icon

    VAPT

    Vulnerability Assessment and Penetration Testing

    icon

    Source Code Review

    Ensuring source code security ans safe practices to reduce risks

    icon

    Security Consultation

    On demand services for improving server security

    icon

    System Hardening

    Reduced vulnerability and proactive protection

    icon

    Managed SoC

    Monitors and maintains system security. Quick response on incidents.

    icon

    Compliance as a Service

    Regulatory compliance, reduced risk

  • Insights
    Case Study

    How we helped a Private Deemed University in India, save US $3,500/m on hosting charges!

    READ CASESTUDY
    icon

    Blog

    Explore our latest articles and insights

    icon

    Case Studies

    Read about our client success stories

    icon

    Flipbook

    Explore our latest Flipbook

    icon

    Events

    Join us at upcoming events and conferences

    icon

    Webinars

    Watch our educational webinar series

  • Our Story
  • Contact Us

Interested to collaborate?

Get in touch with us!

Ready to elevate your business with certified cloud expertise? Contact us today to learn how our team can help you leverage cloud technology to drive growth, streamline operations, and enhance security.

  • AWSAWS
  • Azure CloudAzure Cloud
  • Google CloudGoogle Cloud
  • Akamai CloudAkamai Cloud
  • OVHOVH
  • Digital OceanDigital Ocean
  • HetznerHetzner
  • Kubernetes Consultancy Services
  • K8s & Cloud native Solutions
  • 24/7 Infrastructure Monitoring
  • DevOps as a Service
  • Cloud CI/CD Solutions
  • White Labeled MSP Support
  • Our story
  • Life@SupportSages
  • Insights
  • Careers
  • Events
  • Contact Us

Connect with us!


LinkedInFacebookXInstagramYouTube

aws partneraws advanced partner
SupportSages

Copyright © 2008 – 2026 SupportSages Pvt Ltd. All Rights Reserved.
Privacy PolicyLegal TermsData ProtectionCookie Policy

EC2 Status check and restart using SSM runbook

Vinayan C V

  • 4 min read
EC2 Status check and restart using SSM runbook

Generating audio, please wait...

The best health and availability of your Amazon EC2 instances are essential for providing your users with uninterrupted services in the fast-paced world of cloud computing. As the foundation of your infrastructure, EC2 instances need constant monitoring and prompt intervention to prevent any downtime and performance problems. In this blog post, we’ll look at how to use AWS Systems Manager (SSM) Runbooks and Amazon EC2 Status Checks to automate the process of restarting your EC2 instances when necessary while also proactively monitoring their health.

In this configuration we are using AWS services such as IAM, CloudWatch, Eventbridge and SSM.

Step 1:

Select the EC2 instance that you want to restart when the EC2 status check fails. First of all configure SSM in it. Then go to the status checks option then dropdown the Actions, from there you can create a status check alarm. You can also add SNS topic for notifications.

Step 2:

Once the Alarm creation complete, we can create an event rule to run the SSM runbook on the state of ALARM. For that you can use the below event pattern.

When you choose the target, select the target as Systems Manager Automation and Document as AWS-RestartEC2Instance, then provide the instance ID in the InstanceId field. Please have a check on the below screenshot.

We need to specify the Execution role, either we can create a new role or we can use an existing role. We need to specify two policies in the role CloudWatchFullAccess and AmazonEC2FullAccess.

That’s all the setup is completed now. Whenever the EC2 instance status check fail the cloudwatch metric will change to ALARM state and the event rule will trigger the runbook.

You can see the runbook execution from AWS Systems Manager >> Automation.

  • Linux
EC2 Status check and restart using SSM runbook

Amazon ECS Exec to access your containers on AWS Fargate Skip to end of metadata

Amazon ECS Exec to access your containers on AWS Fargate Skip to end of metadata
  • AWS
logo

Amazon SES Suppression List

Amazon SES Suppression List
  • AWS
logo

Azure VmScaleset Alert Configuration

Azure VmScaleset Alert Configuration
  • Linux
logo

Employee Engagement Activities. How Employee Engagement Activities Benefit the Organization?

Employee Engagement Activities. How Employee Engagement Activities Benefit the Organization?
  • Employee Engagements
logo

Posts by Vinayan C V

Vinayan C V