Skip to content

Instantly share code, notes, and snippets.

View AsTheSeaRises's full-sized avatar

FuzzyGorilla AsTheSeaRises

  • London
View GitHub Profile
@leonardofed
leonardofed / README.md
Last active July 19, 2024 17:51
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@nirbhabbarat
nirbhabbarat / cleanup_aws_volume_snapshot.py
Created February 18, 2018 06:48
Delete AWS volume snapshots older than 30 days via python boto3
#!/usr/bin/env python
##### USE ON YOUR OWN RISK - THIS IS GOING TO delete_snapshot OLDER THAN 30 DAYS
import datetime
import sys
import boto3
age = 30
aws_profile_name = 'prod'
def days_old(date):
date_obj = date.replace(tzinfo=None)
diff = datetime.datetime.now() - date_obj