커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
degraded
undefined주차
북마크
홍*혜
댓글
8
추천
0
조회수
36
조회수
36
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


안녕하세요 aws에 올리는데 degraded라고 떠서 어떻게 해야할까요?






작성한 코드 및 에러 메세지

IEB@LEB MINGW64 ~/Desktop/SPARTA/projects/05.fan

$ source c:/Users/IEB/Desktop/SPARTA/projects/05.fan/venv/Scripts/activate

(venv) 

IEB@LEB MINGW64 ~/Desktop/SPARTA/projects/05.fan

$ pip install awsebcli

Collecting awsebcli

 Downloading awsebcli-3.20.5.tar.gz (261 kB)

   |██▌               | 20 kB 1.3 MB/s eta 0   |████              | 30 kB 1.9 MB/s eta 0   |█████              | 40 kB 2.6 MB/s eta 0   |██████             | 51 kB 3.2 MB/s eta 0   |███████▌            | 61 kB 3.8 MB/s eta 0   |█████████            | 71 kB 4.5 MB/s eta 0   |██████████           | 81 kB 5.1 MB/s eta 0   |███████████           | 92 kB 5.8 MB/s eta 0   |████████████▌          | 102 kB 6.4 MB/s eta 

   |██████████████         | 112 kB 6.4 MB/s eta 

   |███████████████         | 122 kB 6.4 MB/s eta 

   |████████████████        | 133 kB 6.4 MB/s eta 

   |█████████████████▌       | 143 kB 6.4 MB/s eta 

   |███████████████████       | 153 kB 6.4 MB/s eta 

   |████████████████████      | 163 kB 6.4 MB/s eta 

   |█████████████████████▌     | 174 kB 6.4 MB/s eta 

   |██████████████████████▌     | 184 kB 6.4 MB/s eta 

   |████████████████████████    | 194 kB 6.4 MB/s eta 

   |█████████████████████████    | 204 kB 6.4 MB/s eta 

   |██████████████████████████▌   | 215 kB 6.4 MB/s eta 

   |███████████████████████████▌  | 225 kB 6.4 MB/s eta 

   |█████████████████████████████  | 235 kB 6.4 MB/s eta 

   |██████████████████████████████ | 245 kB 6.4 MB/s eta 

   |███████████████████████████████▌| 256 kB 6.4 MB/s eta 

   |████████████████████████████████| 261 kB 6.4 MB/s   

Collecting botocore<1.29.82,>1.23.41

 Downloading botocore-1.29.81-py3-none-any.whl (10.5 MB)

   |████████████████████████████████| 10.5 MB ...

Collecting cement==2.8.2

 Downloading cement-2.8.2.tar.gz (165 kB)

   |████              | 20 kB 1.3 MB/s eta 0   |██████             | 30 kB 1.9 MB/s eta 0   |████████            | 40 kB 2.6 MB/s eta 0   |██████████           | 51 kB 3.2 MB/s eta 0   |████████████          | 61 kB 3.8 MB/s eta 0   |██████████████         | 71 kB 4.5 MB/s eta 0   |████████████████        | 81 kB 5.1 MB/s eta 0   |██████████████████       | 92 kB 5.8 MB/s eta 0   |████████████████████      | 102 kB 6.4 MB/s eta 

   |██████████████████████     | 112 kB 6.4 MB/s eta 

   |████████████████████████    | 122 kB 6.4 MB/s eta 

   |██████████████████████████   | 133 kB 6.4 MB/s eta 

   |████████████████████████████  | 143 kB 6.4 MB/s eta 

   |█████████████████████████████▌ | 153 kB 6.4 MB/s eta 

   |███████████████████████████████▌| 163 kB 6.4 MB/s eta 

   |████████████████████████████████| 165 kB 6.4 MB/s   

Collecting colorama<0.4.4,>=0.2.5

 Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)

Collecting pathspec==0.10.1

 Downloading pathspec-0.10.1-py3-none-any.whl (27 kB)

