Ensure that none of your Google Cloud functions are 1st (first) generation functions. 1st generation Google Cloud functions are considered deprecated and no longer receive updates or support, making them less secure, less performant, and lacking in new features compared to newer generations.
optimisation
excellence
Google Cloud Functions 2nd generation offers several key improvements over the 1st generation. First, it provides better performance with faster cold starts and reduced execution times. Second, it offers a broader choice of runtime environments, including Node.js, Python, Go, and more, enabling greater flexibility for developers. Third, 2nd generation functions have improved networking capabilities and better integration with Google Cloud services. Finally, they offer enhanced monitoring and debugging features, making it easier to manage and troubleshoot functions. Upgrading to the 2nd generation is advisable for improved performance, flexibility, and a more robust development and operations experience, particularly for applications with demanding requirements or complex workflows. The 2nd generation of Google Cloud functions represents a Function-as-a-Service offering that harnesses the capabilities of Cloud Run and Eventarc. This empowers users to take advantage of the core advantages provided by Cloud Run, such as concurrent processing, traffic distribution, and extended processing durations.
Audit
To determine if your Google Cloud functions are second generation (or newer generation) functions, perform the following actions:
Remediation / Resolution
To migrate your Google Cloud 1st functions to 2nd generation functions, perform the following actions:
References
- Google Cloud Platform (GCP) Documentation
- Cloud Functions version comparison
- Cloud Functions execution environment
- Create a 2nd gen Cloud Function by using the Google Cloud CLI
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud functions list
- gcloud functions describe
- gcloud functions deploy
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
GCP Execution Runtime Environment Version
Risk Level: High