Skip to content

Instantly share code, notes, and snippets.

View ravsau's full-sized avatar

Saurav Sharma ravsau

View GitHub Profile
@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 / 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
#!/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 / 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 / essential-aws-cli-commands.MD
Last active April 27, 2019 18:10
Essential commands for AWS CLI. Feel free to add some essential commands in the comments.

List all the discovered resources in your region

aws configservice get-discovered-resource-counts --query 'resourceCounts[].[resourceType,count]' --output table```
### Send a quick SMS/text message . Start with +counrtycode
```console
aws sns publish --phone-number +12012022034 --message "how are you"

Rename a S3 file

aws s3 mv s3://abc.net/snap.jpg s3://abc.net/snap1.jpg
@ravsau
ravsau / send-sms.MD
Last active June 5, 2023 01:17
send sms using AWS CLI

Send a quick SMS/text message .

aws sns publish --phone-number +12012022034 --message " This is bob. My phone's dead. I'll be home soon."

Things to note:

  • Start with +counrtycode
@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