Skip to main content
Christoph Petersen

Christoph Petersen

Ramblings about all things Cloud. Views expressed are my own.

Recent

Changing licensing from BYOL to PAYG for Windows Server on Google Compute Engine

Changing licensing from BYOL to PAYG for Windows Server on Google Compute Engine

·409 words·2 mins
Customers moving Windows Server workload to the cloud often leverage bring your own license (BYOL) to optimize licensing cost. At some point customers may decide to change the licensing model. Reasons could be restrictive licensing terms constraining which versions can be deployed or optimizations such as reducing the amount time a VM and by extension the licese is running per month, for which a permanently assigned license is not the ideal choice.
Changing provisioning model for Spot VMs

Changing provisioning model for Spot VMs

·234 words·2 mins
Spot VMs is a great way to reduce cost for interruptible, stateless and fault-tolerant workloads like batch processing or containers. Starting these types of VMs follows the same principles as regular VMs. The following snippet launches a C4A Spot VM:
Labeling at scale in Google Cloud Migration Center

Labeling at scale in Google Cloud Migration Center

·652 words·4 mins
Google Cloud Migration Center is a great way to understand the total cost of ownership (TCO) for a migration to Google Cloud by running automatic assessments or uploading information about an estate using the output of tools such as RVTools.
Deterministically creating service identities for APIs in Google Cloud

Deterministically creating service identities for APIs in Google Cloud

·175 words·1 min
Platform services in Google Cloud act in the context of a service account. While these default service identities are mostly generated automatically, it is not always deterministic when they are created. Some are created when the API is enabled, others will only be created on first use of the API. This makes it hard for managing IAM permissions for these identities - especially when employing infrastructure as code like Terraform.
Protect disk snapshots against accidental deletion or malicious tampering

Protect disk snapshots against accidental deletion or malicious tampering

·1421 words·7 mins
It could happen. Total mahem. An administrative pricipal for a project was accidentally leaked. An attacker has taken you projects hostage. You need to recover and fast. Restoring project access is the least of your worries your concern is to restore services. Luckily you have all workloads protected with snapshots! All deleted by the attacker! This is an exaggerated and hypothetical scenario but I have seen similar things happening. In this article I’m exploring an approach to protect against such a scenario.
Call Cloud Workflow from Cloud Scheduler with Terraform

Call Cloud Workflow from Cloud Scheduler with Terraform

·418 words·2 mins
Cloud Workflows provide an easy way for platform automation and integration without the need to write any code. It also integrates seamlessly with Event Arc and other platform components.
Removing (unclaiming) disks from Storage Spaces Direct (S2D)

Removing (unclaiming) disks from Storage Spaces Direct (S2D)

·310 words·2 mins
When running Storage Spaces Direct in Cloud environments where disk resources can be provisioned at a moments notice with any capacity, it can be the norm that disks will be (hot) added from a cluster to account for growing capacity or performance needs.
IAP command chaining

IAP command chaining

·584 words·3 mins
Identity-Aware Proxy (IAP) is a powerful tool in the tool chain of Google Cloud administrators and users. It can be used to control access to cloud-based and on-premises applications and VMs running on Google Cloud.
Enabling cross-project Microsoft Managed Active Directory integration for Cloud SQL for SQL Server

Enabling cross-project Microsoft Managed Active Directory integration for Cloud SQL for SQL Server

·1203 words·6 mins
One of the most requested features from customers that deploy Cloud SQL for SQL Server (Cloud SQL) has been Active Directory integration which was released last year. Since then Google Cloud has added cross-project capability which allows you to connect your Cloud SQL instance into a project that is different than the one hosting Managed Microsoft AD (Managed AD).