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

S3 and CloudFront Templates #54

Open
dchristian3188 opened this issue Aug 9, 2021 · 1 comment
Open

S3 and CloudFront Templates #54

dchristian3188 opened this issue Aug 9, 2021 · 1 comment

Comments

@dchristian3188
Copy link

What is the teams opinion on deploying static sites to S3 and CloudFront via proton.

While it doesn't fit the paradigm of Containers or Lambda, i don't see any technical limitations from the service / CF side.

I think environments, may get weird, for example is the S3 bucket and cloudfront distro the environment?

Curious to know if this has come up. Currently building a workshop leveraging proton and we were thinking about this as one of the sections. If the team agrees happy to provide a working template.

@rafavallina
Copy link
Contributor

Hi @dchristian3188 Thanks for this!

I do agree with you that nothing prevents this from being used. Although we consider that Proton is a service particularly well suited for containers and serverless, we ultimately rely on Infrastructure-as-code, so anything that can be done with IaC will work with Proton.

To your question about environments - I think this might be a use case where an environment is not needed, really. We've had some discussions about removing the need for an environment for at least certain types of templates. However, we still haven't pulled the trigger because the environment can be useful, for instance in deploying across accounts. I haven't had an example like this come up, so I'm not sure what would be the most popular way to go. My first thought is that both the CloudFront distribution and the S3 bucket are closer to a service than to an environment. However perhaps the bucket can be the service and the distribution can be the environment?

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

2 participants