John Hanley

Security, software development and devops in a cloud world - AWS, Azure, Google, IBM & Alibaba

Page 2 of 2

Google Cloud Stackdriver – IP Addresses

I have worked with Google Cloud Stackdriver for about three months. The more I learn about Stackdriver the more I like it. Great product for logging, monitoring, error reporting, application tracing and application debugging and more. One of the items… Continue Reading →

Google OAuth 2.0 – Testing with Curl

Introduction If you have ever wanted to test Google OAuth 2.0 flows from the command-line, you will like this short article. [Update: I thought about the problem below with the copy and paste requirement. I created a simple python web… Continue Reading →

Google Cloud – Creating and Authorizing Service Account Credentials with the CLI

This article is written for Windows, but the same principles apply to Linux and Mac. A service account is a special Google account that is used with applications or services, such as, Google Compute Engine. Service account credentials are stored… Continue Reading →

Google Cloud – Where are my credentials stored

Google Cloud stores your credentials in a database on your system. These credentials can then be used over and over. Google’s choice of a database means that the CLI and SDK tools can manage a huge number of credentials efficiently…. Continue Reading →

Google Cloud – Setting up Gcloud with Service Account Credentials

In this article we will download and install the Google gcloud CLI. Then we will setup gcloud with Google Service Account credentials. This article is for Windows based system but the same principles apply to Linux and Mac systems. Step… Continue Reading →

Google Cloud – Understanding Gcloud Configurations

This article is written for Windows, but the same principles apply to Linux and Mac. I need to work with multiple Google Cloud accounts and be able to easily switch my credentials between accounts. For those of you with AWS… Continue Reading →

Google Cloud Private DNS Zones

On October 23, 2018, Google introduced private DNS zones for Google Cloud DNS. This is an important announcement as this keeps internal DNS names private. Today’s article covers how to implement this new feature in Google Cloud Platform. Update: May… Continue Reading →

Google Cloud Billing Catalog API

Google Cloud supports a Cloud Billing Catalog API. I have not worked with this API yet. Today, I plan to experiment. Documentation page to get started with Google Cloud Platform Pricing: Get Google Cloud Platform Pricing Information This API requires… Continue Reading →

Google Cloud – Debian 9 – Resize Root File System

In Google Cloud I often use Debian 9 Stretch for my test instances. Today I was wondering if this OS automatically resizes the root file system if I resize the VM instance disk. I also want to see if this… Continue Reading →

Comparing AWS & Google – IP Packet Forwarding

When you configure an instance that will forward packets, you need to change an option. The option name depends on the cloud vendor. Example usage would be a VPN, or NAT instance. Normally an instance is source or destination for… Continue Reading →

Let’s Encrypt – Debian 9 on Google Compute Instance

Let’s Encrypt is a Certificate Authority (CA) that issues free SSL certifications. I have used these certificates on web servers, cloud functions, load balancers, and many more. In this article I will show how to obtain an SSL certificate from… Continue Reading →

Windows Command Prompt – Loading a File into a Variable

Often I need to load the content of a file into a Windows Command Prompt variable. This is useful when writing batch scripts where the return value from one program is used as input for another program. At other times… Continue Reading →

Google Compute – Install Stackdriver

Date created: October 26, 2018 Last updated: March 10, 2019 Note: I have written a newer version of the this article that goes much deeper into setting up Google Stackdriver on Compute Engine. Google Compute – Stackdriver Logging – Installation,… Continue Reading →

Google Compute – Startup Script Total Execution Time

I have been testing Google Compute VM instances with custom startup scripts. I wanted to figure out how long my startup scripts were taking to initialize an instance. The VM instance has Debian 9 Stretch as the OS. Knowing the… Continue Reading →

Understanding Google Cloud Storage Scopes

Google Cloud Storage uses scopes to determine what permissions an identity has on a specified resource. Google scopes are formatted as urls. There are three basic types: read-only, read-write and full-control. read-only Only allows access to read data, including listing… Continue Reading →

CURL SSL Certificate Problem

If curl is not setup correctly for SSL (HTTPS) data transfers an error is displayed. The error message starts like this: curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: http://curl.haxx.se/docs/sslcerts.html There are several options… Continue Reading →

Hello Cloud World!

October 13, 2018. Welcome to my new blogging site where I will publish my articles on software development for the cloud. I support AWS, Alibaba, Azure, Google, and IBM. Languages C/C++, Python, PHP, Java/Scala, JavaScript/Node.js and C#/.NET. I prefer to… Continue Reading →

Newer posts »

© 2019 John Hanley — Powered by WordPress

Theme by Anders NorenUp ↑