Skip to content

Instantly share code, notes, and snippets.

View chiragnayyar's full-sized avatar

Chirag Nayyar chiragnayyar

View GitHub Profile
@chiragnayyar
chiragnayyar / gist:51d9c649298e546657791c9392c7acfe
Created May 21, 2016 07:02 — forked from mikepfeiffer/gist:4d9386afdcceaf29493a
EC2 UserData script to install CodeDeploy agent
#!/bin/bash
yum install -y aws-cli
cd /home/ec2-user/
aws s3 cp 's3://aws-codedeploy-us-east-1/latest/codedeploy-agent.noarch.rpm' . --region us-east-1
yum -y install codedeploy-agent.noarch.rpm
@chiragnayyar
chiragnayyar / gist:661eefb7dd0115fe9c1cd6e795cf5dd8
Created May 21, 2016 13:49
Install code deploy agent on ubuntu server
#!bin/bash
sudo apt-get -y update
sudo apt-get install -y python-pip
sudo apt-get install -y ruby2.0
sudo pip install awscli
cd /home/ubuntu
sudo aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region us-east-1; sudo chmod +x ./install;sudo ./install auto
sudo service codedeploy-agent status
@chiragnayyar
chiragnayyar / cloud_sql_flags.md
Created May 27, 2017 14:29
Cloud SQL Second Generation Tuned Flags for MySQL InnoDB

Important Notice

  • ❗ All flags and settings described here are subject to change without any notice.
  • Last update: March 2017

Introduction

This document describes a set of MySQL flags that have been tuned in Google Cloud SQL (Second Generation) to make the out-of-box experience better on Google Cloud. This is for your reference only, with the hope that some of the settings might also be useful outside the Google Cloud environment.

innodb_buffer_pool_size