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
preguntada hace 5 meses131 visualizaciones
2 Respuestas
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
EXPERTO
respondido hace 5 meses
  • #!/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
respondido hace 5 meses
  • Actually that's the link provided by AWS to download the FlaskApp.zip file and that link is perfectly reachable

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas