Merge/Remove abandoned AWS projects

Events happening in the community are now at Drupal community events on www.drupal.org.
boombatower's picture

After some quick searching I discovered there are quite a few AWS projects that have been abandoned and a fair amount of overlap. Any interested in marking the abandoned projects as such and compiling a list of the overlapping projects?

A few that appear abandoned:
https://drupal.org/project/amazon_aws
http://drupal.org/project/s3_api
http://drupal.org/project/ec2

Possible overlap:
http://drupal.org/project/awssdk
http://drupal.org/project/creeper
Discussion to merge: http://drupal.org/node/1114744

Dependency of awssdk: http://drupal.org/project/media_amazon

Comments

Cloud module

jason.fisher's picture

Recommend the Cloud module be taken into consideration for such a discussion:

http://drupal.org/node/919966

renaming creeper

muldos's picture

Hi !
I join the discussion :)
I agree that creeper is poorly named and I'm ok to rename it if we need to merge or cleanup projects related to awssdk.
But i want to keep it very simple : just a wrapper around the official AWS SDK PHP library.
I just provide an administrative screen to fill in aws id and aws secret key and a simple button to check if everything is fine.
I got many feedback from users that find it cool this way, and I was expecting that additional features can be made by other users in the form of other module with creeper as dependency (like http://drupal.org/project/amazon_ses for example).

I think the "no bullshit" (and no deps) spirit around this library is something that need to be preserved.

David

Well, core uses the libraries

boombatower's picture

Well, core uses the libraries concept to integrate third party libraries and the libraries project attempts to further that. The project/awssdk simply provides a definition for awssdk and a drush make file so it can be used to automatically download the library. I use a set of drush make scripts so that I can build out a side of 40+ modules with one command so this is a critical feature for me. The variables for configuration seems like a good Drupal integration, although I assume it still means the configuration file has to be places where the library wants it, not sure if we can do something more automatic. Regardless be happy to merge that into awssdk I think it has a good namespace if that is ok with you? I can just give you commit access and we can move from there. Additionally, we can make libraries optional so you just get the variables stuff, but I think the libraries API is the way to go.

let's do this !

muldos's picture

It sounds like a good battle plan :)
Let's do this !

Lets discuss the best way to

boombatower's picture

Lets discuss the best way to include variable configuration http://drupal.org/node/1114744#comment-4341052.

I completed the settings

boombatower's picture

I completed the settings integration which is now completely automatic. Modules can use the AWSSDK by executing libraries_load('awssdk'); and then writing code like normal. The configuration will automatically be loaded without any copying/linking of settings file or anything like that. Created issue to discuss and implement http://drupal.org/node/1125984.

So thoughts about the other abandoned projects?

I will gladly abandon s3_api,

vacilando's picture

I will gladly abandon s3_api, which indeed does not seem to be supported, as long as any common project resulting from the discussion here provides with clear alternatives to s3_api's functions such as
$ttt = $s3->putObject(S3::inputFile($filepath), $s3_api_bucket, $filename, variable_get('s3_api_default_perm', ACL_PUBLIC_READ),array(),$requestHeaders);


---
Tomáš J. Fülöpp
http://twitter.com/vacilandois

I would assume Amazon's

boombatower's picture

I would assume Amazon's official "AWS SDK for PHP" which support S3 has what you need, so awssdk project on d.o should do it for you.

Here is the API reference for S3: http://docs.amazonwebservices.com/AWSSDKforPHP/latest/#i=AmazonS3.

@muldos: is there anything

boombatower's picture

@muldos: is there anything else we need to do before you proceed?

Another module for your

geerlingguy's picture

Another module for your consideration:

http://drupal.org/project/aws

See issue: http://drupal.org/node/1178890

Which code to use / start with?

markwk's picture

I've looked at these projects but I'm still not quite sure which modules I need and where I'll need to add and adapt. It's definitely a situation where I thought I'd ask before wasting hours on testing and trying them all.

Let me tell you my situation:

I have a live video chat server setup in an Amazon EC2. It's a medium or large ec2 since the video chat sessions tend to eat a lot of resources depending on number of viewers and broadcasters. Anyways, these chat sessions are relatively rare maybe a few times a week for a few hours. So what I'd like to do setup a "meetings" content type with date/time and then use scheduler/cron run to start the EC2 server with one of the above mentioned "AWS modules." The goal is to start the server a an hour or two before the meeting, then turn it off an hour or two after.

Can anyone recommend which Drupal module or modules I should use to accomplish this?

NOTE: This is for Drupal 7. Also I'm not sure how this work on "merging" of multiple projects went but I'd be willing to help on this if it fits "roughly" into / alongside my above requirements.

Thanks in advance for the help...

http://drupal.org/project/aws

markwk's picture

http://drupal.org/project/awssdk seems to be correct. Yes?

Yes, awssdk

toemaz's picture

That's the wrapper module for the official AWS SDK. So take that one.

I have never used the Drupal

stevenator's picture

I have never used the Drupal awssdk suite but if it is a wrapper for the ec2-api-tools and ec2-ami-tools, then you are headed in the correct direction. I just waned to post a comment and make mention that you will need to work out some DNS issues as AWS allows to stop your instance, but when re-starting, AWS will provision new resources including new internal and public IP's. So you will need to make site to fire a command that re-associates a previously allocated Elastic IP.

They'll still charge you for the IP in addition to the turn off video chat server, but not even close to what it costs when it is on. Elastic IP's are no charge when they are allocated to a running instance.

@toemaz: thanks for thumbs

markwk's picture

@toemaz: thanks for thumbs up.

@stevenator: Thanks for the heads up. I haven't really worked with AWS so it'll be a learning experience. I didn't know this about changed IPs / DNS. I'm sure I'm looking forward to a few more gotcha's to come!

which one are alive - let us know plz

unleash's picture

Hello dear all -

well i am pretty new to drupal: I am looking for a AWS-Projekt - one that gives us some AWS-Features to Drupal-sites.

Well who knows if there is any project alive!?`Let us know!
thx
unleash

Amazon Web Services (S3, EC2)

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: