How to run Django On a subpath – DevOps

23. June 2019 DevOps 0
Today, we were trying to run the Django application on a subpath say /backend/ . We were able to run it but some URL redirection from the application was still pointing it to the / URL instead of /backend/ Let me share the configuration a high level, please comment if you need any clarification. My ...

How to add a new check in Uptimerobot via API

12. September 2018 API, Monitoring 0
How to add a new check in Uptimerobot via API
Today I was thinking to automate the new addition of website check to our monitoring systems. Since we are using multiple providers for website monitoring, it is a headache to go to each portal and add the website to the portals. So, I have decided to add a Jenkins key where a single click will ...

Ansible Playbook – How to pass hostname or IP in the Command line

03. September 2018 SysAdmin 0
Ansible Playbook – How to pass hostname or IP in the Command line
Today I was thinking about passing the host IP on the ansible-playbook I’m going to run to automate something. As per the documentation, it says  –i hostname in a comma separated input will work fine. I was trying to give the IP like ansible-playbook playbook.yml -i 1.1.1.1 in the playbook command line and it was not working, then I figured out that we need ...

AWS Autoscaling is not working. Seems stuck

19. February 2018 AWS 0
AWS Autoscaling is not working.  Seems stuck
Issue Today I was working on a modifying autoscaling group and playing with some options in suspended action. After testing the things, I found that the new instances were not launching even if I haven’t suspended that action.   Debug As I checked, I had kept “Terminate” in the suspended action in the Autoscaling Group ...