Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Setup #4

Open
zackbloom opened this issue Mar 22, 2016 · 6 comments
Open

Automated Setup #4

zackbloom opened this issue Mar 22, 2016 · 6 comments

Comments

@zackbloom
Copy link

It would be nice if there was an automated way of setting up the bucket/CORS/Policy/etc. and doing the upload to S3. You might want to take a look at Stout for example.

@matteobrusa
Copy link
Owner

Indeed, the setup is quite lengthy.
I've just discovered that AWS offers APIs for both CORS and policy, very nice!
Perhaps a client (browser) side app hosted on Github to bootstrap the instance? One would still need, though, to setup the user and relative permissions.
Hmm, food for thoughts...

@zackbloom
Copy link
Author

I believe Stout does set up the user account and permissions.

@matteobrusa
Copy link
Owner

From what I read, Stout requires a "master" credentials set it uses to create specific users for each project.
It needs to start somewhere, and would be unwise to trust any app with the root AWS credentials.

@zackbloom
Copy link
Author

I believe it just needs credentials which have the permissions required to do the actions we're talking about, set up an S3 bucket, create an IAM user, etc. I don't think this is gonna be avoidable if the goal is to make the setup automatic.

@monken
Copy link

monken commented Apr 18, 2016

Why not use CloudFormation?

@matteobrusa
Copy link
Owner

CloudFormation looks definitely interesting, if you have experience with it, feel free to contribute ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants