9 ms·
Amazon CloudFront now supports HTTP/2
- nhumrich 10y agoOh 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...
- generj 10y agoNow if only AWS supported ipv6...
- tomschlick 10y agoI'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.
- luhn 10y agoIIRC, 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.
- djsumdog 10y agoThat was my first thought as well.
- the_economist 10y agoI assume someone from AWS is on here: Do we need to invalidate all of our assets after changing to http2?
- dbarlett 10y agoI just enabled it and received an HTTP/2.0 response without invalidating.
- lostcolony 10y agoThe 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."
- leesalminen 10y agoThis is awesome for AWS users. Hopefully this will push Rackspace to enable HTTP/2 on their CDN service.
- kijin 10y agoNow 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.
- cthalupa 10y ago>They didn't even support SNI until recently. https://aws.amazon.com/about-aws/whats-new/2014/03/05/amazon-cloudront-announces-sni-custom-ssl/ https://aws.amazon.com/about-aws/whats-new/2014/03/05/amazon... Two and a half years
- paulddraper 10y agoThough ELB SNI is nowhere to be seen :(
- nikolay 10y agoNice, but ELB needs HTTP/2 badly as well!
- Rapzid 10y agoELBv2(Application Load Balancer) supports HTTP/2.
- nikolay 10y agoYeah, but you need to migrate from ELB to ALB (scripts and existing resources) instead of turning a switch on like with CloudFront.
- Rapzid 10y agoELB 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.
- themartorana 10y agoIs 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.
- RhodesianHunter 10y agoI 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.
- colmmacc 10y agoThere's a script provided by AWS dev-support which can help: https://github.com/aws/elastic-load-balancing-tools https://github.com/aws/elastic-load-balancing-tools
- Rapzid 10y agoThat's one wait over. Next wait: CloudFormation support for this option.
- fred256 10y agoSo annoying that every new feature they release will take weeks before it's available on CloudFormation. :/
- themartorana 10y agoI feel this pain. Used to be longer than 2 weeks...
- serge2k 10y agoI waited months once.
- nikolay 10y agoBut 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.
- MBCook 10y agoDoes 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?
- danellis 10y agoBut still no WebSocket support?
- natmaster 10y agoWhy 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-balancer/ https://aws.amazon.com/blogs/aws/new-aws-application-load-ba... The EC2 ELB supports websockets and HTTP/2.
- danellis 10y agoYes, 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.
- captn3m0 10y agoNow if only they fixed the forwarding of HSTS Headers over S3: https://forums.aws.amazon.com/thread.jspa?threadID=162252 https://forums.aws.amazon.com/thread.jspa?threadID=162252
- luhn 10y agoThey 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 https://forums.aws.amazon.com/thread.jspa?messageID=715806
- boulos 10y agoYou may have missed this but Google Cloud CDN can now sit in front of GCS: https://cloud.google.com/compute/docs/load-balancing/http/using-http-lb-with-cloud-storage 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.
- themihai 10y agoDoes 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.
- ashmastaflash 10y agoAwesome. 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.html https://www.defcon.org/html/defcon-24/dc-24-village-talks.ht... (grep for HTTP/2)