Home > Programming, Servers & Scripts > Hosting, Servers & Security

Anyone made Gzip work on Amazon EC2? (2)


07-04-2015 11:21 AM #1 pandabear (Member)
Anyone made Gzip work on Amazon EC2?

Hey guys, I am trying to optimize landingpage speed etc and want to install Gzip on Amazon EC2, but I cant make it work.

I also tried Deflate, also doesnt work.

It is installed and it tells me that its already loeaded and activated, but it doesnt work tho. ANy suggestions where the mistake could be?

Thanks a lot in advance!


07-04-2015 12:00 PM #2 sawrubh (Member)

Getting gzip to work on Amazon EC2 doesn't make sense. You should be searching for a way to get gzip enabled for your server software, which could be Apache or Nginx (it'll most probably be Apache), on your EC2 instance which could be running an Ubuntu or a CentOS image. Go through the steps mentioned on this blog and let me know if you get it working.

Note: The blog talks about getting it working on a CentOS machine but the steps should be similar on an Ubuntu machine too, just that the path to the apache config file on Ubuntu will be different (it'll most probably be in /etc/apache2/sites-available and you'll have to create the deflate.conf file in /etc/apache2/mods-available/deflate.conf).


Home > Programming, Servers & Scripts > Hosting, Servers & Security