Ensure that the "user connections" database flag configured for your Google Cloud SQL Server database instances has the optimal value, in accordance with your organization or project guidelines. The "user connections" flag specifies the maximum number of simultaneous user connections that are allowed on an SQL Server database instance. The actual number of user connections allowed also depends on the version of SQL Server that you are using, and also the limits of your application or applications and hardware. SQL Server allows a maximum of 32,767 user connections. Prior to running this conformity rule by the Trend Cloud One™ – Conformity engine, you need to define the "user connections" flag value used within your organization in the rule settings, on your Trend Cloud One™ – Conformity account console.
This rule resolution is part of the Conformity Security & Compliance tool for GCP.
efficiency
If the "user connections" configuration flag is set to a low value, is not going to allow high-traffic applications or processes to handle all the requests. You can increase the number of simultaneous user connections that are allowed on an SQL Server database instance by configuring the "user connections" flag to meet the database workload requirements chosen by your organization. The new limit cannot exceed 32,767 user connections.
Note: Some database flag settings can affect instance availability and/or stability, and eventually remove the SQL Server instance from the Google Cloud SQL Service Level Agreement (SLA).
Audit
To determine if the "user connections" flag set for your SQL Server database instances has the appropriate configuration, perform the following operations:
Remediation / Resolution
To configure the "user connections" database flag in accordance with your organization and project guidelines, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- Cloud SQL for SQL Server documentation
- Configure database flags
- Edit instances
- CIS Security Documentation
- Securing Google Cloud Computing Platform
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud sql instances list
- gcloud sql instances describe
- gcloud sql instances patch