How Do You Turn off OS Firewalls in an AWS Instance of Linux SUSE?

Problem scenario
You are running Linux SUSE in AWS.  You want to have no firewalls running on the OS.  How can you be sure that there is no OS-level firewall running in Linux SUSE?

Solution
#1  Become root with this command: sudo su –
#2  Enter this command:  yast firewall
#3  You will see either a screen that warns you about another firewall running or you’ll see the YaST2 screen for a firewall. 

How Do You Create a Linux Server in Azure with PowerShell When You Keep Getting an Error “Status Code: 400…Bad Request”?

Problem scenario
You are trying to create a Linux server in Azure with the Azure Tools for PowerShell.  You receive this message:

“Destination path for SSH public keys is currently limited to its default value due to a known issue in Linux provisioning agent.”

You see  “StatusCode: 400 … ReasonPhrase: Bad Request.”

What do you do to create an Ubuntu 16.x server and not get this error?

To Use Chef’s Basic Features, How Do You Register a Chef Client with Your Chef Server?

Problem scenario
You have installed Chef server on a RedHat Enterprise Linux (RHEL) server in AWS.  You have installed Chef client on another RHEL instance in  AWS.  You simply want your Chef client to receive configuration management changes (e.g., you want Chef recipes to work).  The command “chef node list” on your Chef client server returns no servers.  You ran this command from the Chef client:

sudo chef-client -S https://<FQDN of Chef server>/organization/contint

But you received an error like this:

Chef encountered an error attempting to create the client “<FQDN of Chef Client computer>”
================================================================================

System Info:
————
chef_version=13.4.19
ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
program_name=chef-client worker: ppid=5156;start=14:10:31;

How Do You Find What Resource Groups You Have with Azure PowerShell?

Problem scenario
You want to find the resource groups in your Azure account.  Either you have already installed Azure PowerShell on Windows 7 or on Windows 10 you have installed the Azure modules.  You have connected to an Azure account (e.g., with this command Login-AzureRMAccount). What is the PowerShell command to list the resource groups in the Azure account?

Solution
Run this command:
Find-AzureRmResourceGroup

# It will work with the Azure Cloud Shell too.

How Do You Use PowerShell on Your Desktop to Manage Azure?

Problem scenario
You want to use PowerShell on your local machine to create, delete, and restart servers in Azure.  You want to do other things with Azure using PowerShell on your workstation.  What do you do?

Solution
1.  To run Azure commands from your desktop, you need to connect your PowerShell ISE with your Azure instance.  If you are using Windows 10, see this posting and ignore this set of directions here entitled “How Do You Use PowerShell on Your Desktop to Manage Azure?” 

How Do You Create a Chef Automate Server in Azure?

Problem scenario
You want to have a Chef Automate server in Azure.  How do you create one?

Solution
1.  In the Azure portal click the “New” button on the left.
2.  Search for “Chef Automate” with no quotes.
3.  Click “Create”.
4.  Fill out the required configuration settings.  Make a mental note of the Chef Automate FQDN DNS Label that you provide (e.g.,

How Do You Create an Ubuntu Linux VM in Azure Using PowerShell Azure?

Updated 1/12/19

Problem scenario
You want to create an Ubuntu Linux server with one vCPU and one GB of RAM in Azure using PowerShell.  You want to use Azure Resource Manager (an ARM template).  You do not want to use the Azure Portal for 95% of the work involved.  What do you do to automate the process (including the deployment of a resource group, a network security group,

How Do You Create Servers Using .JSON Files and Resource Manager in Azure?

Problem scenario
You want to automate the creation of servers in Azure.  You want to try ARM templates to learn more about them.  How do you use .json files and Azure PowerShell to do this (without using the web UI)?

Solution
Prerequisites
i. You have a way of running Azure PowerShell commands.  If you need assistance with this, see this posting if your workstation is running Windows 7 or this posting if your workstation is running Windows 10. 

How Do You Resize a Server in Google Cloud Platform?

Problem scenario
You want to increase the amount of RAM that a VM instance has in GCP.  How do you do this?

Possible Solution #1
1.  Log into Google Cloud Platform
2.  In the “Cloud Engine” screen click on VM “instances.”
3.  You should see a list of VM instances.  Under the “Recommendation” tab you will see “Increase perf.”  Click on this.