Ephemeral and static IP addresses

In previous chapters, Google Cloud generated and assigned IP addresses to resources as needed. Such IP addresses are ephemeral, meaning they are bound to the lifetime of the resource they are attached to. Once that resource is destroyed (or stopped, in the case of Compute Engine instances), the IP address is freed, and will eventually be assigned to another resource.

Because ephemeral IP addresses are reclaimed and recycled, they are not dependable for directly addressing resources. In the case of external IP addresses, this is a significant concern, as those IP addresses will likely be assigned to resources belonging to another Google Cloud project. Instead, such resources should be addressed through other ...

Get Building Google Cloud Platform Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.