google-compute-engine"/>
  • 4
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

Any idea whether Google bills for IP that are attached to stopped VMs, and is it the same rate as for an unused IP? (which actually makes sense).

https://cloud.google.com/compute/pricing#ipaddress says:

  • Static IP address (assigned but unused) - $0.010 / h
  • Static IP address (assigned and in use) - No charge
  • Ephemeral IP address (attached to instance or forwarding rule) - No charge

Find out unused:

bash# gcloud compute addresses list
NAME                     REGION        ADDRESS         STATUS
artifactory-2-vm         europe-west1  10.132.x.x      IN_USE
artifactory-2-vm-pub     europe-west1  35.210.x.x      RESERVED
artifactory-2-vm-public  europe-west1  35.210.x.x      IN_USE

Remove unused:

gcloud compute addresses delete artifactory-2-vm-pub --region=europe-west1
  • 0
Reply Report

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags