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

Synology NAS – LDAP Integration issue

15. July 2017 AWS 0
Synology NAS – LDAP Integration issue
Issue After the latest update of Synolofy NAS 6.1, the LDAP integration is no more working. The NAS is throwing error while clicking on the LDAP detected users. Solution NAS >> Domain / LDAP >> LDAP >> Profile >> Filter >> add the below in Shadow Section. objectClass=posixAccount Jobin Josephhttps://nixhive.com/

SSH or git-clone via Proxy

SSH or git-clone via Proxy
Today we were setting up few Web servers on a private network which will be serving the traffic through the Load Balancer. The setup was simple until we came to know that the Webservers needs to connect to github.com for the repository access.   Diagnosis We have a jumpbox / Bastion (10.10.1.10) which is used for ...

Jenkins not starting on CentOS 7 / RHEL 7

Jenkins not starting on CentOS 7 / RHEL 7
Today i was installing Jenkins on a CentOS7 systems. After installing it via Jenkins yum repository, the service was not stating. The java was already installed on the server. Issue You have installed jenkins on a CentOS7 / RHEL7 system. jenkins is not starting via systemctl start jenkins command, and it is throwing journalctl -xn error. Caused ...

Disable SU access for sudo users

11. January 2017 AWS, CentOS, RHEL 0
Disable SU access for sudo users
Some times you need to disable sudo su – access on your environment so that the users will use sudo command always and they will not switch to any other users account unnecessarily Lets see how to do it Edit the /etc/suoders by running visudo visudo Add the below Command Alias Cmnd_Alias BLOCKSU = /bin/su ...

How to set custom DNS on CentOS7 AWS

30. August 2016 AWS, CentOS 0
How to set custom DNS on CentOS7 AWS
There may be scenarios, when you need to use a custom DNS server for your Instances. So if you are deploying your application on an CentOS 7 on AWS, lets see how can set a custom DNS server such as 8.8.8.8 and 8.8.4.4 Edit the following file, vim /etc/sysconfig/network-scripts/ifcfg-eth0 change the line PEERDNS="yes" to PEERDNS="no" Now, Edit the ...

EC2 Ubuntu – Allow SSH root login with Password

16. August 2016 AWS 0
EC2 Ubuntu – Allow SSH root login with Password
Amazon AWS doesn’t allow root access by default on the OS level. Even though this is for recommended for security purpose, you may need to enable it for some high level operations such as conversion to OVA or VMware etc. Environment Amazon EC2 Ubuntu 10.X (Should work with other linux versions too) How to Open ...