有人能帮我调试一下我所做的事情出了什么问题吗?我尝试了各种各样的方法,看了 10 个教程,都说要做同样的事情,但无论如何我都无法完成这一步。我总是去做一个,但无论eb create
我是否增加超时时间,它都会超时。老实说,我只是需要一些关于如何在这里找到错误的帮助,因为日志没有向我显示任何内容,当我请求它们时它们就会超时。
我已经尝试过 5 个不同的实例,每次结果都一样,所以我认为这一定是我的问题。但我不知道是什么原因,所以任何关于如何找出原因的帮助我都会非常感激。
Test (master$*=) % eb create
Enter Environment Name
(default is MyApp-dev):
Enter DNS CNAME prefix
(default is MyApp-dev):
Select a load balancer type
1) classic
2) application
(default is 1): 1
WARNING: You have uncommitted changes.
Creating application version archive "app-290a2-170716_181834".
Uploading: [##################################################] 100% Done...
Environment details for: MyApp-dev
Application name: MyApp-dev
Region: us-east-1
Deployed Version: app-290a2-170716_181834
Environment ID: e-pcx83hph3r
Platform: arn:aws:elasticbeanstalk:us-east-1::platform/Node.js running on 64bit Amazon Linux/4.2.0
Tier: WebServer-Standard
CNAME: MyApp-dev.us-east-1.elasticbeanstalk.com
Updated: 2017-07-16 22:18:59.183000+00:00
Printing Status:
INFO: createEnvironment is starting.
INFO: Using elasticbeanstalk-us-east-1-421594409424 as Amazon S3 storage bucket for environment data.
INFO: Created security group named: XXXXXXX
INFO: Created load balancer named: XXXXXXX
INFO: Created security group named: XXXXXXX
INFO: Created Auto Scaling launch configuration named: XXXXXXX
INFO: Environment health has transitioned to Pending. Initialization in progress (running for 11 seconds). There are no instances.
INFO: Created Auto Scaling group named: XXXXXXX
INFO: Waiting for EC2 instances to launch. This may take a few minutes.
INFO: Created Auto Scaling group policy named: XXXXXXX
INFO: Created Auto Scaling group policy named: XXXXXXX
INFO: Added instance [i-0792b35263944c4c1] to your environment.
INFO: Created CloudWatch alarm named: XXXXXXX
INFO: Created CloudWatch alarm named: XXXXXXX
ERROR: The operation timed out. The state of the environment is unknown. The timeout can be set using the --timeout option.