Skip to content

Instantly share code, notes, and snippets.

@somic
somic / gist:123889
Created June 4, 2009 22:16
Prints out how many seconds ago this EC2 instance was started
#!/bin/bash
#
# Prints out how many seconds ago this EC2 instance was started
#
# It uses Last-Modified header returned by EC2 metadata web service, which as far
# as I know is not documented, and hence I assume there is no guarantee
# that Last-Modified will be always set correctly.
#
# Use at your own risk.
#
@dysinger
dysinger / gentoo-ec2.sh
Created March 31, 2009 22:36
Bare Minimum to boot Stage3 gentoo @ ec2
#!/bin/sh
# -*- sh -*-
# NOTE: This is the bare min needed to make an ec2 image from a stage3 gentoo image.
# !st Build a stage3 from somewhere. I use metro. ...then... ->
#
# Configure
#