Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [aws]

Use it for questions on the collection of Amazon's cloud computing services, generally called AWS.

0
votes
0answers
32 views

Connecting site to AWS RDS results in HTTP Error 500

I've moved my Drupal website over to AWS (using an EC2 instance and RDS instance). Everything moved over just fine. However, when I try and connect my drupal installation to my RDS database via the ...
0
votes
0answers
202 views

How do I change the name of the uploaded filename in a form?

My objective is to create a site map. I have created a form to upload the sitemap in XML format. I need to upload the file to a S3 bucket changing the filename, and replacing the previously uploaded ...
0
votes
0answers
43 views

Can anyone get the modules s3fs and elfinder to work togther?

I've successfully setup the S3 File System (s3fs) module on a Drupal 7 site to use an s3 bucket for the files location. I installed the elfinder module as a file manager, but I can't figure out how to ...
2
votes
1answer
238 views

AWS SDK PHP added in Drupal 8 via composer.json but how to load the SDK in module…?

I have set up a module in my Drupal 8 project to handle some tasks I need doing using AWS. I added the awssdk (for PHP) to my composer.json and ran the composer update command successfully. the AWS ...
0
votes
2answers
120 views

Cannot upload files to private file system using s3fs

We have migrated our Drupal 7 site to AWS with S3 bucket. Integrated s3 bucket with the site using s3fs module. We have made all the necessary configurations. We are having issue uploading files to ...
1
vote
0answers
95 views

video streaming with amazon s3 [closed]

I would like to host videos to be stored in amazon s3 cloud. And also want to use external videos stored in s3 cloud stream in Drupal website. Can this be done using S3 File System ? Are there any ...
0
votes
1answer
264 views

Import CSV file from S3 Bucket

Using s3 file system & feed import module. Issue is the fetching of csv file from s3 working... says no file or folder detected ... have the folder under s3://public/repo.csv and had read/write ...
0
votes
1answer
25 views

Adding namespace to s3 module

I have a drupal 7 codebase which I downloaded from a production server and set up locally (using PHP version 7). There is this amazons3.module file in which I have to add an extra namespace Drupal\...
2
votes
0answers
89 views

Authentication Support with AWS failing to send

I am trying to fix our SMTP Drupal 7 configuration because I am now getting errors that its unable to send the email. I am using AWS as our SMTP server and I can send a test email from that just fine. ...
3
votes
1answer
148 views

How do I utilize Drupal commerce to sell large files stored on Amazon S3

I am working on a project for work that involves replacing a current "tape and staple" file delivery system. It's a Drupal site, but with many many third party outdated VERY unstable software. However,...
1
vote
0answers
29 views

Custom ajax fields with s3 module

Im struggling from few days with amazon s3 s3fs cors module. My goal is to add custom form field for image upload in ajaxed form. Whenever user click on specific button ajax form will be invoked and ...
2
votes
2answers
719 views

How do I install Flysystem and Flysystem S3?

I'm using the Flysystem module, but I am not able to install the module. I am getting this error: Dependencies missing: Flysystem, replicate adapter, stream wrapper. I followed the steps given on ...
0
votes
2answers
166 views

image optimize Issue

I have installed S3 File System module, and all image files are served from AWS S3 bucket. The images served from S3 are not compressed. How to compress those images? Following is the message I get ...
1
vote
0answers
464 views

Aggregate and compress CSS/JS not working with Amazon S3

I am using Amazon S3, S3fs modules, I cant able to Aggregate and compress CSS/JS in Performance(admin/config/development/performance), as it is disabled. And it says "Set up the public files ...
1
vote
1answer
621 views

How much memory and storage does a website take on a server? [closed]

Hello Drupal community! This is my first time working with Drupal and AWS. I would like to know if an AWS t2.micro instance would be good enough for running a new Drupal 8 website with moderate ...
1
vote
0answers
310 views

Access Denied with Login CDN

I'm using Drupal with CloudFront CND. Drupal works very well without CloudFront, but I get an error when I try to login in my website after enable CloudFront, the user is ok, the pass is ok but I get '...
6
votes
1answer
14k views

How to fix error 'This site can’t be reached' for a site installed on Amazon? [closed]

