[英]Can't create an instance on Google Compute Engine
When I try to create an instance on GCE with gcloud
, I get the error below. 当我尝试使用
gcloud
在GCE上创建实例时,出现以下错误。
gcloud compute instances create --zone us-west1-a tunnel
ERROR: (gcloud.compute.instances.create) Could not fetch resource:
- The zone 'projects/project/zones/us-west1-a' does not have enough
resources available to fulfill the request.
Try a different zone, or try again later.
In the Google Cloud Console Platform the zone is displayed available. 在Google Cloud Console平台中,该区域显示为可用。 I also tried to create an instance within the Platform without success.
我还尝试在平台内创建实例,但没有成功。
First, our apologies that you're experiencing this issue. 首先,很抱歉您遇到此问题。 Be assured that the team is working hard to resolve it.
请放心,团队正在努力解决该问题。
Our goal is to make sure that there are available resources in all zones. 我们的目标是确保所有区域中都有可用资源。 This type of issue is rare.
这种问题很少见。 When a situation like this occurs, or is about to occur, our team is notified immediately and the issue is investigated.
当发生或将要发生这种情况时,我们的团队将立即得到通知,并对此问题进行调查。
We recommend deploying and balancing your workload across multiple zones or regions to reduce the likelihood of an outage. 我们建议跨多个区域或区域部署和平衡您的工作负载,以减少发生中断的可能性。 Please review our documentation which outlines how to build resilient and scalable architectures on Google Cloud Platform.
请查看我们的文档 ,其中概述了如何在Google Cloud Platform上构建弹性和可扩展的架构。
I recommend you to try to create your instance in a different zone or try later as this is in most of the cases a transient error and it should not last for too long. 我建议您尝试在其他区域中创建实例,或者稍后再尝试,因为在大多数情况下,这是暂时性错误,并且不应持续太长时间。
I also recommend you to take a look at this link with instructions to distribute your instances across zones so you can increase availability. 我还建议您查看此链接,其中包含在多个区域中分布实例的说明,从而可以提高可用性。 This other link is also useful as you will find best practices for designing robust systems on GCE (Google Compute Engine).
此其他链接也很有用,因为您会发现在GCE(Google Compute Engine)上设计功能强大的系统的最佳做法。
要“修复”此问题,只需创建不带外部IP的 VM,然后在VM成功创建后编辑并添加一个外部IP。
我无法使用动态IP创建新实例,即使无法酸化一个新实例,也无法使用固定IP。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.