Skip to content

Instantly share code, notes, and snippets.

View dastergon's full-sized avatar

Pavlos Ratis dastergon

View GitHub Profile

Availability Table - Cheat sheet

Availability level Downtime per year Downtime per quarter Downtime per month Downtime per week Downtime per day Downtime per hour
90% ("one nine") 36.5 days 9 days 3 days 16.8 hours 2.4 hours 6 minutes
95% 18.25 days 4.5 days 1.5 days 8.4 hours 1.2 hours 3 minutes
99% ("two-nines") 3.65 days 21.6 hours 7.2 hours 1.68 hours 14.4 minutes 36 seconds
99.50% 1.83 days 10.8 hours 3.6 hours 50.4 minutes 7.20 minutes 18 seconds
99.9%("three nines") 8.76 hours 2.16 hours 43.2 minutes 10.1
@dastergon
dastergon / ec2_info_retriever.py
Last active April 23, 2024 09:19
A basic boto3 based tool for retrieving information from running EC2 instances.
from collections import defaultdict
import boto3
"""
A tool for retrieving basic information from the running EC2 instances.
"""
# Connect to EC2
ec2 = boto3.resource('ec2')