I have just installed Drupal 8.1.3 on an Amazon instance using the instructions provided here. I can connect via SSH (console) to my instance successfully. However, when I try to browse my public ...
0
votes
0answers
235 views

IMCE with Amazon S3 loads images very very slow

I am using D7 with Amazon s3, imce, imce filefield module to upload images through CKEditor. And when I clicked on image upload button in CKEditor it is taking around 3-5 minutes to load the CKEditor ...
1
vote
0answers
49 views

amazon s3 files storage

We want to move all files to amazon s3 storage and I'm wondering if it is enough to move sites/default/files to a new storage. I know there are modules which offer Amazon S3 support, but I would ...
1
vote
0answers
44 views

Site wide invalid Imagepaths withe Amazon S3 and IMCE

I'm working on an already existing page to make some updates. In the process Drupal 7 changed the images paths in the nodes, resulting into wrong paths to images. The only thing I did that would ...
1
vote
1answer
126 views

AWS S3 Bucket - File Explorer Field

I'm looking for a file field module that will allow me to select files from an AWS S3 Bucket, but not upload them. A client of mine is going to be uploading csv files via ftp from a different ...
2
votes
1answer
343 views

What should I enter as server URL?

I have a Drupal site on Amazon server. On the amazon server, I have created an Elasticsearch server. I want to connect my Drupal instance with that server so I can use the search server for performing ...
1
vote
0answers
144 views

Relative URLs with S3FS module

So I found this answer on here on how to get relative URLs on my Drupal 7 site (How do I modify Drupal so that ONLY relative URLs are used through the whole site?), but it doesn't seem to work nicely ...
0
votes
0answers
410 views

Prevent spammers accessing my site by blocking their IP address

Story: I have my drupal site hosted in aws. Initially there were so many spam registrations occured. I prevented this completely by google recaptcha. By checking the recent logs in drupal I see the ...
1
vote
1answer
382 views

How do I install a 3rd party PHP library in sites/all/libraries - can I just plonk it in there?

For example, according to the Drupal module s3fs, I can -- to quote their README.txt :- 2b) If you don't have drush, go to to http://aws.amazon.com/sdk-for-php and click the orange "AWS SDK for ...
2
votes
1answer
735 views

What is the proper way to set up an AWS Auto-Scale group? [closed]

What is the proper way to setup an EC2 Web Server with the aim of serving a site which experiences high demand once a month via 1 small EC2 for 90% of the time and then enter a load balanced group for ...
1
vote
1answer
245 views

Failed to load the AWSSDK

I'm trying to get Drupal to work with the S3 File System module. I downloaded the AWS SDK files and put them in the libraries folder. I don't know why I'm getting the failed to load error. I tried ...
1
vote
0answers
61 views

Get back S3 response headers

I have a video upload form which a) updates an entity table and the file_managed table in the Drupal database, and b) uploads the video file to Amazon S3 using the Drupal AmazonS3 module. I also have ...
3
votes
1answer
188 views

Do i really need to hack core to install Amazon S3 Module?

I want to run my site through Amazon's Elastic Beanstalk but to do so i need to configure an S3 bucket and the Drupal Amazon S3 module requires that i have to hack core. Surely there must be a way ...
1
vote
0answers
298 views

S3fs redirect aggregated file to s3 failed

