Open in app

Sign In

Write

Sign In

SaurabhG
SaurabhG

191 Followers

Home

About

Mar 21

Code Snippet : Subprocess

import subprocess # s = subprocess.check_output([“echo”, “Hello World!”], shell=True) # s = subprocess.check_output([“dir”], shell=True) # s = subprocess.check_output([“dir”], shell=True,text=True) # s = subprocess.check_output([“cdk”, “ — version”], shell=True,text=True) # s = subprocess.check_output([“streamlit”, “version”], shell=True,text=True) # print(s)

1 min read

1 min read


Mar 16

AWS CDK App Life Cycle

Hi Folks, This blog is snippet from AWS CDK documentation, where I am sharing the AWS CDK App life cycle workflow. Please refer documentation link for the details. Documentation : https://docs.aws.amazon.com/cdk/v2/guide/apps.html#lifecycle App lifecycle The following diagram shows the phases that the AWS CDK goes through when you call the cdk deploy. …

AWS

3 min read

AWS CDK App Life Cycle
AWS CDK App Life Cycle
AWS

3 min read


Feb 10

Connect EC2 Instance using Git Bash via SSH command

Hi Folks, In my previous attempt to automatically start/stop Ec2 Instance I have written a shell script which takes Instance Id as input and perform actions(to stop or start the instance) based on instance state. AWS EC2 : Automation bash script to launch/start/stop Ec2 Instance(Ubuntu Instances) Hi Folks…saurabh-gangrade20.medium.com In extension to that, today I have written another script which performs similar action along…

AWS

4 min read

Connect EC2 Instance using Git Bash via SSH command
Connect EC2 Instance using Git Bash via SSH command
AWS

4 min read


Oct 4, 2022

Code Snippets

Here I am sharing code snippets comes out of troubleshooting or common use case Boto3 : NextToken in List items functions_list = [] response = lambda_client.list_functions() while True: functions_list.extend(response.get(‘Functions’)) if response.get(‘NextMarker’): response = lambda_client.list_functions(Marker=response.get(‘NextMarker’)) else: break

1 min read

1 min read


Jul 7, 2022

Pulumi Fundamentals and Architecture

Infrastructure As Code : Infrastructure as code (IaC) means using code to define and manage infrastructure. Infrastructure as code is about bringing software engineering principles and approaches into the cloud infrastructure space. Infrastructure as code is the latest step in the evolving process of defining and managing infrastructure. Before infrastructure…

Pulumi

3 min read

Pulumi

3 min read


Jul 7, 2022

Pulumi Tutorials and Infrastructure As Code (IAC)

Hi Folks, Hope you all are doing good there. Today’s age where almost all the organizations have onboarded their compute and infrastructure on Public or Hybrid cloud, the importance of having Infrastructure or Cloud Infrastructure definition and configuration as Code is unimaginable. P.S I will be keep adding further blogs…

Pulumi

4 min read

Pulumi Tutorials and Infrastructure As Code (IAC)
Pulumi Tutorials and Infrastructure As Code (IAC)
Pulumi

4 min read


Apr 30, 2022

Kubernetes Decision path

Kubernetes Decision path Hi Folks, Being DevOps Engineer or performing day in, day out task as Cloud Automation Engineer/Cloud Developer we often failed to make judgement on when to opt containerized solution or when to consume “The Kubernetes” Here I am sharing a path created by Sid Palas on DevOps Directive, about Kubernetes Decision Path. Please share this article or follow DevOps Directive or Sid Palas for more extensive knowledge on Kubernetes or other DevOps knowledge bites.

1 min read

Kubernetes Decision path
Kubernetes Decision path

1 min read


Apr 1, 2022

Code review — The Process for Developer and Reviewer

Hi Folks, Since the start of software development , there are two poles who never likes to get along each other. The Developer who writes code while scratching his head down & The reviewer who reviews that code keeping heads up. Jokes apart code review is an important which every…

2 min read

Code review — The Process for Developer and Reviewer
Code review — The Process for Developer and Reviewer

2 min read


Mar 22, 2022

Saurabh Writes ✍️

Tales of my experiences with life, relationships and realities about world Change you choose, Choice you made. — Saurabh ✍️ Be your own God if you can’t find Godfather. But first must lookout for Godfather. — Saurabh ✍️ Your Struggles makes you storyteller. Your Experiences makes you author. — Saurabh ✍️ Those who can not hear your crib about bad times, those possibly won’t be crying in your last times. — Saurabh ✍️

Quotes About Life

1 min read

Quotes About Life

1 min read


Feb 7, 2022

Python short-trick to load any local directory as python module in script

Hi Folks, As DevOps Engineer/ Python Developer, we often have been asked to write script which should perform some task through Azure DevOps or Jenkins. As we all know These DevOps tools Azure DevOps/ Jenkins etc have been hosted upon some VM instances in Any one of Cloud Provider for…

2 min read

2 min read

SaurabhG

SaurabhG

191 Followers

I am an enthusiastic learner. Always want to challenge my last learning & keep hunting for new learning. about.me/saurabh.gangrade

Following
  • The Educative Team

    The Educative Team

  • Nikos Katirtzis

    Nikos Katirtzis

  • Skanda Vivek

    Skanda Vivek

  • Yang Zhou

    Yang Zhou

  • Walter Lee

    Walter Lee

See all (906)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech