AWS, DevOps

Integration of AWS CodeDeploy with Jenkins

We have been working on a scenario where we want to automate testing, build, deploy and revert in one Jenkins job. Currently, we are using separate Jenkins jobs for testing, deploying and reverting the code changes. We would be automating these tasks using AWS CodeDeploy with Jenkins. Jenkins can provide us the functionality to run...

by Parag Gupta
Tag: python
30-Aug-2016

DevOps, Technology

Master-Slave Load Testing using Locust

In the previous blog we have discussed what is locust , why we use locust for load testing and how to implement it. So if you are wondering what locust is and how it works or for a better understanding, see locust .Now in this blog we are here to discuss about running locust in distributive way. For a single machine it is not enough...

by Mayur Rastogi
Tag: python
27-Jul-2016

AWS, DevOps

Python Borrowing Resources using Fabric

In my previous blog post, I wrote about Cost Optimizations for the various AWS resources. The script consisted of six methods and the overall time required for the script to execute was roughly about 15-20 mins. While the script is running, it used to slow down my system. Also, there was a time consumption due to many reasons like...

by Aman Jain
Tag: python
18-Jul-2016

AWS, DevOps

Concurrency and Parallelism using Python

As we know Python supports multiple approaches for concurrent programming with threads, sub-processes and some other ways which could help achieving solutions built on multiple CPUs or multi-core CPU.   I tried implementing something similar on my existing use case for AWS Security Re-Check where I was running a check on...

by Sakshi Singhal
Tag: python
14-Jul-2016

AWS, DevOps

Access and Modify Google Sheet using Python

  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. ...

by Navjot Singh
Tag: python
30-Jun-2016

AWS, DevOps

6 Tips for AWS Cost Optimization

As we know AWS provides a good edge in terms of cost over the on-premises data center or in a co-location environment with its On Demand and Reserved pricing. As it is rightly said "Reducing the overall cost is a high priority" and it is true for any organization whether big or small. By using AWS we can lower the IT costs, compute...

by Aman Jain
Tag: python
30-Jun-2016

AWS, DevOps

AWS Autoscaling group configured with ELB and Alarms in Boto (Python)

Autoscaling is a service in AWS, which is used to launch or terminate an instance based on user-defined policies, health checks, and schedules. There are several ways to configure an auto-scaling group in AWS, here we are focusing on implementing it in python using AWS python module boto. Before Creating  an Autoscaling Group ...

by Mayur Rastogi
Tag: python
23-Jun-2016

AWS, DevOps

AWS Security Re-Check

Security is of prime importance for any cloud vendor including AWS. AWS follows a Shared Responsibility Model for security. As the name Shared Responsibility Model suggests, security on AWS is not the sole responsibility of either AWS or the customer. It is a combined effort from both parties. The responsibility of AWS includes providing...

by Sakshi Singhal
Tag: python
23-Jun-2016

DevOps, Technology

Performing Heavy Load Testing on your Website using Locust

Locust is open source and distributed load testing tool , intend to load test websites. A fundamental feature of locust is that you can describe all your test case in python code. This lightweight, distributed and scalable framework helps us to find out how many concurrent users a system can handle by writing test case scenarios in...

by Mayur Rastogi
Tag: python
08-Jun-2016

AWS, DevOps

AWS CodeDeploy Automatic Rollback using AWS Lambda

AWS Lambda is a compute service where we can upload our code to AWS Lambda and the service can run the code on our behalf using AWS infrastructure. AWS CodeDeploy is a service that automates code deployments to Amazon EC2 instances. AWS CodeDeploy makes it easier to rapidly release new features, helps to avoid downtime during...

by Shruti Lamba
Tag: python
08-Jun-2016

AWS, Technology

Continuing with Boto: List IAM users having 90 days older Access keys

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...

by Vikash Jha
Tag: python
01-Jul-2015

AWS

EC2 Backup Manager : Python Scripts

EC2 Backup Manager : Python Scripts One of the most important requirements in any projects is regular backups. On one of our projects we were using Netflix's backup monkey and graffiti monkey combined to take snapshots of all the volumes in the account. But this deviated slightly from our requirement, we only required the backups of...

by Hitesh Bhatia
Tag: python
24-Apr-2015