
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
AWS 배포 오류입니다. 확인 부탁드립니다 ㅠㅠ
처음에 한 번 배포 성공 하였으나, 삭제 후 재배포 이후 계속 오류 나고 있습니당 ㅠㅠ
(venv)
yuzzzin@yuzzzin MINGW64 ~/Desktop/sparta/projects/05.fan/deploy
$ eb init
Select a default region
1) us-east-1 : US East (N. Virginia)
2) us-west-1 : US West (N. California)
3) us-west-2 : US West (Oregon)
4) eu-west-1 : EU (Ireland)
5) eu-central-1 : EU (Frankfurt)
6) ap-south-1 : Asia Pacific (Mumbai)
7) ap-southeast-1 : Asia Pacific (Singapore)
8) ap-southeast-2 : Asia Pacific (Sydney)
9) ap-northeast-1 : Asia Pacific (Tokyo)
10) ap-northeast-2 : Asia Pacific (Seoul)
11) sa-east-1 : South America (Sao Paulo)
12) cn-north-1 : China (Beijing)
13) cn-northwest-1 : China (Ningxia)
14) us-east-2 : US East (Ohio)
15) ca-central-1 : Canada (Central)
16) eu-west-2 : EU (London)
17) eu-west-3 : EU (Paris)
18) eu-north-1 : EU (Stockholm)
19) eu-south-1 : EU (Milano)
20) ap-east-1 : Asia Pacific (Hong Kong)
21) me-south-1 : Middle East (Bahrain)
22) il-central-1 : Middle East (Israel)
23) af-south-1 : Africa (Cape Town)
24) ap-southeast-3 : Asia Pacific (Jakarta)
25) ap-northeast-3 : Asia Pacific (Osaka)
(default is 3): 10
Enter Application Name
(default is "deploy"):
Application deploy has been created.
It appears you are using Python. Is this correct?
(Y/n): Y
Select a platform branch.
1) Python 3.8 running on 64bit Amazon Linux 2
2) Python 3.7 running on 64bit Amazon Linux 2
(default is 1):
Cannot setup CodeCommit because there is no Source Control setup, continuing with initialization
Do you want to set up SSH for your instances?
(Y/n): Y
Select a keypair.
1) aws-eb
2) aws-eb2
3) aws-eb3
4) [ Create new KeyPair ]
(default is 3): 4
Type a keypair name.
(Default is aws-eb4):
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\admin\.ssh\aws-eb4
Your public key has been saved in C:\Users\admin\.ssh\aws-eb4.pub
The key fingerprint is:
SHA256:K6lNi0im4QPE27iw50k0fLMKlEHzIJN5G5fCvSDK8l0 aws-eb4
The key's randomart image is:
+---[RSA 3072]----+
|oB . . |
|*.X + |
|++ B . |
|o=+ . E |
|o+B.o. S |
|++.+.o . . |
|=.= . + . |
|oX.+ = o |
|.+* o o |
+----[SHA256]-----+
WARNING: Uploaded SSH public key for "aws-eb4" into EC2 for region ap-northeast-2.
(venv)
yuzzzin@yuzzzin MINGW64 ~/Desktop/sparta/projects/05.fan/deploy
$ eb create myweb
Creating application version archive "app-230503_001544514574".
Uploading deploy/app-230503_001544514574.zip to S3. This may take a while.
Upload Complete.
Environment details for: myweb
Application name: deploy
Region: ap-northeast-2
Deployed Version: app-230503_001544514574
Environment ID: e-qmprbsfv2b
Platform: arn:aws:elasticbeanstalk:ap-northeast-2::platform/Python 3.8 running on 64bit Amazon Linux 2/3.5.2
Tier: WebServer-Standard-1.0
CNAME: UNKNOWN
Updated: 2023-05-02 15:15:47.802000+00:00
Printing Status:
2023-05-02 15:15:46 INFO createEnvironment is starting.
2023-05-02 15:15:47 INFO Using elasticbeanstalk-ap-northeast-2-858984130902 as Amazon S3 storage bucket for environment data.
2023-05-02 15:16:08 INFO Created security group named: sg-0da8ce77026977665
2023-05-02 15:16:23 INFO Created security group named: awseb-e-qmprbsfv2b-stack-AWSEBSecurityGroup-1E32ILRC43MKH
2023-05-02 15:16:23 INFO Created target group named: arn:aws:elasticloadbalancing:ap-northeast-2:858984130902:targetgroup/awseb-AWSEB-CW28IIXEWUWP/8063829062257802
2023-05-02 15:16:24 INFO Created Auto Scaling launch configuration named: awseb-e-qmprbsfv2b-stack-AWSEBAutoScalingLaunchConfiguration-N8gwca3veIyk
2023-05-02 15:16:54 INFO Created Auto Scaling group named: awseb-e-qmprbsfv2b-stack-AWSEBAutoScalingGroup-4O92NNJCUZ5
2023-05-02 15:16:54 INFO Waiting for EC2 instances to launch. This may take a few minutes.
2023-05-02 15:16:54 INFO Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:858984130902:scalingPolicy:a27d9fe0-6636-4ebe-8c0d-f12ee8d843c3:autoScalingGroupName/awseb-e-qmprbsfv2b-stack-AWSEBAutoScalingGroup-4O92NNJCUZ5:policyName/awseb-e-qmprbsfv2b-stack-AWSEBAutoScalingScaleUpPolicy-5u9wDzONSMnk
2023-05-02 15:16:54 INFO Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:858984130902:scalingPolicy:ad5f19e6-eb09-4ffd-be83-418f9a6de489:autoScalingGroupName/awseb-e-qmprbsfv2b-stack-AWSEBAutoScalingGroup-4O92NNJCUZ5:policyName/awseb-e-qmprbsfv2b-stack-AWSEBAutoScalingScaleDownPolicy-5yh0ksSCYyKv
2023-05-02 15:16:54 INFO Created CloudWatch alarm named: awseb-e-qmprbsfv2b-stack-AWSEBCloudwatchAlarmHigh-1ELYS24OCL2EE
2023-05-02 15:16:54 INFO Created CloudWatch alarm named: awseb-e-qmprbsfv2b-stack-AWSEBCloudwatchAlarmLow-1LUO4DEGD9PES
2023-05-02 15:18:15 INFO Created load balancer named: arn:aws:elasticloadbalancing:ap-northeast-2:858984130902:loadbalancer/app/awseb-AWSEB-6ZJZ0Q5952OO/16cc8fc33f6815e8
2023-05-02 15:18:30 INFO Created Load Balancer listener named: arn:aws:elasticloadbalancing:ap-northeast-2:858984130902:listener/app/awseb-AWSEB-6ZJZ0Q5952OO/16cc8fc33f6815e8/3cde6d6ac4f17193
2023-05-02 15:18:37 ERROR Instance deployment failed to install application dependencies. The deployment failed.
2023-05-02 15:18:37 ERROR Instance deployment failed. For details, see 'eb-engine.log'.
2023-05-02 15:18:41 ERROR [Instance: i-07ac7926ebaabe64f] Command failed on instance. Return code: 1 Output: Engine execution has encountered an error..
2023-05-02 15:18:41 INFO Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
2023-05-02 15:19:43 ERROR Create environment operation is complete, but with errors. For more information, see troubleshooting documentation.
ERROR: ServiceError - Create environment operation is complete, but with errors. For more information, see troubleshooting documentation.