I follow the s3fs's readme to redirect aggregated files. It didn't work. Got 403 error in the nginx access log. Here is my nginx conf. location ~* ^/(s3fs-css|s3fs-js)/(.*) { set $s3 '*.s3....
1
vote
1answer
183 views

remote DB for remote servers with Aegir

I am working to install Aegir on an AWS EC2 instance (Amazon AMI) using an RDS mysql database. So basically a virtual box with a remote DB server. I am using the manual procedure and am running into ...
0
votes
0answers
388 views

Drupal amazon s3 image styles not generated

My server configuration: drupal 7 + multisite, nginx + varnish and Amazon s3 storage for image assets. I have my website images in amazon s3 storage. I can able to upload the images via drupal into ...
1
vote
1answer
894 views

D7, AmazonS3, composer_manager and awssdk libraries understanding

I have been struggling with the installation of amazonS3. Although I was finally able to have it working pretty well, I would like to confirm with experts my understanding of the problem, and check ...
0
votes
2answers
79 views

Blank page after save amazon s3 configuration [closed]

I open configuration http://www.mysite.gr/admin/config/media/amazons3 and I put Amazon S3 API Key * Amazon S3 API Secret * and Default Bucket Name * When I push the save button I get blank page
0
votes
1answer
58 views

amazons3-7-x-2.0, Multiple upload to S3, #upload_location wrong URI

I installed the brand new amazons3-7.x-2.0 published last week, and the process is not straightforward. I finally managed to have it works, and I have the CCK file field, with a typical remote #...
0
votes
1answer
268 views

Error when uploading file through Drush on S3 volume

I am using Amazon S3 volume to store the node's attachment. I keep having the following message: file_put_contents(public:///.htaccess): failed to open stream: "DrupalPublicStreamWrapper::stream_open"...
1
vote
0answers
482 views

Unabl to read EXIF when uploading to s3

I am uploading files to s3 bucket. Using exif_orientation to read exif data. It works fine for local image. But when we are uploading to Amazon s3, it is unable to read EXIF data. Reason I found is ...
2
votes
2answers
2k views

Uploading Image to s3 turns to horizontal always

I am using s3fs module to put images on s3bucket using image field in any content type. When I take a verticle picture, upload it to the s3bucket, it turns to horizontal. On local file system, it ...
3
votes
1answer
702 views

AWS RDS and Multiple Database Installation

Does anyone have experience with setting up a Drupal Multi-Site with multiple Databases onto one RDS instance in AWS? I was looking into this link below but I was not familiar with the exact ...
1
vote
0answers
461 views

ImageCache on s3 not generating

I am using putObjectFile to move images form local to s3 bucket. Source image is moving fine. After moving, I am updating its uri, filename in file_managed table. But I am unable to see its image ...
0
votes
1answer
1k views

Cannot connect to Amazon S3

Whenever I try to save the bucket name I get these errors: Notice: Use of undefined constant CURLOPT_CLOSEPOLICY - assumed 'CURLOPT_CLOSEPOLICY' in RequestCore->prep_request() (line 626 of /...
2
votes
0answers
159 views

Amazon S3 module how does the local cache work and where is it at?

I'm using the Drupal Amazon S3 module and just wondered where/how the local cache works. Does it reduce file gets to S3? From what I can see there is an amazons3 table in the db and I can see ...
1
vote
1answer
2k views

Bitnami Installation forcing me to flush caches while theming

I recently set up a Drupal 7 installation on an AWS ec2 instance with Bitnami. When I'm theming, or editing any kinds of files in the sites directory a regular browser refresh won't show the changes,...
1
vote
0answers
35 views

How to manage EC2 via Drupal

I would like to manage a couple of EC2 instances with Drupal, so instances as entities would be nice (to build a UI, tag them etc). Is there anything in that direction already? I am looking for: - ...
1
vote
0answers
445 views

Drupal 7: Picture Module, Amazon S3, CloudFront CDN setup?

Has any of you successfully set up the Picture Module for responsive images to work with Amazon S3 and CloudFront CDN? I have been successful setting Drupal up to work with Amazon S3 and CloudFront, ...
0
votes
1answer
79 views

File Field to browse webhost file directory instead of local file directory

Is there a module that it convert the file-field to browse the webhosting directory instead of browsing my local file? Optional: Browsing from authenticated S3 bucket? TIA
0
votes
2answers
660 views

Amazon S3 for Stage / Production only?

Is it possible to use the Amazon S3 module for stage / production only? The site I'm building, is using features. So when I export my fields for the content types, I either have the option to select ...
0
votes
1answer
121 views

How do I alter the file link of an uploaded image in edit/create node form?

When I upload an image in drupal, a file icon and a file name that links it to original file is created. For example, I upload "foo.jpg" then <a href=path-to-file>foo.jpg</a> is ...
0
votes
1answer
1k views

IMCE with Amazon S3

I'm having an issue configuring IMCE to rely on the Amazon S3 bucket pointed to by the AmazonS3 module: https://www.drupal.org/project/amazons3. I have successfully configured image fields to use the ...
1
vote
1answer
696 views

storage_api The file could not be uploaded

I'm attempting to upload a a file using a custom context type that uses the storage class i defined thru the storage_api module. For some reason the upload of an image to it is failing with "The file ...