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
[WIP] Serverless Protected Static Website #12
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s0enke
changed the title
Serverless Protected Static Website
[WIP] Serverless Protected Static Website
Jul 12, 2017
- Origin Access Identity - CloudFront / Lambda Edge
s0enke
force-pushed
the
serverless-protected-website-hosting
branch
from
July 30, 2017 19:35
eb27dc5
to
9351fb6
Compare
s0enke
force-pushed
the
serverless-protected-website-hosting
branch
from
July 30, 2017 19:58
9ceeaa5
to
81901d1
Compare
which proved not to be able to change the http status code to 401
s0enke
force-pushed
the
serverless-protected-website-hosting
branch
from
August 3, 2017 18:02
4860dee
to
b449814
Compare
step one without authentication, but with OIA and correct path rewrites
because terraform is now also used in the tests
s0enke
force-pushed
the
serverless-protected-website-hosting
branch
from
August 4, 2017 07:35
d88ebe4
to
e2069d9
Compare
s0enke
force-pushed
the
serverless-protected-website-hosting
branch
from
August 5, 2017 13:15
369179b
to
7c7eba8
Compare
so that the index document of a subfolder will be loaded when the subfolder is requested
s0enke
force-pushed
the
serverless-protected-website-hosting
branch
from
August 5, 2017 20:19
08f44b1
to
4982c1a
Compare
15 tasks
superseeded by #14 |
16 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Static website hosting is still a thing. And often, we want to protect our content e.g. with a password, for example when a website should not yet be public. While S3 provides a way to host static websites, it unfortunately offers no possibility to protect these websites with e.g. HTTP Basic Auth.
This
CloudFormationTerraform template utilizes CloudFront with Origin Access Identity and Lambda@Edge to mimic a static website with basic auth password protection. Cognito userpools are used to manage credentials.TODO:
Lessons Learned: