Skip to content

Instantly share code, notes, and snippets.

View ravsau's full-sized avatar

Saurav Sharma ravsau

View GitHub Profile
#!/bin/bash
#
readonly PROGNAME=$(basename $0)
readonly PROGDIR=$(readlink -m $(dirname $0))
readonly ARGS="$@"
#
# Get up to date JSON file of stable plugins
#
@ravsau
ravsau / desired-plugins.txt
Last active July 14, 2018 17:50
plugins for jenkins
docker-commons
jdk-tool
pipeline-graph-analysis
script-security
command-launcher
pipeline-rest-api
cloudbees-folder
bouncycastle-api
docker-workflow
structs
@ravsau
ravsau / README.md
Created July 30, 2018 03:44 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

OP: @leonardofed founder @ plainflow.


@ravsau
ravsau / aws-certs-prep.MD
Last active July 30, 2018 04:04
AWS Solutions Architect Exam ( or any associate level Exam) preparation guide and List of Resources for further studies:

Things that will contribute the most towards your success in my opinion:

  • Hands on experience and hours spent doing labs - 20%
  • Read the white papers - 20%
  • Master the VPC fundamentals- 15%
  • Master Security and IAM Fundamentals- 20%
  • Master Core services: 25%

Most important services

@ravsau
ravsau / linuxcommands.MD
Last active August 6, 2018 12:45
Linux favorite commands

create alias

alias gl='git log'

then when you execute a command

gl

you will get the same output as git log
Very powerful and effcient feature

@ravsau
ravsau / serverless.MD
Created August 8, 2018 04:20
serverless

Serverless resource

@ravsau
ravsau / Cloud-strategy.MD
Last active August 9, 2018 05:35
Cloud Strategy
  • Follow the AWS well architected framework (CROPS) ( Cost optimization, Reliability , Operational exelence, Performance, Security )
  • Use tools like Trusted Advisor , AWS Config and other third party tools like Cloudcheckr, Cloud custodian etc to manage resources and cost.
  • Try to use managed Services as much as you can , because it eliminates the need to manage infrastructure.
    • EMR service on EC2 lets you run Map Reduce and Spark jobs easily.
    • RDS makes it easy to create multi-AZ and read replica
  • Explore and make use of serverless services
    • Use CloudWatch Events+ Lambda to replace the CRON server
    • Use DynamoDB for serverless Database
    • Use services like Amazon Athena which lets you query files on S3 using SQL
  • Route 53 is serverless
@ravsau
ravsau / cross-account-roles.MD
Created August 10, 2018 01:07
aws-cross-account-iam-roles

Steps:

  1. Go to the grantee account , to the IAM console image

  2. Click create role and select the Another account options. Put the account ID in the box. Click Next image

  3. Select the proper permissions. In my case I'm choosing S3 full access. Click next image

@ravsau
ravsau / terraform.MD
Last active September 5, 2018 02:05
Terraform notes
@ravsau
ravsau / kinesis-s3-ec2-twitter-streams.MD
Created September 23, 2018 21:32
kinesis-s3-ec2-twitter-streams.MD

Step 1: Create a kinesis firehose
Step 2: Have a log producing app running on AWS. In this case, it's a twitter stream
Step 3: Download kinesis agent on the same instance and configure and start it