
aws에 OK가 뜨지 않고

이렇게 뜹니다. ㅠㅠ
터미널은
$ 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)
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
You have not yet set up your credentials or your credentials are incorrect
You must provide your credentials.
(aws-access-id): AKIAYKX7BBG3GDCVPDY3
(aws-secret-key): zQGKKuc0gaZ3j8gDkU33PSwy9k1SRItMmJ7ySxY9
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
Type a keypair name.
(Default is aws-eb):
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\82105\.ssh\aws-eb
Your public key has been saved in C:\Users\82105\.ssh\aws-eb.pub
The key fingerprint is:
SHA256:4NnkJXN4mMMxAJ/vwaoWufXXCwkRkpZyH6VUjXbrnnE aws-eb
The key's randomart image is:
+---[RSA 3072]----+
| ..o+=ooo |
| ..==.Oo o |
| ++.%o+. . |
| . O.O . |
| .o S . |
| o .o o .o E |
| +... oo + |
| o. . ..+ |
| .. . .. |
+----[SHA256]-----+
WARNING: Uploaded SSH public key for "aws-eb" into EC2 for region ap-northeast-2.
82105@mingbook3pro MINGW64 ~/Desktop/sparta/projects/05.fan/deploy
$ eb create myweb
Creating application version archive "app-230428_145011322100".
Uploading deploy/app-230428_145011322100.zip to S3. This may take a while.
Upload Complete.
Environment details for: myweb
Application name: deploy
Region: ap-northeast-2
Deployed Version: app-230428_145011322100
Environment ID: e-qhu4f8jmhv
Platform: arn:aws:elasticbeanstalk:ap-northeast-2::platform/Python 3.8 running on 64bit Amazon Linux 2/3.5.1
Tier: WebServer-Standard-1.0
CNAME: UNKNOWN
Updated: 2023-04-28 05:50:15.450000+00:00
Printing Status:
2023-04-28 05:50:13 INFO createEnvironment is starting.
2023-04-28 05:50:15 INFO Using elasticbeanstalk-ap-northeast-2-572839233974 as Amazon S3 storage bucket for environment data.
2023-04-28 05:50:21 ERROR Service:Amazon S3, Message:The bucket does not allow ACLs
2023-04-28 05:50:21 ERROR Failed to launch environment.
ERROR: ServiceError - Failed to launch environment.
82105@mingbook3pro MINGW64 ~/Desktop/sparta/projects/05.fan/deploy
$ eb create myweb
Creating application version archive "app-230428_145443962293".
Uploading deploy/app-230428_145443962293.zip to S3. This may take a while.
Upload Complete.
Environment details for: myweb
Application name: deploy
Region: ap-northeast-2
Deployed Version: app-230428_145443962293
Environment ID: e-rhpp8iyhee
Platform: arn:aws:elasticbeanstalk:ap-northeast-2::platform/Python 3.8 running on 64bit Amazon Linux 2/3.5.1
Tier: WebServer-Standard-1.0
CNAME: UNKNOWN
Updated: 2023-04-28 05:54:46.131000+00:00
Printing Status:
2023-04-28 05:54:44 INFO createEnvironment is starting.
2023-04-28 05:54:46 INFO Using elasticbeanstalk-ap-northeast-2-572839233974 as Amazon S3 storage bucket for environment data.
2023-04-28 05:55:07 INFO Created security group named: sg-0a0e4c1097bcd09dd
2023-04-28 05:55:22 INFO Created security group named: awseb-e-rhpp8iyhee-stack-AWSEBSecurityGroup-1SLQUJVFHX9YY
2023-04-28 05:55:22 INFO Created target group named: arn:aws:elasticloadbalancing:ap-northeast-2:572839233974:targetgroup/awseb-AWSEB-IQZV5UL35VRS/74d49c01f54dda27
2023-04-28 05:55:22 INFO Created Auto Scaling launch configuration named: awseb-e-rhpp8iyhee-stack-AWSEBAutoScalingLaunchConfiguration-5mbK2ENgZrxi
2023-04-28 05:56:08 INFO Created Auto Scaling group named: awseb-e-rhpp8iyhee-stack-AWSEBAutoScalingGroup-14NH6TXDZAUCU
2023-04-28 05:56:08 INFO Waiting for EC2 instances to launch. This may take a few minutes.
2023-04-28 05:56:08 INFO Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:572839233974:scalingPolicy:6889eb54-8c7f-456d-b236-15cf3ffae470:autoScalingGroupName/awseb-e-rhpp8iyhee-stack-AWSEBAutoScalingGroup-14NH6TXDZAUCU:policyName/awseb-e-rhpp8iyhee-stack-AWSEBAutoScalingScaleUpPolicy-rCzkGr5XIPSC
2023-04-28 05:56:08 INFO Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:572839233974:scalingPolicy:ec5693c5-04bf-45df-847b-baaf21bba778:autoScalingGroupName/awseb-e-rhpp8iyhee-stack-AWSEBAutoScalingGroup-14NH6TXDZAUCU:policyName/awseb-e-rhpp8iyhee-stack-AWSEBAutoScalingScaleDownPolicy-VxE9x91avF2j
2023-04-28 05:56:24 INFO Created CloudWatch alarm named: awseb-e-rhpp8iyhee-stack-AWSEBCloudwatchAlarmHigh-1R7RNB6LXE7D0
2023-04-28 05:56:24 INFO Created CloudWatch alarm named: awseb-e-rhpp8iyhee-stack-AWSEBCloudwatchAlarmLow-1RFGH2PTLNNE9
2023-04-28 05:57:14 INFO Created load balancer named: arn:aws:elasticloadbalancing:ap-northeast-2:572839233974:loadbalancer/app/awseb-AWSEB-AVIWU8906RTV/c9e9ac3a2f82ef1b
2023-04-28 05:57:29 INFO Created Load Balancer listener named: arn:aws:elasticloadbalancing:ap-northeast-2:572839233974:listener/app/awseb-AWSEB-AVIWU8906RTV/c9e9ac3a2f82ef1b/319b54af9d372c30
2023-04-28 05:57:34 INFO Instance deployment successfully generated a 'Procfile'.
2023-04-28 05:57:36 INFO Instance deployment completed successfully.
2023-04-28 05:58:43 INFO Successfully launched environment: myweb
이 상황입니다.
중간에 eb create myweb 오류가 한 번 나서 강의 자료를 보고 해결을 하고 다시 실행한 후입니다.
그리고 나서 또 찾아보다가
.elasticbeanstalk 를 삭제하고 다시 eb init 을 하라는 글을 봐서 했더니
$ 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
Select an application to use
(default is 1):
(default is 1):
Cannot setup CodeCommit because there is no Source Control setup, continuing with initialization
82105@mingbook3pro MINGW64 ~/Desktop/sparta/projects/05.fan/deploy
$ eb create mywebCreating application version archive "app-230428_151055285149".
Uploading deploy/app-230428_151055285149.zip to S3. This may take a while.
Upload Complete.
ERROR: InvalidParameterValueError - Environment myweb already exists.
이렇게 터미널이 끝나있는 상태입니다..ㅠㅠ 도와주세요 ㅠㅠ
