Open in app

Sign In

Write

Sign In

KUSHAGRA BANSAL
KUSHAGRA BANSAL

31 Followers

Home

About

Published in Nerd For Tech

·Jul 8, 2021

Host a static website on s3 using webhook jenkins

Hint: Read about webhook in jenkins Note: this is a pipeline approach ANS: Step-1: Setup simple S3 Bucket Step-2: here we are using Automated Pipeline Approaches https://github.com/kushagra67414/jenkins-static-s3-deploy It consists of Jenkins pipeline and policy required for s3 bucket to allow public access & index.html and error.html files

Jenkins

3 min read

Host a static website on s3 using webhook jenkins
Host a static website on s3 using webhook jenkins
Jenkins

3 min read


Published in FAUN Publication

·Jun 21, 2021

Git-secrets installation in Windows

Prerequisite: Git must be configured in windows OS. Clone awslabs/git-secrets repo using git-bash Follow the below document to configure git-secrets globally… Update your git using git-bash. Execute the following command on git-bash. git update-git-for-windows 2. Clone the repo Command: git clone https://github.com/awslabs/git-secrets.git 2. open PowerShell “run as administrator” go to…

Git

2 min read

Git-secrets installation in Windows
Git-secrets installation in Windows
Git

2 min read


Published in Nerd For Tech

·Jun 6, 2021

Ansible Vault | Role | Conditions

Prerequisite: Ansible Playbooks | Loops | Handlers Prerequisite:medium.com Condition: Conditions mean working on different scenarios different conditions are required to execute those conditions. In ansible YAML script we use the “when” command to give the condition. Let’s take an example of a script: Script: --- # My Condition Playbook - hosts: developers user: ansible become: yes…

Ansible Playbook

4 min read

Ansible Vault | Role | Conditions
Ansible Vault | Role | Conditions
Ansible Playbook

4 min read


Published in Nerd For Tech

·Jun 5, 2021

Ansible Playbooks | Loops | Handlers

Prerequisite: Ansible-Ad-hoc | Modules | Host patterns Prerequisite:medium.com The playbook in Ansible is written in YAML format. It is a human-readable data serialization language and used for the configuration file. In the playbook, we can write codes consist of Var, tasks, handler, files, templates, and roles. …

Ansible

3 min read

Ansible Playbooks | Loops | Handlers
Ansible Playbooks | Loops | Handlers
Ansible

3 min read


Published in Nerd For Tech

·Jun 4, 2021

Ansible-Ad-hoc | Modules | Host patterns

Prerequisite: Establish a connection between Ansible server and two-node using SSH & ssh-keygen Ansible is an open-source automation engine that automates software provisioning, configuration management, and…medium.com node2 [172–21–32–33] node1 [172–31–42–50] server [172.31.38.62] Host Patterns => Here, we check the numbers of nodes connected to our server in any pattern. Commands: ansible all — lists-hosts ansible — lists-hosts ansible [0] — lists-hosts

Ansible

4 min read

Ansible-Ad-hoc | Modules | Host patterns
Ansible-Ad-hoc | Modules | Host patterns
Ansible

4 min read


Published in Nerd For Tech

·Jun 3, 2021

Establish a connection between Ansible server and two-node using SSH & ssh-keygen

Ansible is an open-source automation engine that automates software provisioning, configuration management, and application deployment. Pro’s Push-based configuration management tool. Ansible is agentless. No need to install any services on nodes (client). It is secure due to its agentless capabilities and open SSH Security Features. Ansible does not need any…

Ansible

6 min read

Establish a connection between Ansible server and two-node using SSH & ssh-keygen
Establish a connection between Ansible server and two-node using SSH & ssh-keygen
Ansible

6 min read


Published in Nerd For Tech

·May 15, 2021

AWS-Lambda-Trigger_Automation

Setup S3 Trigger with Lambda and Dynamo DB. Here, we will update the dynamo DB by fetching/triggering the new files added in the S3 bucket using the AWS lambda function which will we be complete automation. Step-1: Create an IAM role (having specific permissions to access the AWS services)…

AWS Lambda

4 min read

AWS-Lambda-Trigger_Automation
AWS-Lambda-Trigger_Automation
AWS Lambda

4 min read


Published in Nerd For Tech

·May 13, 2021

Serverless compute on AWS

AWS Lambda is a compute service from Amazon Web Services that allows you to run code without providing or managing servers. With AWS Lambda, you can run code for almost any type of application or backend service with no need for an administrator. Aws manages various administrator services: Provisioning and…

AWS

4 min read

Serverless compute on AWS
Serverless compute on AWS
AWS

4 min read


Published in FAUN Publication

·Apr 21, 2021

Roles and Its Importance in CHEF

Prerequisite => https://bansalkushagra.medium.com/what-is-bootstrapping-uploading-cookbook-in-chef-server-node-configurations-db59c1991514 Basic commands to List and delete cookbooks, roles, list of clients and nodes 1. To list cookbooks in chef-server Ø knife cookbook list 2. To delete the cookbook from the chef-server Ø knife cookbook delete <cookbook_name> -y 3. To list nodes in chef-server Ø knife node list

DevOps

6 min read

Roles and Its Importance in CHEF
Roles and Its Importance in CHEF
DevOps

6 min read


Published in Nerd For Tech

·Apr 18, 2021

What is bootstrapping | Uploading cookbook in Chef-Server | Node Configurations

Prerequisite: https://medium.com/nerd-for-tech/attributes-in-chef-a56073de90ea https://medium.com/nerd-for-tech/runlist-multiple-recipes-linux-group-users-in-chef-170afcb51fba Step-1: Access your Amazon EC-2 machine and follow the below command: Ø sudo su Ø cd cookbooks Step-2: Create an account of chef-server. Go to https://manage.chef.io/login, create an organization for your chef-server. …

Chefs

6 min read

What is bootstrapping | Uploading cookbook in Chef-Server | Node Configurations
What is bootstrapping | Uploading cookbook in Chef-Server | Node Configurations
Chefs

6 min read

KUSHAGRA BANSAL

KUSHAGRA BANSAL

31 Followers

DevOps Engineer

Following
  • Ritika_Malhotra

    Ritika_Malhotra

  • Cassie Kozyrkov

    Cassie Kozyrkov

  • Ashish Patel

    Ashish Patel

  • Ömer KARABACAK

    Ömer KARABACAK

  • Tim van Baarsen

    Tim van Baarsen

See all (24)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech