AVAS Technology Blog

Compressing all HTML pages with Apache2 on AWS
By: System Admin 01/29/2013

The Apache2 web server has two mods which can be used to compress data sent to the client (ie browser); mod_deflate and mod_gzip. The gzip mod is more versatile but more challenging to setup. For simple compression of HTML, CSS and JavaScript files, the deflate mod works just file. Compression is particularly important on Amazon Web Services (AWS) because:

HTML is very redundant and bulky Smaller files are sent to the client faster AWS charges you based upon OUTPUT bandwidth; smaller files = less bandwidth usage per file

Simple activation of mod_deflate

...

Installing and Configuring Apache2 on AWS Amazon Linux AMI
By: System Admin 09/26/2012

Apache2 is the standard Linux web server. It deals with all of the http and https requests sent to the server. Apache2 modules are also used to compile php scripts. Installing Apache2 These instructions assume you have already setup an AWS instance and have an SSH client (like PuTTY) available.

Log in to your instance via the SSH client. Transfer to the root user. Use YUM to install httpd (the apache2 web server application) Press "Y" when it asks if you want to install Apache Verify the installation occurred correctly by starting the httpd service

Summary of command line inputs

$ sudo su $ yum install httpd ..... Do you want to install httpd (Y/N): Y $ service httpd start

Configuring Apache2

...