Skip to content

Instantly share code, notes, and snippets.

View r-singh's full-sized avatar

Rana Singh r-singh

  • Contractor
  • London
View GitHub Profile
#!/usr/bin/env bash
echo "AWS CLI Installation"
echo "Installs to: /usr/bin/aws"
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
curl -O https://bootstrap.pypa.io/get-pip.py
#!/bin/bash
#
# this script will attempt to detect any ephemeral drives on an EC2 node and create a RAID-0 stripe
# mounted at /mnt. It should be run early on the first boot of the system.
#
# Beware, This script is NOT fully idempotent.
#
METADATA_URL_BASE="http://169.254.169.254/2012-01-12"