Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!


Project description

Simple tool to ensure that an AWS instance is healthy (ELB-Based)


From inside an target EC2 instance::


Instance i-0d26836d9ab61a235 is healthy

Call to check for its own health.

From outside an target EC2 instance::

$ sa-east-1 i-0d26836d9ab61a235

Instance i-0d26836d9ab61a235 is healthy

Call [region_name] [instance_id] to check for its health.

From within your own python script::

from vivareal.cli.is_instance_healthy import is_instance_healthy

status = is_instance_healthy(‘sa-east-1’, ‘i-0d26836d9ab61a235’)


>>> (True, 'N/A', 'N/A')

When calling from within your own python script, the tuple structure is: - Healthy (boolean) - ReasonCode (string) - Description (string)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aws-is-instance-healthy, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size aws-is-instance-healthy-0.6.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page