Server is unreachalble

0

wget https://aws-tc-largeobjcts.s3-us-west-2.amazonaws.com/DEV-AWS-MO-GCNv2/FlaskApp.zip I am practicing EC2, I added this script but the zip file is not found, from which server's will it be available or any general answers if I can get help!

profile picture
質問済み 5ヶ月前131ビュー
2回答
1

Hello.

The S3 URL is incorrect.
The correct name is "largeobjects".
Your URL is "largeobjcts" and the "e" in objects is missing.
Please do as below:

wget https://aws-tc-largeobjects.s3-us-west-2.amazonaws.com/DEV-AWS-MO-GCNv2/FlaskApp.zip
profile picture
エキスパート
回答済み 5ヶ月前
  • #!/bin/bash -ex wget https://aws-tc-largeobjects.s3-us-west-2.amazonaws.com/DEV-AWS-MO-GCNv2/FlaskApp.zip unzip FlaskApp.zip cd FlaskApp/ yum -y install python3-pip yum -y install ec2-instance-connect pip install -r requirements.txt yum -y install stress export PHOTOS_BUCKET=${SUB_PHOTOS_BUCKET} export AWS_DEFAULT_REGION=ap-south-1 export DYNAMO_MODE=on FLASK_APP=application.py /usr/local/bin/flask run --host=0.0.0.0 --port=80

    I changed the mistake and tried again but same error has found, here is the script given by course instructor

0

i would suggest checking following for the S3 bucket DEV-AWS-MO-GCNv2

  1. make sure the s3 bucket is properly created https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html
  2. permission, check IAM role permission.

let me know I can support you remotely as well

profile picture
回答済み 5ヶ月前
  • Actually that's the link provided by AWS to download the FlaskApp.zip file and that link is perfectly reachable

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