Use Boto3 to Recover Deleted Files in AWS S3 Bucket

Recover Deleted Files

So it happened. One of our techs ‘accidentally’ deleted all the directories and files in one of our S3 buckets. I enabled S3 Bucket Versioning on all our important buckets. So the deleted files are still there with the ‘latest version’ of the file being a Delete Marker. If you… Continue reading

Using Boto3 to find Users and HostRoles with certain AWS Policy

Recently I was asked to scour multiple AWS accounts to find any users or host role that had the S3FullAccess policy applied.    So I came up with the following that will go through all users and roles to identify the ones with the S3FullAccess policy assigned. You can use this… Continue reading

How to Setup a GPS PPS NTP Time server on Raspberry Pi

The South Florida Amateur Astronomers Association is currently working on a project to coordinate multiple Radio Telescope collection points.   This would require very precise time stamps on recorded data, much more accurate than what public NTP server pools could deliver.     So we successfully built as close to… Continue reading

How to Install OwnCloud to Ubuntu 14.04 LTS

This quick how-to steps you through a simple installation of OwnCloud to a Ubuntu 14.04 server. First, you need some prereqs: sudo apt-get install php5-gd mysql-server To begin, you need to add the repository for ownCloud for ubuntu 14.04. wget -nv https://download.owncloud.org/download/repositories/stable/xUbuntu_14.04/Release.key -O Release.key apt-key add – < Release.key Next,… Continue reading

How to Install Universal Media Server UMS on Ubuntu in Headless mode for 14.04 or 16.04

Updated for Ubuntu 14.04 or 16.04 03-15-18 Universal Media Server is a fork off the very useful PS3 and PS4 Media Server. And although the PS3MediaServer was a great solution, it did have some shortcomings, especially with certain file formats or file containers. I tried UMS and loved it. It… Continue reading

StrongSwan Ipsec VPN for Remote Users with Certificate Based Authentication

This is a working strongswan ipsec config that can be used for a roadwarrior setup for remote users utilizing certificate based authentication instead of id/pw. This is a pure IPSEC with ESP setup, not L2tp. This is not 2 factor, it is cert only. To get started: sudo apt-get install… Continue reading