Skip to content

Instantly share code, notes, and snippets.

@vikassach
vikassach / pre-commit
Last active November 28, 2023 15:37 — forked from danott/pre-commit
A git hook that automatically formats JavaScript and Ruby code on commit
#!/bin/sh
# ./.git/hooks/pre-commit
.git/hooks/pre-commit-format-javascript
.git/hooks/pre-commit-format-ruby
@vikassach
vikassach / aws-temp-token.sh
Created May 6, 2020 07:46 — forked from ogavrisevs/aws-temp-token.sh
Script to generate AWS STS token
#!/bin/bash
#
# Sample for getting temp session token from AWS STS
#
# aws --profile youriamuser sts get-session-token --duration 3600 \
# --serial-number arn:aws:iam::012345678901:mfa/user --token-code 012345
#
# Based on : https://github.com/EvidentSecurity/MFAonCLI/blob/master/aws-temp-token.sh
#
@vikassach
vikassach / aws-temp-token.sh
Created May 6, 2020 07:46 — forked from ogavrisevs/aws-temp-token.sh
Script to generate AWS STS token
#!/bin/bash
#
# Sample for getting temp session token from AWS STS
#
# aws --profile youriamuser sts get-session-token --duration 3600 \
# --serial-number arn:aws:iam::012345678901:mfa/user --token-code 012345
#
# Based on : https://github.com/EvidentSecurity/MFAonCLI/blob/master/aws-temp-token.sh
#
@vikassach
vikassach / ping-server.sh
Created October 12, 2019 19:36
Ping Servers
#!/bin/bash
declare -a servers=("google.com" "google.co.uk" "google.de")
MINUTES=1
INTERVAL_IN_SECONDS=10
TIMES=$(((${MINUTES} * 60)/${INTERVAL_IN_SECONDS}))
echo "${TIMES} times"
@vikassach
vikassach / aws-certification.md
Created February 8, 2017 13:26 — forked from miglen/aws-certification.md
AWS Certification guide and notes on how to prepare for the aws associate certification architect, sysops and developer exams

AWS Certification notes

Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.

To pass AWS certification, you should have:

  • Sound knowledge about most of the AWS services ( EC2, VPC, RDS, Cloudfront, S3, Route53 etc,)
  • Hands on experience with AWS services.
  • Good knowledge of disaster recovery, security and High availability architectures.

If you do not have prior hands-on experience and knowledge or you have little knowledge about AWS services, it is better to take an online course. If you already have experience in architecting solutions on AWS it is not necessary to take an online course.