Continuously improving your applications is key to meeting operational and business goals. Application insights and assistance services, such as Cloud Hub and Gemini Cloud Assist, help you identify optimization opportunities. For example, you might receive recommendations to resize underutilized virtual machines or configure Cloud CDN to reduce latency and cost.
This guide shows you how to analyze an existing application and then use Application Design Center to implement architectural changes.
Before you begin
You must complete the following steps before using application insights and assistance services:
For administrators:
- Enable required APIs. Enable APIs for all resources you intend to use.
- Set up Application Design Center. Only required if you intend to create new application resources from templates.
- Set up Cloud Hub. Only required if you intend to use Cloud Hub to identify optimization opportunities.
- Set up Gemini Cloud Assist. Only required if you intend to use Gemini Cloud Assist to identify optimization opportunities.
- Grant access to users. Assign appropriate IAM roles based on user's responsibilities in the application lifecycle.
For developers and operators:
- Confirm with your administrator that the initial setup is finalized.
- Make sure you have the necessary IAM roles for the tasks you want to perform.
- Open your app-enabled folder or host project, depending on your setup model.
Analyze the application for optimization opportunities
Use Cloud Hub and Gemini Cloud Assist to get a consolidated view of your application's operational data and receive recommendations:
- In the Google Cloud console, use the project picker to select your host project or the management project of the app-enabled folder, depending on your setup model.
Navigate to the Home page from Cloud Hub:
Select your application to view its integrated dashboard.
Review incidents, alerts, performance metrics, and cost trends. For more information, see Application views and project views.
Optionally, use the Gemini Cloud Assist panel to ask for optimization recommendations using natural language prompts, for example:
- "Give me recommendations to optimize my application resources."
- "Show me the most expensive resources with the lowest utilization for this application."
Gemini Cloud Assist provides recommendations, such as resizing underutilized machine types or enabling a Cloud CDN.
Evolve the application architecture
After identifying an optimization, use Application Design Center to model and deploy the improved architecture:
- If the application was deployed from a template: Open the template and modify its architecture based on the recommendations. You can then deploy the new version as an update to the existing application instance.
- If the application wasn't deployed from a template: Create a new template in Application Design Center that reflects the optimized architecture.
Deploy the optimized application architecture. This process might involve updating an existing deployment or creating a new one, depending on the nature of the changes.