Skip to content

I am not able to upload and process images or pdf in permissible sizes neither directly from my PC nor from redshift.

0

I tried to upload jpg format file and pdf files into the system, from both my PC and S3, which are taking like forever to upload / not able to pick from redshift. Could someone here please help

asked 9 months ago115 views

1 Answer
0

It sounds like you're experiencing issues with file uploads to AWS services. Let me help troubleshoot this problem.

For slow or failing uploads from your PC to S3, there are several potential causes and solutions:

  1. Network performance: S3 upload speeds can sometimes be slower than expected. You can improve this by:
  • Using Amazon S3 Transfer Acceleration which optimizes transfers using AWS edge locations
  • Implementing multipart uploads for large files, which allows parallel uploading of file parts
  • Adjusting AWS CLI configuration parameters if you're using the CLI:
  • Increase concurrent requests (e.g., set max_concurrent_requests to 16)
  • Increase queue size (e.g., set max_queue_size to 10000)
  • Set appropriate multipart threshold and chunk size (e.g., 64MB)
  1. File size limitations: While S3 itself supports files up to 5TB, there might be limitations in:
  • Your application code or libraries that impose size limits
  • Web interfaces with client-side JavaScript limitations
  • AWS WAF rules that might be limiting request body size (by default, WAF only inspects the first 16KB)
  • API Gateway settings if you're using it in your upload process
  1. For issues with Redshift specifically:
  • Ensure your Redshift cluster has the necessary permissions to access the S3 bucket
  • Check if there are any VPC or security group configurations blocking the connection
  • Verify that the IAM roles associated with your Redshift cluster have the appropriate permissions
  1. General troubleshooting steps:
  • Try uploading smaller files to see if the issue is size-related
  • Check your browser console for any specific error messages
  • Try a different browser or network connection
  • Use the AWS CLI to upload files as an alternative method
  • Ensure your AWS credentials are properly configured

If you continue to experience issues after trying these solutions, you may need to contact AWS Support for more specific assistance with your account configuration.
Sources
Upload to AWS S3 is pathetically slow | AWS re:Post
S3 Upload Limit of 1MB – How to Fix? | AWS re:Post
Unable to upload files to my S3 management console | AWS re:Post

answered 9 months ago

  • I am only trying to upload 1 file that does not exceed 50 kb size. I am not sure if the solutions provided really serve my problem statement.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.