I'd like to create a Drupal 8 release that uses the AWS PHP library, but centralizes all of the configuration for the different systems (AWS profiles, keys, etc) and creates services so they can be used via dependency injection.

Comments

mpriscella created an issue. See original summary.

dragonwize’s picture

Status: Active » Fixed

Hi Mike, that sounds great. I have added you as a maintainer.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sgurlt’s picture

Category: Support request » Plan
Priority: Normal » Major

Hey,
we want to start a D8 branch for the project.
Our goal is to add Cloudfront and Cloudwatch.
@Mike: Please ping me when you are interested in a cooperation.

Greetings
Sebastian

mpriscella’s picture

Hi Sebastian,

I have a branch that I've been actively working on that is almost ready for an alpha release. I'll accelerate my efforts and try to get a workable branch up in the next couple of weeks.

Regarding the adding of Cloudfront and Cloudwatch, my current architecture has a main module (aws) which focuses on profile/ credential management and a plugin system for all of the separate aws services (focusing on route53 initially with plans to create plugins for ec2, s3, sns, and sqs). Adding Cloudwatch and Cloudfront should be straightforward once the base module has been released. I'll make sure to ping you once the code is up.

Thanks!

Mike

sgurlt’s picture

Hey Mike,

that sounds great, I am waiting for you feedback.

Greetings
Sebastian

sgurlt’s picture

Any news here?

mpriscella’s picture

Hey Sebastian,

Everything is working right now, but it's lacking encryption which I believe is a real blocker for release (even alpha). The last bit of work I need to do (which is in progress) is to auto-generate an encryption key (using the encrypt and real_aes modules) and ensure that the AWS secret key is properly encrypted. There isn't a whole bunch of documentation on how to auto-generate keys which has been slowing me down, but I have some time today and tomorrow so I'm gonna try and hash it out then.

If you want, I can add you to the github repo and you can try it out locally without encryption, I just don't want to create a release without that very important piece of the puzzle.

Mike

mpriscella’s picture

Hi Sebastian,

I just created an alpha release of this module. You can find it (including installation instructions) here. I was having issues auto-generating an encryption key and profile during installation of the module and that is something I will be working on, however if you create the key and profile prior to installing the module then everything else works as expected.

If you look at the submodules under the modules/ directory, you should be able to determine how service plugins are made. That should help you begin working on Cloudfront and Cloudwatch plugins. If you have any questions, don't hesitate to reach out!

Mike