Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Google Cloud Platform Cookbook

You're reading from  Google Cloud Platform Cookbook

Product type Book
Published in Apr 2018
Publisher Packt
ISBN-13 9781788291996
Pages 280 pages
Edition 1st Edition
Languages
Author (1):
Legorie Rajan PS Legorie Rajan PS
Profile icon Legorie Rajan PS
Toc

Table of Contents (14) Chapters close

Title Page
Dedication
Packt Upsell
Contributors
Preface
1. Compute 2. Storage and Databases 3. Networking 4. Security 5. Machine Learning and Big Data 6. Management Tools 7. Best Practices 1. Other Books You May Enjoy Index

Network management using a data and a management network


It is a common scenario in large servers to have more than one NIC for purposes demanded by the software to function properly, or for networking reasons. GCP allows a maximum of eight NICs (depending on the instance type) to be attached to an instance with nic0 being the default NIC to which GCP's DHCP server sends a default route and nic1 to nic7 being optional.

In this recipe, we'll create an instance with two NICs with each of the NICs attached to a different network. One network would be a management network to manage the instance and another network, a data network, used to serve data to the public domain.

Getting ready

The following are the initial setup verifications and network creation to be carried out before the recipe can be executed:

  1. Create or select a GCP project.
  2. Enable billing and enable the default APIs (some APIs such as BigQuery, storage, monitoring, and a few others are enabled automatically).

 

  1. We'll create the management...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime