While working with terraform you would have noticed that every time you execute a terraform plan it will download the latest version of terraform available for that provider.
While this is good if you are testing as you get the latest features but, it can create trouble in production if a buggy version gets deployed. So, it is always recommended that you lock down the version of provider. In this post we will show you how to do that.
Continue reading “Solved: How to lock Terraform provider version”
Terraform is a very useful tool for IaaS. As you would have already known that it create a .tfstate file to save the status of infra. If you are doing testing you can save the .tfstate locally on your laptop. But, if you are working in prod environment with team then it’s best that you save the .tfstate remotely so that it’s secure and can be used by other team members.
Here we will show you two ways of configuring AWS S3 as backend to save the .tfstate file.
Continue reading “Solved: How to configure Terraform backend on AWS S3”
Access denied; you need the SUPER privilege for this operation
You may get this error while trying to set values for RDS AURORA MySQL from the command line. It can be setting for long running queries or slow queries or many others.
If, you are sure you are trying to execute these changes using the master user then you can’t set these from command line.
Continue reading “Solved RDS : Access denied; you need the SUPER privilege for this operation”
In our earlier post we have described steps about how you can prepare for Architecting Microsoft Azure Solutions Certification. But, if you have just started your journey in Azure than it will be a good idea to start with the Azure developer certification which is 70-532 Developing Microsoft Azure Solutions .
Continue reading “Review of 70-532 Developing Microsoft Azure Solutions Certification preparation course by Scott Duffy”
The latest version of python is shipped with pip. But, if you are using older version of python 2(<2.7.9) or python 3(<3.4) and still need pip on windows please follow the instruction below.
If pip is not installed or the path is not set correctly you will get an error like below while invoking it in windows command prompt.
pip install sklearn
'pip' is not recognized as an internal or external command,
operable program or batch file.
Here are the steps to get pip in your windows box.
Continue reading “Solved : How to simply install python pip on windows?”
Identifying the files or directories which are hogging space in your windows machine can be very difficult specially if you have hidden files or they are in nested directories.
If you have worked on Linux you will know it has a very useful command du -sh. When i work on windows I really miss the Linux command which is very handy.
Thankfully you can find a utility at sysinternals on microsoft site which do the same job as du command in linux.
Continue reading “Solved : How to check disk usage in windows like Linux”
Earlier many system admins were using telnet to check if a port is open on remote machine. But, because of security concerns telnet is now not recommended to be installed on most linux boxes.
But hey we still need to check the remote port. This is part of normal troubleshooting in a linux admin’s life.
So, instead of using telnet you can use nc. netcat or nc is a simple tool which is generally installed by default in linux distributions or you can install it with instructions below.
Continue reading “Solved : Check without telnet if port is open on remote host – Linux”
Q What is Shell?
Ans: Shell is a command interpreter, which interprets the command which the user gives to the kernel. It can also be defined as an interface between a user and operating system.
Q How to debug the problems encountered in shell script/program?
Continue reading “Real shell scripting interview questions”
In this post we will show you how to reset the master user password of an RDS DB instance. The new password after reset will be effective immediately.
Continue reading “Solved: How to reset RDS master user password”