
초기에 eb init 이 실행이 안되어서 다른 질문에 있는 답을 참고하여
deactivate
pip install awsebcli
eb init
입력후 실행이 되었습니다. 이후 eb create myweb 실행을 하자 오류가 떴습니다.
eb create myweb 오류
보고 계신 화면


전체를 캡처해


주시면, 튜터님들이 빠르게 상황을 이해할 수 있어요.
작성한 코드 및 에러 메세지
2) [ Create new Application ]
(default is 1):
It appears you are using Python. Is this correct?
(Y/n): y
Select a platform branch.
1) Python 3.11 running on 64bit Amazon Linux 2023
2) Python 3.9 running on 64bit Amazon Linux 2023
3) Python 3.8 running on 64bit Amazon Linux 2
4) 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) [ Create new KeyPair ]
(default is 1): 2
Type a keypair name.
(Default is aws-eb2):
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\dlgoc\.ssh\aws-eb2
Your public key has been saved in C:\Users\dlgoc\.ssh\aws-eb2.pub
The key fingerprint is:
SHA256:u3m1mSVv+xRkJBh8YP0XPkXUMcrYytgybk4PEU4oyNc aws-eb2
The key's randomart image is:
+---[RSA 3072]----+
| .+=. *=|
| . . . . .o+o+.+|
| S* + .o|
| ..+ o . .|
| .= . B .|
| +o+ + o. |
| oo . ..o.|
+----[SHA256]-----+
WARNING: Uploaded SSH public key for "aws-eb2" into EC2 for region ap-northeast-
2.
dlgoc@DESKTOP-K647K2L MINGW64 ~/OneDrive/바탕 화면/sparta/projects/05.fan/deploy
$ eb creb create myweb
usage: eb (sub-commands ...) [options ...] {arguments ...}
eb: error: unrecognized arguments: creb create myweb
dlgoc@DESKTOP-K647K2L MINGW64 ~/OneDrive/바탕 화면/sparta/projects/05.fan/deploy
$ b create myweb2
bash: b: command not found
dlgoc@DESKTOP-K647K2L MINGW64 ~/OneDrive/바탕 화면/sparta/projects/05.fan/deploy
$ eb create myweb
Creating application version archive "app-230605_120705143837".
Uploading deploy/app-230605_120705143837.zip to S3. This may take a while.
Upload Complete.
Environment details for: myweb
Application name: deploy
Region: ap-northeast-2
Deployed Version: app-230605_120705143837
Environment ID: e-kisk5u62bb
Platform: arn:aws:elasticbeanstalk:ap-northeast-2::platform/Python 3.11 runnin
g on 64bit Amazon Linux 2023/4.0.1
Tier: WebServer-Standard-1.0
CNAME: UNKNOWN
Updated: 2023-06-05 03:07:08.024000+00:00
Printing Status:
2023-06-05 03:07:07 INFO createEnvironment is starting.
2023-06-05 03:07:08 INFO Using elasticbeanstalk-ap-northeast-2-95390942203
3 as Amazon S3 storage bucket for environment data.
2023-06-05 03:07:27 INFO Created security group named: sg-05d97a54b9f7ece2
8
2023-06-05 03:07:43 INFO Created security group named: awseb-e-kisk5u62bb-
stack-AWSEBSecurityGroup-1HJZ2JLRV7PC4
2023-06-05 03:07:43 INFO Created target group named: arn:aws:elasticloadba
lancing:ap-northeast-2:953909422033:targetgroup/awseb-AWSEB-CBAFLWH3XDO2/77a9f4b
ab2592f74
2023-06-05 03:07:43 INFO Created Auto Scaling launch configuration named:
awseb-e-kisk5u62bb-stack-AWSEBAutoScalingLaunchConfiguration-kRb5VYx6hbhZ
2023-06-05 03:07:59 INFO Created Auto Scaling group named: awseb-e-kisk5u6
2bb-stack-AWSEBAutoScalingGroup-QCJ32MP32T3B
2023-06-05 03:07:59 INFO Waiting for EC2 instances to launch. This may tak
e a few minutes.
2023-06-05 03:08:14 INFO Created Auto Scaling group policy named: arn:aws:
autoscaling:ap-northeast-2:953909422033:scalingPolicy:76a0c853-80c6-43c5-9681-19
5ee349ef71:autoScalingGroupName/awseb-e-kisk5u62bb-stack-AWSEBAutoScalingGroup-Q
CJ32MP32T3B:policyName/awseb-e-kisk5u62bb-stack-AWSEBAutoScalingScaleUpPolicy-uz
CEh3iqDcZD
2023-06-05 03:08:14 INFO Created Auto Scaling group policy named: arn:aws:
autoscaling:ap-northeast-2:953909422033:scalingPolicy:04da86f0-5c60-4998-bc7c-a8
0f6e8b0394:autoScalingGroupName/awseb-e-kisk5u62bb-stack-AWSEBAutoScalingGroup-Q
CJ32MP32T3B:policyName/awseb-e-kisk5u62bb-stack-AWSEBAutoScalingScaleDownPolicy-
8TXfEYDcYh8i
2023-06-05 03:08:15 INFO Created CloudWatch alarm named: awseb-e-kisk5u62b
b-stack-AWSEBCloudwatchAlarmLow-1VCWSNX4QJJ1N
2023-06-05 03:08:15 INFO Created CloudWatch alarm named: awseb-e-kisk5u62bb-stack-AWSEBCloudwatchAlarmHigh-1XB25NH968P5X
2023-06-05 03:09:01 INFO Created load balancer named: arn:aws:elasticloadbalancing:ap-northeast-2:953909422033:loadbalancer/app/awseb-AWSEB-6X52WZ8BKQ7N/c28b0a936d78428a
2023-06-05 03:09:03 INFO Created Load Balancer listener named: arn:aws:elasticloadbalancing:ap-northeast-2:953909422033:listener/app/awseb-AWSEB-6X52WZ8BKQ7N/c28b0a936d78428a/781dd724c5087986
2023-06-05 03:09:22 ERROR Instance deployment failed. For details, see 'eb-engine.log'.
2023-06-05 03:09:22 ERROR Instance deployment failed to install application dependencies. The deployment failed.
2023-06-05 03:09:25 ERROR [Instance: i-0df6af697d4bd8a8e] Command failed on instance. Return code: 1 Output: Engine execution has encountered an error..
2023-06-05 03:09:25 INFO Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
2023-06-05 03:10:27 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.
dlgoc@DESKTOP-K647K2L MINGW64 ~/OneDrive/바탕 화면/sparta/projects/05.fan/deploy
$
* 복원된 기록
dlgoc@DESKTOP-K647K2L MINGW64 ~/OneDrive/바탕 화면/sparta/projects/05.fan
$오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.
Tip 1) </> 아이콘을 눌러 코드박스를 만들어 보세요.
Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!
