Skip to content

Instantly share code, notes, and snippets.

View przygode's full-sized avatar

Katherine Przygode przygode

View GitHub Profile
@przygode
przygode / recipe.rb
Created July 27, 2011 21:50 — forked from peplin/recipe.rb
S3 File Resource for Chef
# Source accepts the protocol s3:// with the host as the bucket
# access_key_id and secret_access_key are just that
s3_file "/var/bulk/the_file.tar.gz" do
source "s3://your.bucket/the_file.tar.gz"
access_key_id your_key
secret_access_key your_secret
owner "root"
group "root"
mode 0644
end
file baseball-client.xml September 21, 2011 updated jetty cookbook and loggly cookbook. [przygode]
file baseball-server.xml October 19, 2011 updated bb-deploy-scripts to create directories ne... [przygode]
file baseball-website.xml October 19, 2011 added baseball-website.xml file. [przygode]
file jetty October 06, 2011 updated jetty recipe to fix /etc/init.d/jetty rest... [przygode]
file jetty-shared-webapps.xml 2 days ago updated java and jetty cookbooks to install specif... [przygode]
file jetty.conf 2 days ago updated java and jetty cookbooks to install specif... [przygode]
file jetty.xml October 06, 2011 added changes to configurations requested by D. Mo... [przygode]
file jmxremote.access September 21, 2011 updated jetty cookbook and loggly cookbook. [przygode]
file jmxremote.password September 21, 2011 updated jetty cookbook and loggly cookbook. [przygode]
file management.properties September 21, 2011 updated jetty cookbook and loggly cookbook. [przygode]
{
"Statement": [
{
"Action": ["iam:CreateGroup", "iam:DeleteGroup", "iam:DeleteGroupPolicy", "iam:GetAccountSummary", "iam:PutGroupPolicy", "iam:PutUserPolicy", "iam:UpdateGroup", "iam:ListAccountAliases", "iam:CreateAccountAliases", "iam:DeleteAccountAliases"],
"Effect": "Deny",
"Resource": ["*"]
}, {
"Action": ["ec2:CancelSpotInstanceRequests", "ec2:CreateSpotDatafeedSubscription", "ec2:DeleteSpotDatafeedSubscription", "ec2:DescribeReservedInstances", "ec2:DescribeReservedInstancesOfferings", "ec2:DescribeSpotDatafeedSubscription", "ec2:DescribeSpotInstanceRequests", "ec2:DescribeSpotPriceHistory", "ec2:PurchaseReservedInstancesOffering", "ec2:RequestSpotInstances"],
"Effect": "Deny",
"Resource": ["*"]
{
"Statement": [
{
"Action": [
"iam:CreateGroup",
"iam:DeleteGroup",
"iam:DeleteGroupPolicy",
"iam:GetAccountSummary",
"iam:PutGroupPolicy",
"iam:PutUserPolicy",
{
"Statement": [
{
"Action": [
"autoscaling:Describe*",
"cloudformation:DescribeStacks",
"cloudformation:DescribeStackEvents",
"cloudformation:DescribeStackResources",
"cloudformation:GetTemplate",
"cloudfront:Get*",
{
"Statement": [
{
"Action": [
"iam:CreateGroup",
"iam:DeleteGroup",
"iam:DeleteGroupPolicy",
"iam:GetAccountSummary",
"iam:PutGroupPolicy",
"iam:PutUserPolicy",
@przygode
przygode / Stratalux_Admin.json
Created May 26, 2012 00:42
Stratalux_Admin
{
"Statement": [
{
"Action": "*",
"Effect": "Allow",
"Resource": "*"
}
]
}
{
"Statement": [
{
"Action": [
"autoscaling:Describe*",
"cloudformation:DescribeStacks",
"cloudformation:DescribeStackEvents",
"cloudformation:DescribeStackResources",
"cloudformation:GetTemplate",
"cloudfront:Get*",
{
"Statement": [
{
#
#Setup explicit deny for specific actions that we don't want Stratalux employees to do.
#
"Action": [
"iam:CreateGroup",
@przygode
przygode / gist:3759617
Created September 21, 2012 03:46
AWSRegionArch2AMI
"AWSRegionArch2AMI": {
"us-west-2": {
"32": "ami-feec60ce",
"64": "ami-c258d6f2"
}
}