Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Suddenly my App Engine with vpc connector is unusable slow

I have been using app engine with a vpc_access_connector for static ip. This has been working well and fast for past few weeks. Today, suddenly all calls are taking 20-30 sec (previously 2-3 sec). There has been no deployment or change in code.

To test it I removed the vpc_access_connector from my app.yaml and it works fast.

This is what I have in my app.yaml:

vpc_access_connector:
  name: projects/vahanchal-project/locations/asia-south1/connectors/app-engine-vpc
  egress_setting: all-traffic

 

Solved Solved
2 1 276
1 ACCEPTED SOLUTION

Hi @rssatvikreddy,

Removing the vpc_access_connector from your app.yaml restored the fast performance. This could mean that the issue lies with the VPC connector itself and not with your code/deployment. There might be a momentary network issue within your VPC, the Google Cloud network, or the connection between them. This could manifest as sudden slowdowns.

Upon checking the Google Cloud Platform status dashboard and detailed history, there’s no outage/downtime for Google App Engine that could cause this behavior. 

Recommendations:

  • Test with a different Google App Engine Standard instance: Create a new App Engine instance with a different vpc_access_connector or without one altogether. If this new instance performs normally, it further confirms that the problem lies with your existing VPC connector.

  • Troubleshoot elevated latency in your app: Helps narrow down the root cause of both error and latency spikes.

  • Observe if this is an isolated case: Give at least a few more days to rule out if this is an intermittent behavior.

If there are no improvements, it would be best to file a customer issue in the public issue tracker. If the observed latency is not acceptable, please reach out to Google Cloud Support. Their team has specialized expertise in diagnosing underlying problems. When contacting them, provide comprehensive details and include screenshots. This will help them better understand and address your issue.

I hope the above information is helpful.

View solution in original post

1 REPLY 1

Hi @rssatvikreddy,

Removing the vpc_access_connector from your app.yaml restored the fast performance. This could mean that the issue lies with the VPC connector itself and not with your code/deployment. There might be a momentary network issue within your VPC, the Google Cloud network, or the connection between them. This could manifest as sudden slowdowns.

Upon checking the Google Cloud Platform status dashboard and detailed history, there’s no outage/downtime for Google App Engine that could cause this behavior. 

Recommendations:

  • Test with a different Google App Engine Standard instance: Create a new App Engine instance with a different vpc_access_connector or without one altogether. If this new instance performs normally, it further confirms that the problem lies with your existing VPC connector.

  • Troubleshoot elevated latency in your app: Helps narrow down the root cause of both error and latency spikes.

  • Observe if this is an isolated case: Give at least a few more days to rule out if this is an intermittent behavior.

If there are no improvements, it would be best to file a customer issue in the public issue tracker. If the observed latency is not acceptable, please reach out to Google Cloud Support. Their team has specialized expertise in diagnosing underlying problems. When contacting them, provide comprehensive details and include screenshots. This will help them better understand and address your issue.

I hope the above information is helpful.