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
posta 5 mesi fa131 visualizzazioni
2 Risposte
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
ESPERTO
con risposta 5 mesi fa
  • #!/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
con risposta 5 mesi fa
  • Actually that's the link provided by AWS to download the FlaskApp.zip file and that link is perfectly reachable

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande