Skip to content

Instantly share code, notes, and snippets.

View ravsau's full-sized avatar

Saurav Sharma ravsau

View GitHub Profile

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@ravsau
ravsau / spark-emr-wordcount.MD
Last active September 21, 2019 02:31
Spark-word-count-on-aws-emr
@ravsau
ravsau / linux-ports.MD
Created June 1, 2019 20:13
Ports Linux Troubleshooting

Kill Process running a certain port:

kill -9 `lsof -t -i :port_number`
@ravsau
ravsau / vpc.tf
Created March 6, 2019 02:39
vpc deny tag terraform file
resource "aws_iam_policy" "policy" {
name = "test_policy"
path = "/"
description = "My test policy"
policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
@ravsau
ravsau / terraform-lab.md
Last active June 15, 2021 06:24
Terraform lab
@ravsau
ravsau / reinvent.MD
Last active December 27, 2018 22:55
My 2018 AWS Re:Invent Watchlist

Reinvent is one of those conferences , where even you don't go to the actual conference, you benefit from it because of the sheer amount of content it generates of which most of the sessions are uploaded to youtube. Other than the actual sessions, the social media buzz and discussions around the time of the conference is equally enjoyable and full of insights.

For this past Reinvent. I have made a list of sessions that I want to watch over the next year:

AWS CLI

https://www.youtube.com/watch?v=i4Prnei87ao

@ravsau
ravsau / cli-cloud.MD
Created December 27, 2018 17:03
Simple CLI commands for Amazon S3 and GCP Cloud Storage

For the following commands to work, you need to have AWS CLI and gstuil installed. For gsutil, you can use the GCP cloud shell. For AWS CLI , you can provision an Aaazon Linux EC2 insances which comes with the S3 CLI Installed.

List buckets in AWS S3

aws s3 ls

List buckets in GCP Cloud Storage

gsutil ls
@ravsau
ravsau / contact-app-debug.MD
Last active December 23, 2018 07:05
contact-app-debug
  1. Go to the lambda function

screen shot 2018-12-23 at 1 19 31 am

  1. Click on Monitoring Tab

screen shot 2018-12-23 at 1 22 26 am

  1. Find the most recent log where the function ran without errors. image

  2. Record the timestamp

@ravsau
ravsau / Operational-Excellence.MD
Last active December 4, 2018 03:16
Few Points to achieve operational excellence from the new Well Architected tool on AWS released Reinvent 2018

OPS 1. How do you determine what your priorities are?

Everyone needs to understand their part in enabling business success. Have shared goals in order to set priorities for resources. This will maximize the benefits of your efforts.

  • Evaluate external customer needs

  • Evaluate internal customer needs

@ravsau
ravsau / reinvent.MD
Last active May 14, 2019 16:20
AWS Reinvent 2018 Videos