How Do You Find the Subscription ID for an Azure Account?

Problem scenario
You want to find the subscription ID for your Azure account.  What do you do?

Possible Solution #1
Log into the Azure Portal.  In the upper right click on your account and then click on “My permissions.”  You should see an alphanumeric string near your subscription.

Possible Solution #2
Prerequisite

If you have Windows 7 you need to install Azure PowerShell;

What is an Azure Logic App?

Question
You have heard about Azure’s Logic Apps.  What are they and what do they do?

Answer
Azure Logic Apps are a PaaS solution.  Logic Apps execute in response to a triggering event (e.g., recurring on a schedule based on time, receiving a REST API call, or a Tweet being posted).  They initiate a variety of different tasks as you can determine the OS architecture (either Windows or Linux) without having to manage that same OS.

How Do You Change a User’s Password When You Cannot Log into Your Azure Linux VM?

Problem scenario
You have a Linux VM in Azure but you cannot log in.  You cannot remember a single password for the username you were using.  What do you do when you forgot all the credentials of a Linux VM except one username?  How can you log into this server?

Solution
Prerequisite
To reset access to the VM in the following way,

How Do You Configure SSH Passwordless Authentication between an AWS EC-2 Instance and an Azure Virtual Machine?

Problem scenario
You have a Linux server in AWS and another Linux server in Azure. You want to use scp without a password to transfer files rapidly.  How do you configure passwordless SSH authentication between the two servers?

Solution
1.  Run this command on each server:

ssh-keygen -t rsa -P “”

# Accept the default prompt by pressing enter.

2.i. 

How Do You Deploy a Kubernetes Cluster to Azure?

Problem scenario
You want to deploy a Kubernetes cluster to Azure.  You have an Ubuntu Linux server (e.g., with a nano flavor in AWS, a server on-premises, or an one vCPU Azure server with one GB of RAM).  It has no software packages installed on it (e.g., it does not have Docker or Kubernetes).  How do you deploy Kubernetes into Azure (from an instance in AWS)?

Solution
Warning: 

How Do You Create a Recipe or Cookbook to Make a Configuration Change on a Chef Client?

Problem scenario
You have a desired configuration that you want implemented with Chef.  You want a command to execute and a file to transfer via a Chef recipe or cookbook.  You have installed Chef server on one server (see this posting if you want to do this) and Chef client on another (see this posting for installing Chef client).  You want to use Chef for the first time doing something as an example. 

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?