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

Allow Custom Endpoint URL Assignment via AWS ALB #35

Open
freeformflow opened this issue Aug 12, 2016 · 1 comment
Open

Allow Custom Endpoint URL Assignment via AWS ALB #35

freeformflow opened this issue Aug 12, 2016 · 1 comment
Assignees
Milestone

Comments

@freeformflow
Copy link
Contributor

freeformflow commented Aug 12, 2016

Right now we default to having a CloudFront distribution in front of Gateway, but it has problems:

  1. It's really slow the first time you deploy and when you teardown
  2. It requires the developer to go get an ACM cert

The release of ALB yesterday gives us another, much faster option to provide URL assignment.

So the expected scheme is to:

  • If no custom domain is provided: the CLI outputs the Gateway's default URL https://{distributionID}.execute-api.{region}.amazonaws.com/{stageName}
  • If a custom domain is provided, but no caching is requested: Panda Sky deploys with ALB (with or without TLS)
  • If a custom domain is provided, and caching is requested: Panda Sky deploys with a CFr distro (TLS cert required)
@freeformflow freeformflow added this to the 1.0.0-beta-01 milestone Aug 12, 2016
@freeformflow freeformflow self-assigned this Aug 12, 2016
@freeformflow
Copy link
Contributor Author

ALB integration isn't possible... yet. ALBs can only create listeners for endpoints from within a VPC, and Gateway does not support VPC integration.

I'm moving this to future. If either of these restrictions change, we'll be able to move on this, but not today. 😕

@freeformflow freeformflow modified the milestones: Future, 1.0.0-beta-01 Aug 26, 2016
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

1 participant