Collecting python-dateutil<3.0.0,>=2.1

 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)

   |█████              | 40 kB 2.6 MB/s eta 0   |██████▌             | 51 kB 3.2 MB/s eta 0   |████████            | 61 kB 3.8 MB/s eta 0   |█████████            | 71 kB 4.5 MB/s eta 0   |██████████▌           | 81 kB 5.1 MB/s eta 0   |████████████          | 92 kB 5.8 MB/s eta 0   |█████████████          | 102 kB 6.4 MB/s eta 

   |██████████████▌         | 112 kB 6.4 MB/s eta 

   |████████████████        | 122 kB 6.4 MB/s eta 

   |█████████████████        | 133 kB 6.4 MB/s eta 

   |██████████████████▌       | 143 kB 6.4 MB/s eta 

   |████████████████████      | 153 kB 6.4 MB/s eta 

   |█████████████████████      | 163 kB 6.4 MB/s eta 

   |██████████████████████▌     | 174 kB 6.4 MB/s eta 

   |████████████████████████    | 184 kB 6.4 MB/s eta 

   |█████████████████████████    | 194 kB 6.4 MB/s eta 

   |██████████████████████████▌   | 204 kB 6.4 MB/s eta 

   |████████████████████████████  | 215 kB 6.4 MB/s eta 

   |█████████████████████████████  | 225 kB 6.4 MB/s eta 

   |██████████████████████████████▌ | 235 kB 6.4 MB/s eta 

   |████████████████████████████████| 245 kB 6.4 MB/s eta 

   |████████████████████████████████| 247 kB 6.4 MB/s   

Collecting requests<=2.26,>=2.20.1

 Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)

   |████████████████████████████████| 62 kB ...

Requirement already satisfied: setuptools>=20.0 in c:\users\ieb\desktop\sparta\projects\05.fan\venv\lib\site-packages (from awsebcli) (49.2.1)

Collecting semantic_version==2.8.5

 Downloading semantic_version-2.8.5-py2.py3-none-any.whl (15 kB)

Collecting six<1.15.0,>=1.11.0

 Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)

Collecting termcolor==1.1.0

 Downloading termcolor-1.1.0.tar.gz (3.9 kB)

Collecting wcwidth<0.2.0,>=0.1.7

 Downloading wcwidth-0.1.9-py2.py3-none-any.whl (19 kB)

Collecting PyYAML<5.5,>=5.3.1

 Downloading PyYAML-5.4.1-cp38-cp38-win_amd64.whl (213 kB)

   |████████████████████████████████| 213 kB ...

Collecting urllib3>=1.26.5

 Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)Collecting pypiwin32==223

 Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)

Collecting jmespath<2.0.0,>=0.7.1

 Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)

Collecting idna<4,>=2.5; python_version >= "3"

 Using cached idna-3.4-py3-none-any.whl (61 kB)

Collecting certifi>=2017.4.17

 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)

Collecting charset-normalizer~=2.0.0; python_version >= "3"

 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)

Collecting pywin32>=223

 Downloading pywin32-305-cp38-cp38-win_amd64.whl (12.3 MB)

   |████████████████████████████████| 12.3 MB ...

Using legacy 'setup.py install' for awsebcli, since package 

'wheel' is not installed.

Using legacy 'setup.py install' for cement, since package 'w

(venv) 

IEB@LEB MINGW64 ~/Desktop/SPARTA/projects/05.fan

$ 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


You have not yet set up your credentials or your credentials are incorrect

You must provide your credentials.

(aws-access-id): AKIAULSVX2DP5MJRZIV2

(aws-secret-key): FyHcb1dbRlp5Z8WEqDNejlOAY0UrGkX5TvJ9PKMf


Enter Application Name

(default is "05.fan"):

Application 05.fan 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\IEB\.ssh\aws-eb

Your public key has been saved in C:\Users\IEB\.ssh\aws-eb.pub

The key fingerprint is:

SHA256:DlPAUsMaqdfNP/2ecdKtWHb0Hm9p+gPMDQEsKgCb+a0 aws-eb  

The key's randomart image is:

+---[RSA 3072]----+

| .. =+  ...  |

| +.+ oo . . .  |

| + ..= oo .  . |

| o +..oo  .  |

|  o .+ S. .o o .|

|  . + o .+ +o|

|  E  . . .*.B|

|       +.%+|

|      .oBo+|

+----[SHA256]-----+

WARNING: Uploaded SSH public key for "aws-eb" into EC2 for region ap-northeast-2.

(venv) 

IEB@LEB MINGW64 ~/Desktop/SPARTA/projects/05.fan

$ eb create myweb

Creating application version archive "app-230317_171051210668".

Uploading: [------------------------------------------------Uploading: [#######-----------------------------------------Uploading: [##############----------------------------------Uploading: [#####################---------------------------Uploading: [#############################-------------------Uploading: [####################################------------Uploading: [###########################################-----Uploading: [##################################################] 100% Done...

Environment details for: myweb

 Application name: 05.fan

 Region: ap-northeast-2

 Deployed Version: app-230317_171051210668

 Environment ID: e-mfmbfvugwm

 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-17 08:11:15.528000+00:00

Printing Status:

2023-03-17 08:11:13  INFO  createEnvironment is starting.

2023-03-17 08:11:15  INFO  Using elasticbeanstalk-ap-northeast-2-299753787615 as Amazon S3 storage bucket for environment data.

2023-03-17 08:11:43  INFO  Created security group named: sg-055603a8f3a0ae16e

2023-03-17 08:11:58  INFO  Created security group named: awseb-e-mfmbfvugwm-stack-AWSEBSecurityGroup-Z78PO3WQPFK5  

2023-03-17 08:11:58  INFO  Created target group named: arn:aws:elasticloadbalancing:ap-northeast-2:299753787615:targetgroup/awseb-AWSEB-KRMRSEK7FFDK/17b30270a142e574

2023-03-17 08:11:58  INFO  Created Auto Scaling launch configuration named: awseb-e-mfmbfvugwm-stack-AWSEBAutoScalingLaunchConfiguration-EX7GnKNEy3CX

2023-03-17 08:13:15  INFO  Created Auto Scaling group named: awseb-e-mfmbfvugwm-stack-AWSEBAutoScalingGroup-W5HP23ZPKRBL

2023-03-17 08:13:15  INFO  Waiting for EC2 instances to 

launch. This may take a few minutes.

2023-03-17 08:13:18  INFO  Created load balancer named: 

arn:aws:elasticloadbalancing:ap-northeast-2:299753787615:loadbalancer/app/awseb-AWSEB-6ILKXY8WO929/d248b33bbcb75417   

2023-03-17 08:13:18  INFO  Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:299753787615:scalingPolicy:93f3df6e-6fea-4ec8-81d9-2a7de06ef230:autoScalingGroupName/awseb-e-mfmbfvugwm-stack-AWSEBAutoScalingGroup-W5HP23ZPKRBL:policyName/awseb-e-mfmbfvugwm-stack-AWSEBAutoScalingScaleUpPolicy-cYb5k36niXMu

2023-03-17 08:13:19  INFO  Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:299753787615:scalingPolicy:b943bbdd-2324-4a8f-b0ad-fc0b0c238581:autoScalingGroupName/awseb-e-mfmbfvugwm-stack-AWSEBAutoScalingGroup-W5HP23ZPKRBL:policyName/awseb-e-mfmbfvugwm-stack-AWSEBAutoScalingScaleDownPolicy-csdngS6nAsJX

2023-03-17 08:13:34  INFO  Created Load Balancer listener named: arn:aws:elasticloadbalancing:ap-northeast-2:299753787615:listener/app/awseb-AWSEB-6ILKXY8WO929/d248b33bbcb75417/14a12955d432bb67

2023-03-17 08:13:34  INFO  Created CloudWatch alarm named: awseb-e-mfmbfvugwm-stack-AWSEBCloudwatchAlarmHigh-1UHISL7DLV4AM

2023-03-17 08:13:34  INFO  Created CloudWatch alarm named: awseb-e-mfmbfvugwm-stack-AWSEBCloudwatchAlarmLow-1IS1PN9A8AFYD

2023-03-17 08:13:40  INFO  Instance deployment successfully generated a 'Procfile'.

2023-03-17 08:13:43  INFO  Instance deployment completed successfully.

2023-03-17 08:14:49  INFO  Successfully launched environment: myweb


(venv) 

IEB@LEB MINGW64 ~/Desktop/SPARTA/projects/05.fan

$




취소
 공유
취소
댓글 0
댓글 알림
나의얼굴