Monitor Google Cloud Platform (GCP)
Use a single tool to auto-discover and monitor all your Google cloud services, identify performance bottlenecks, and address issues instantly with Site24x7's GCP monitoring. View the complete list of GCP services supported for monitoring here.
For large enterprises and organizations, overseeing Google Cloud Platform (GCP) at scale can be complex. In those situations, utilize Google Cloud Organization Monitoring.
- Add a monitor
- Dashboards: Service View | Infrastructure | Inventory | Custom
- Management actions
- Operations
- Alerting | Reports | Guidance Reports
- GCP VM-server integration
- Security
- Licensing
- How does data collection (DC) happen?
- FAQs
Add a Monitor
- Log in to Site24x7 and go to Cloud > GCP > Add GCP Monitor.
- Provide a unique Display Name for identification purposes and the Project ID under which the resources to be monitored are present.
- Click Upload a Service Account JSON File to upload the Key to your Google Cloud service account and authenticate Site24x7 for performing resource discovery.
Follow the instructions in this help document to create a service account. To create a service account key, log in to your Google Cloud console and go to IAM & Admin > Service Accounts > look for the service account for which you wish to create a key. Under the Keys tab, click the Add key drop-down menu and select Create New Key. Select JSON as the key type and then click Create. Learn what permissions you need to enable GCP monitoring.
- In the Filter Resources section:
- Select the Services/Resource Types that you wish to monitor. By default, all the service types supported for monitoring are selected.
- Use the Exclude/Include Resources using Labels/Tags toggle button to either include or exclude your Google Cloud resources for monitoring based on the tags or labels you have provided to them in the Google Cloud console.
- The Auto-discover New Resources toggle button is set to Enable by default to let Site24x7 add new Google Cloud resources for monitoring.
- Set the time interval for the auto-discovery cycle in the Discovery Interval field.
- Use the Auto create monitor groups field to create monitor groups for each Google Cloud monitor automatically.
- Under Resource Termination Settings:
- Set Mute Resource Termination Alerts to No to get alerts whenever a resource has been terminated in the Google Cloud console.
- Set Monitor Terminated Resources to No to exclude terminated Google Cloud resources from monitoring.
- Set Automatically Remove Terminated Resources to No to move the monitors to a suspended state.
- Under Configuration Profiles:
- Select the Monitor Groups you would like to associate the Google Cloud monitor with in the Associate with Monitor Group(s) drop-down menu.
- Select the monitors on which the Google Cloud monitor you are creating now is dependent on from the Dependent on Monitor drop-down menu. Enabling this feature avoids alerts for the dependent monitors when the selected monitors are down.
- Assign new or existing tags from the Tags drop-down menu. The tags assigned will be auto-applied to all the resources discovered further.
- Select IT Automation actions to run by associating IT Automation Templates from the Select Automation drop-down, and also declare when to run them.
- Use the Execute IT Automation during Scheduled Maintenance check box to run the selected IT Automation actions even on scheduled maintenance time frames.
- Under the Alert Settings section:
- Select the Alert Groups you would like to get notifications for.
- Select the On-Call Schedule to ensure appropriate personnel get alerted according to the shift schedule.
- Select existing or create new Notification Profiles, and associate them using the Notification Profile drop-down.
- Click Start GCP Monitoring.
Please wait a few minutes for all of your GCP resources to be discovered and added in Site24x7's web client. Once discovery is complete, you'll be directed to the Service View dashboard.
Dashboards
There are three exclusive dashboards for GCP monitoring in Site24x7. You can also create custom dashboards.
Service View:
Once you've successfully added a GCP monitor, you'll be directed to the Service View dashboard. In this view, all your Google Cloud resources under the Google Cloud project will be grouped as Google Cloud resource types along with the count of monitored resources. Clicking each resource type tile will take you to the respective resource type monitor list.
Infrastructure Dashboard:
This represents a NOC view of all the GCP resources discovered from your account. Hover over the hamburger icon beside the page title to edit, suspend, or delete the GCP monitor.
Highlights:
- See the number of GCP resources discovered, separated into different service types, in a single dashboard.
- View resources according to their status:
- UP
- Down
- Discovery in progress
- Critical
- Maintenance
- Suspended
- Trouble
- Filter resources based on service type, location, and status.
- Click on a NOC box to go to that particular monitor's Summary page.
Inventory Dashboard:
Go to GCP > Inventory Dashboard. The Inventory dashboard gives you a view of the GCP resources discovered from your account. Hover over the hamburger icon beside the page title to edit, suspend, or delete the GCP monitor.
Highlights:
- View all discovered GCP resources broken down by service type in a single pie chart. Hover over a section of the chart to see the resources under a particular service type.
- View the daily usage of critical GCP resources for a set of service types.
- Under Inventory Details of GCP Resources, get a tabular view of all your GCP resources, along with their respective number of locations, resources, and zones. Click a service to view a detailed inventory report based on name, zone, type, license, users etc.
Custom Dashboard:
You can build your own dashboard that displays various key metrics across all your GCP resources. To start, navigate to Home > Dashboards > Custom Dashboards > + Create new.
- Provide a suitable name and description for your dashboard.
- Under Widget Category, choose either from Performance Widgets, Top N Widgets, or Current Status Widgets.
- Select All Monitors under Filter Monitors by Monitor Group. Under Monitor Type, select the Google Cloud resource type.
- Choose the desired service type Template.
- Select your GCP resources under Choose Monitors to create your dashboard.
- Select the required Time Period and drag and drop the widgets onto the working space.
- When you're done, click Done Customizing at the top of the page.
Management Actions
Go to GCP > Management Actions. Under these management actions, you can manage all your GCP resources in one console. Start or stop VMs; delete your resources; and filter resources based on service types, location, and monitor status for better visibility. Hover over the hamburger icon beside the page title to edit, suspend, or delete the GCP monitor.
From the Add Deleted Resources for Monitoring section, you can view the list of deleted resources and add them for monitoring.
Operations
All actions that you perform in the GCP console will be listed here (activity logs). Track events that affect your project, monitor operation logs, system logs etc.
For example, a user stops a resource in the GCP console. The action will be automatically listed in the Site24x7 web client in the Operations tab. This will help other users in the account aware of such an action and, if its a wrong step, the resource can be immediately started to avoid any performance degradation.
Alerting
You can create new or associate existing threshold profiles for every GCP resource that's being monitored. Follow the steps below to create a threshold profile:
- Go to GCP > click the resource you'd like to associate with a threshold profile.
- Hover over the hamburger icon next to the display name. Click Edit.
- Under Advanced Configuration > Threshold and Availability, click the plus icon (+) to create a new profile. Click the pencil icon to edit an existing profile. Save your changes.
Reports
Log in to Site24x7 and go to Reports and from the drop-down menu in the left navigation pane, select the Google Cloud resource type to view the list of reports available for the selected resource type. You can also create custom reports.
Guidance Reports
Utilize Google Cloud Guidance Report by Site24x7 to optimize, secure, and manage your cloud infrastructure efficiently and proactively. It saves you time, money, and potential headaches by providing clear recommendations tailored to your specific cloud environment.
GCP VM-Server Integration
Install the Server Monitoring agent to get in-depth system-level metrics for your GCP Virtual Machines (VMs).
- Go to Cloud > GCP > click the GCP account > VM Instance.
- Click the VM instance in which you wish to install the extension. Go to the Server Monitoring Extension tab.
- Click Install Agent. Select the preferred OS platform and install the extension in your VM.
Once the agent is successfully installed, you will be able to see system-level metrics for your GCP VMs.
Security
Site24x7 GCP monitoring is done by fetching the access keys in the Service Account JSON file that is uploaded by the user in the Site24x7 web client. The private keys in the JSON file are stored in an encrypted format. Performance metrics for GCP monitoring are collected using the GCP Monitor REST API. Learn the permissions that you should have to enable GCP monitoring.
Licensing
The parent Google Cloud monitor consumes one basic monitor license. In addition to that, each GCP service or resource uses up one basic monitor. Google Cloud VM Instance (Compute Engine) consumes two basic monitor licenses.
How does data collection (DC) happen?
Site24x7 sends one or more requests to the Cloud API of each resource and derives data for each minute. Data collection happens every five minutes. Site24x7 analyzes the data and presents it in user-desired report or dashboard formats. If the user has set thresholds, Site24x7 checks if the derived data corresponds to the configured threshold limit. If there is any breach, an alert will be triggered.
FAQs
- Possible reasons why GCP resources are not added for monitoring in Site24x7
- What permissions should I have in my Google account to enable Site24x7 Google Cloud Platform (GCP) Monitoring?
- How to create a service account JSON file to authenticate Site24x7 for discovery of GCP resources?
- How to create a service account in the GCP console?
What's next for you?
- Other supported cloud platforms: Azure | AWS
- Enable IT Automation for auto-remediation
- Integrate Third party applications with Site24x7
- Start server monitoring | Choose from over 100+ plugins to integrate