Sign in

Application not responding

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

This runbooks is an end to end health check automation for our application.

  1. 1

    Get instance id of a hostname

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    This task just gets the ec2 instance id for a given host based on the label.

    1
  2. 2

    Ensure that the instance is running

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    Get the instance state and check if the instance is running. If it is not running, start it.

    2
    1. 2.1

      Start an ec2 instance

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      2.1
      1. 2.1.1

        Wait until the instance is running

        There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

        It takes a few seconds for the instance to come up. Keep checking the status for a few seconds. After a specified number of iterations, just give up and print an error message.

        2.1.1
      2. 2.1.2

        Mount the volumes if needed

        There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
        2.1.2
  3. 3

    Ensure that the application is running

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    Check if our application is running. Check if all the services are running as expected.

    3
    1. 3.1

      Start the application

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      3.1
  4. 4

    Ensure that the application is reachable

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    Check if the docker compose file is exposing the relevant port to reach to the application.

    4
    1. 4.1

      Ensure the container port is exposed

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      First check if the container port is exposed

      4.1
      1. 4.1.1

        Expose the container port

        There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
        4.1.1
    2. 4.2

      Ensure that the instance port is exposed

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      Check if the instance port is exposed in security groups. If not, modify the security group to expose the port.

      4.2
      1. 4.2.1

        Check if the instance port is open

        There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
        4.2.1
        1. 4.2.1.1

          Expose an inbound port on an ec2 instance

          There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
          4.2.1.1