

Gain insights about your GCP resources with asset inventory
source link: https://chinagdg.org/2018/10/gain-insights-about-your-gcp-resources-with-asset-inventory/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Gain insights about your GCP resources with asset inventory
Source: Gain insights about your GCP resources with asset inventory from Google Cloud
If you’re responsible for managing your organization’s cloud resources, you have lots of questions. Questions like, “How many total Compute Engine VMs is my company using?” “What are all the IAM policies in my organization?” What were our network configurations a week ago?” and “What changes have there been to my firewalls since yesterday?”
In the past getting answers to these questions was non-trivial. You had to write scripts to enumerate through hundreds of projects, thousands of VMs or comb through your audit logs. Today we are happy to announce asset inventory in beta. With asset inventory, you get an org-wide snapshot of your inventory for a wide variety of GCP resources and policies with a single API call. The snapshot can then be used by automation tools for monitoring or policy enforcement, or be archived for compliance auditing. If you want to analyze changes to the assets, asset inventory also supports exporting metadata history.
In this release, asset inventory supports the following GCP assets, with more on the way:
-
Cloud Resource Manager organizations, folders, and projects
-
App Engine applications, services, versions
-
GCP billing accounts
-
Cloud Storage buckets
-
Compute Engine instances/instance groups/instance templates,
-
Networks / subnetworks, firewalls
-
Other Compute Engine resources: disks, UrlMaps, autoscalers, BackendBuckets, BackendServices, HealthChecks, Images, Licenses, Snapshots, SslCertificates, Target Http/Https Proxies, Target Instances / Pools, Target Tcp/SSL Proxies, Target VPN Gateways
-
Cloud DNS Managed Zones, Cloud DNS Policies
-
And the IAM policies associated with these resources
This information is invaluable for organizations with large and complex GCP deployments. French transnational corporation Veolia, for example, is an early adopter of asset inventory, and sees a lot of potential in how it will help them track and manage their deployments.
Cloud Developer & Product Manager, Veolia
Getting started with asset inventory
The asset inventory API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses. Here are some quick examples of how to use asset inventory to derive resource insights (see how to page for full instructions).
First, let’s check out what all resources under my organization. All you need is a single command, and no customized scripts. The command below exports all resources into a newline-delimited JSON file, in which each line corresponds to asset metadata.
Here’s how to see the IAM policies on a Cloud Storage bucket:
Now, let’s see the IAM policy change history for a Cloud Storage bucket since yesterday. Use the following command:
These are just some examples of the things that you can do with asset inventory. For more information, check out the getting started page.
Third-party tools like the open-source Forseti Security also benefit from the asset inventory APIs, for which it recently added support. Forseti Security’s integration with asset inventory will enable much faster inventory of resources and policies and reduce latency on the scans, which has been a top feature request from many customers and partners.
Like they say, you can’t manage what you can’t measure. The new asset inventory API gives you a simple way to account for and measure your assets across a variety of GCP services. To learn more about asset inventory, check out the product page. And stay tuned as we add support for more asset types.
Recommend
-
8
3 Tools to Gain More Insights into Your AWS Lambda Functions3 Tools to Gain More Insights into Your AWS Lambda FunctionsOctober 25th 2021 new story
-
6
8 Insights You Can Gain from Competitors’ Top PagesNatalia ZhukovaNov 11, 20215 min read
-
3
IT Visibility...
-
8
It's difficult to find value in mounds of data. At SMX Next, Murat Yatağan shared how SEOs can use data segments to build successful campaigns. Corey Patte...
-
10
How to Gain Competitive Insights on Social Media for FreeVladyslav OpryshkoMar 15, 20227 min read
-
11
Ignore requirements to gain flexibility, value, insights! The power of why June 1, 2013 I would like to share an eye-opening...
-
4
Sevco Security delivers continuous asset IT inventory monitoring
-
9
Overview With the release of SAP Service and Asset Manager, we lay the foundation of a unified native mobile solution for Enterprise Asset and Field Service Management, with persona centric multi-persona support and standardized technolog...
-
7
Super CMMSMakes asset, work orders, & inventory management super easyFree OptionsSuperCMMS makes asset, work orders, and inventory management...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK