
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
http://localhost:5000/ 으로 실행이 잘되었기에 강의내용대로 aws에 올리려고 하는데 아무리 여러번 시도해도 진행이 되질 않습니다
$ 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) af-south-1 : Africa (Cape Town)
23) ap-southeast-3 : Asia Pacific (Jakarta)
24) ap-northeast-3 : Asia Pacific (Osaka)
(default is 3): 10
ERROR: The current user does not have the correct permissions. Reason: Operation Denied. The security token included in the request is invalid.
ERROR: The current user does not have the correct permissions. Reason: Operation Denied. The security token included in the request is invalid.
You have not yet set up your credentials or your credentials are incorrect
You must provide your credentials.
(aws-access-id): AKIAUVTU24F3G7DG642B
(aws-secret-key): xGe9VpqyxisZFZ0lwyCpkMpXPrsMbKkhrDVzmT+l
Select an application to use
1) 05.fantest2
2) 05.test2
3) deploy3
4) deploy2
5) deploy
6) 05.fantest
7) webtestn
8) [ Create new Application ]
(default is 5): 8
Enter Application Name
(default is "deploy4"):
Application deploy4 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) aws-eb4
5) aws-eb6
6) aws-eb5
7) aws-eb7
8) aws-eb8
9) aws-eb9
10) aws-eb10
11) [ Create new KeyPair ]
(default is 10): 11
Type a keypair name.
(Default is aws-eb11):
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\MJM\.ssh\aws-eb11
Your public key has been saved in C:\Users\MJM\.ssh\aws-eb11.pub
The key fingerprint is:
SHA256:QzEJ04OIOKB8q7fdhmqlYHBLIkOvpFY+4uYsmxRzmxw aws-eb11
The key's randomart image is:
+---[RSA 3072]----+
|o. . .o+o. |
|=.. . ..+o |
|oo.. .. |
|=.+o. . |
|=B+E S |
|.*Bo+. . |
|+oo=+ . |
|++.oo... |
|*+.o.... |
+----[SHA256]-----+
WARNING: Uploaded SSH public key for "aws-eb11" into EC2 for region ap-northeast-2.
(venv)
MJM@DESKTOP-300T10I MINGW64 ~/Desktop/fan/deploy
$ eb create myweb
Creating application version archive "app-230311_043500614727".
Uploading deploy4/app-230311_043500614727.zip to S3. This may take a while.
Upload Complete.
ERROR: InvalidParameterValueError - Environment myweb already exists.
(venv)
MJM@DESKTOP-300T10I MINGW64 ~/Desktop/fan/deploy
$ eb create mywebvo
Creating application version archive "app-230311_043509229658".
Uploading deploy4/app-230311_043509229658.zip to S3. This may take a while.
Upload Complete.
Environment details for: mywebvo
Application name: deploy4
Region: ap-northeast-2
Deployed Version: app-230311_043509229658
Environment ID: e-egvsmkmdak
Platform: arn:aws:elasticbeanstalk:ap-northeast-2::platform/Python 3.8 running on 64bit Amazon Linux 2/3.5.0
Tier: WebServer-Standard-1.0
CNAME: UNKNOWN
Updated: 2023-03-10 19:35:11.467000+00:00
Printing Status:
2023-03-10 19:35:09 INFO createEnvironment is starting.
2023-03-10 19:35:11 INFO Using elasticbeanstalk-ap-northeast-2-321293836662 as Amazon S3 storage bucket for environment data.
2023-03-10 19:35:31 INFO Created security group named: sg-0ddf657e0c8e6af7d
2023-03-10 19:35:47 INFO Created security group named: awseb-e-egvsmkmdak-stack-AWSEBSecurityGroup-QA326FDZ8DYL
2023-03-10 19:35:47 INFO Created target group named: arn:aws:elasticloadbalancing:ap-northeast-2:321293836662:targetgroup/awseb-AWSEB-KQJKOXIQUQON/84fe04c5d810dbe4
2023-03-10 19:35:47 INFO Created Auto Scaling launch configuration named: awseb-e-egvsmkmdak-stack-AWSEBAutoScalingLaunchConfiguration-m7MfvHOj8Ykw
2023-03-10 19:36:48 INFO Created Auto Scaling group named: awseb-e-egvsmkmdak-stack-AWSEBAutoScalingGroup-1N5BDSNZCT737
2023-03-10 19:36:48 INFO Waiting for EC2 instances to launch. This may take a few minutes.
2023-03-10 19:37:04 INFO Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:321293836662:scalingPolicy:b4a50e1c-03b8-4892-aa78-d1ba2b11f078:autoScalingGroupName/awseb-e-egvsmkmdak-stack-AWSEBAutoScalingGroup-1N5BDSNZCT737:policyName/awseb-e-egvsmkmdak-stack-AWSEBAutoScalingScaleUpPolicy-PRNRa5kADy4W
2023-03-10 19:37:04 INFO Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:321293836662:scalingPolicy:7dea144b-bd69-40aa-906c-85ebf0724b6a:autoScalingGroupName/awseb-e-egvsmkmdak-stack-AWSEBAutoScalingGroup-1N5BDSNZCT737:policyName/awseb-e-egvsmkmdak-stack-AWSEBAutoScalingScaleDownPolicy-GhdBLgrRbYz9
2023-03-10 19:37:04 INFO Created CloudWatch alarm named: awseb-e-egvsmkmdak-stack-AWSEBCloudwatchAlarmHigh-HB8U27TADML9
2023-03-10 19:37:04 INFO Created CloudWatch alarm named: awseb-e-egvsmkmdak-stack-AWSEBCloudwatchAlarmLow-7KBAVVL2LAXN
2023-03-10 19:37:05 INFO Created load balancer named: arn:aws:elasticloadbalancing:ap-northeast-2:321293836662:loadbalancer/app/awseb-AWSEB-ZIR81BV9JVLP/49dc25a89232f5b4
2023-03-10 19:37:22 INFO Created Load Balancer listener named: arn:aws:elasticloadbalancing:ap-northeast-2:321293836662:listener/app/awseb-AWSEB-ZIR81BV9JVLP/49dc25a89232f5b4/aae86eff79e3ec81
2023-03-10 19:37:29 INFO Instance deployment successfully generated a 'Procfile'.
2023-03-10 19:37:32 INFO Instance deployment completed successfully.
2023-03-10 19:38:03 INFO Application available at mywebvo.eba-mhg9yeaz.ap-northeast-2.elasticbeanstalk.com.
2023-03-10 19:38:03 INFO Successfully launched environment: mywebvo
(venv)
터미널에서 이렇게 실행하였습니다 여러번 시도를 해서인지 myweb 말고 다른 이름으로 임의 변경해서 계속 해봤는데도 전혀 안되네요 EC2에 인스턴스도 없고 Elastic Beanstalk에 애플리케이션이나 환경을 아무리 들어가려 해도 거기에도 아무것도 없습니다
터미널에서 키페어나 애플리케이션은 햇던 것들이 쌓여가는데 어디에 저장된건지 답답할 뿐입니다
5주차 팬명록부분을 파일을 지웠다 다시 따라 만들어 실행도 해봤으며 액세스키도 지웠다가 다시 만드는 등의 여러 시도를 해봤습니다
마지막에 배포가 완료된 것 같은데 몇 시간이 지나도 확인이 되질 않네요 혹시나 원격 지원을 받을 수 있을까요
요!
