We usually come across few scenarios where we need something to run on the remote servers for the sake of automation. I came across such a use case in AWS where I need to run fabric on a server to be triggered from AWS Lambda. This fabric script further does few tasks on other servers. Background/Scenario: While working on a spot...
Vagrant is a development friendly tool to make easy creation of development environments. In its own words it "Creates and configures lightweight, reproducible, and portable development environments". Today we are going to learn how we can use chef-zero to provision guest OS for the development environment. We are not going to explore...
Selenium is a tool widely used for automating testing of web applications. One step ahead, integrating the selenium with Jenkins takes it to the next level. In this blog, we would be configuring Jenkins to run selenium test cases on an ubuntu environment. Scenario: Configure Jenkins to perform Selenium test cases with one click. ...
This would be my first blog where I am using Python. I am excited to share what I did using Python. I wanted to update google sheet using bash shell scripting but did not found anything I can play around using bash. Later, I opted for Python as it provides "gspread" library which could be used to work on google sheet. ...
DevOps integrates development and operations by maintaining close communication and collaboration across Development and Operations. Development, Testing, and Operations are all directed towards a common goal and work according to inputs from each other. DevOps as a service automates the end-to-end delivery processes within an...
Before we get started, on how to handle authentication window in Selenium WebDriver. Let’s discuss what authentication window is & why it is used in applications? What is Authentication Window? Authentication is a process which is required to access some applications in which HTTP authentication is used for security purpose....
Building a Docker image from a Dockerfile, creating a latest tag and pushing it on DockerHub are equivalent to executing three different commands manually. This could be automated by creating a bash script. Well, that was not a big deal until I had a requirement where I needed to perform above actions and additional task of immediately...
Recently, we came across a scenario where we need to create AMIs of multiple production servers running in four different AWS accounts. One solution was to create an automation script to be run on an AWS EC2 instance running in each aws account which would create AMI of all production servers running in each account. This would have...
AWS recommends to rotate your IAM user's Access keys periodically. Sometime we create access keys for IAM user and keep using it. We forget to rotate the keys after a period of time, which is not considered as a good practice. Recently, we came across a use case wherein we were supposed to rotate the access keys which were created 90...
In one of my recent projects, while working on Jenkins, I was required to create and implement a Project-based Matrix Authorization Strategy. Installation of Jenkins is a simple task, but it took me a while to implement this strategy and later I found it quite easy enough and thought of writing a blog. Project-based Matrix...