Skip to content

Instantly share code, notes, and snippets.

View chitopunk's full-sized avatar
💭
deploying beer

Leon Garcia chitopunk

💭
deploying beer
View GitHub Profile

Keybase proof

I hereby claim:

  • I am chitopunk on github.
  • I am chitopunk (https://keybase.io/chitopunk) on keybase.
  • I have a public key whose fingerprint is E974 AC22 DABC 2BAA D606 2C67 476D BCF4 8549 F49A

To claim this, I am signing this object:

@chitopunk
chitopunk / ec2.py
Created May 6, 2016 20:39 — forked from iMilnb/ec2.py
AWS EC2 simple manipulation script using python and boto3
#!/usr/bin/env python
# Simple [boto3](https://github.com/boto/boto3) based EC2 manipulation tool
#
# To start an instance, create a yaml file with the following format:
#
# frankfurt:
# - subnet-azb:
# - type: t2.micro
# image: image-tagname
facts.yaml:
partitions:
xvda1:
uuid: "098932c4-ca23-435d-8a67-06ccb2caefd6"
size: "530082"
mount: /boot
filesystem: "ext2\x22 TYPE=\x22ext3"
xvda2:
size: "46443915"