Skip to content

Instantly share code, notes, and snippets.

View chiragnayyar's full-sized avatar

Chirag Nayyar chiragnayyar

View GitHub Profile
@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

@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