Hacker News new | past | comments | ask | show | jobs | submit login
Amazon CloudFront now supports HTTP/2 (amazon.com)
194 points by alexbilbie on Sept 7, 2016 | hide | past | favorite | 33 comments



Oh man, i've been waiting for a long time for this. I'm super excited. Now if only it supported server push using the link header...


Now if only AWS supported ipv6...


I'm sure they have a team hard at work on it but it would be nice if they at least confirmed it was getting closer. Maybe an estimate of "more than a month but less than a year" etc.

Their costs have to be crazy to keep purchasing IPv4 addresses so I'm sure they'd like it too.


IIRC, they purchased a huge block of 16 million IPv4 addresses quite some time ago and are still pulling from that, so they aren't investing any new money into IPv4.

Also, I don't see them being that stressed about it, they now have the t2.nano now which are ~$5/m and still come with a free IPv4 address.


That was my first thought as well.


Now if only they fixed the forwarding of HSTS Headers over S3: https://forums.aws.amazon.com/thread.jspa?threadID=162252


They don't even support CORS correctly [1]. I use Google Storage+AWS CloudFront for my static assets because S3 is so thoroughly broken.

[1] https://forums.aws.amazon.com/thread.jspa?messageID=715806


You may have missed this but Google Cloud CDN can now sit in front of GCS: https://cloud.google.com/compute/docs/load-balancing/http/us...

Feel free to ping me with your project id if you need to be whitelisted for the Alpha.

Disclosure: I work on Cloud at Google, so I'm trying to win your business.


Does it support ssl for custom domains? AWS has a "certificate manager" service that integrates nicely(i.e provides free certificates, automatic renewall etc) with their CDN.


That's one wait over. Next wait: CloudFormation support for this option.


So annoying that every new feature they release will take weeks before it's available on CloudFormation. :/


I feel this pain. Used to be longer than 2 weeks...


I waited months once.


But they say HTTP/2 is enabled by default, i.e. if you create a new distribution via CloudFormation, it may end up having HTTP/2 enabled.


Awesome. This will surely drive the creation of more HTTPS/2, QUIC, and SPDY dissection tools: https://www.defcon.org/html/defcon-24/dc-24-village-talks.ht... (grep for HTTP/2)


I assume someone from AWS is on here: Do we need to invalidate all of our assets after changing to http2?


I just enabled it and received an HTTP/2.0 response without invalidating.


The blog post tells you, after showing you how to enable it on an existing distribution - "The change will be effective within minutes and your users should start to see the benefits shortly thereafter."


Does anyone know why Amazon doesn't enable gzip compression on Elastic Beanstalk servers by default or give you an easy option instead of having to use the .elasticbeanstalk configuration files to do it?


Now if Amazon could support SSL at a price point somewhere between SNI (free) and dedicated IP ($600/mo), there could be some serious competition between CloudFlare and CloudFront. Say what you will about CloudFlare MITM'ing everybody, but their SAN SSL on the Pro plan ($20/mo) is a brilliant hack. I would gladly pay double that for an equivalent Amazon service, but unfortunately Amazon seems a bit slow when it comes to SSL/TLS. They didn't even support SNI until recently.


>They didn't even support SNI until recently.

https://aws.amazon.com/about-aws/whats-new/2014/03/05/amazon...

Two and a half years


Though ELB SNI is nowhere to be seen :(


This is awesome for AWS users. Hopefully this will push Rackspace to enable HTTP/2 on their CDN service.


Nice, but ELB needs HTTP/2 badly as well!


ELBv2(Application Load Balancer) supports HTTP/2.


Yeah, but you need to migrate from ELB to ALB (scripts and existing resources) instead of turning a switch on like with CloudFront.


There's a script provided by AWS dev-support which can help: https://github.com/aws/elastic-load-balancing-tools


ELB is now legacy. I would be very surprised if they add HTTP/2 support to it; it was one of ELBv2's big launch features.


Is that a difficult migration? Admittedly our stack is tens of servers, not tens of thousands, but at first glance it looked like I could achieve migration via a simple update to a cloudformation script.


I just spent the last week migrating our dozen micro-services over. It wasn't too bad, and resulted in less complication as you can now have one internal and one external lb rather than one per service (and less security groups, DNS records, etc.).

The only real difference is that you now have to configure routing and target groups.


But still no WebSocket support?


Why would you deliver static content over websockets? CDNs are for http based delivery of static files.

If you want websockets you should be using EC2 https://aws.amazon.com/blogs/aws/new-aws-application-load-ba...

The EC2 ELB supports websockets and HTTP/2.


Yes, obviously you don't serve static content over websockets.

The point is that CloudFront can be used as the front end to your web site, with, depending on path, requests going to origins that are S3 buckets, ELB or EC2. Until recently, ELB didn't support websockets either. It does appears though that a new ELB was launched last month that does support it, so that allows for a solution.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: