0ed38f5b97ce5b5da118efc0f1de73a1071796d0
wiki/info/landscape/creating-ec2-image-for-webserver-from-scratch.md
| ... | ... | @@ -168,3 +168,32 @@ maxretry = 5 |
| 168 | 168 | ``` |
| 169 | 169 | * Ensure that fail2ban will be started automatically when the instance starts: `chkconfig --level 23 fail2ban on` and start it right away with `service fail2ban start`. You can see which filters are active using `service fail2ban status`. |
| 170 | 170 | * Ensure you have EC2 / EBS snapshot backups for the volumes by tagging them as follows: ``WeeklySailingInfrastructureBackup=Yes`` for ``/var/www/static``, ``/var/log``, ``/var/log/old`` and ``/var/log/old/cache``, ``DailySailingBackup=Yes`` for ``/home``. |
| 171 | + |
|
| 172 | + |
|
| 173 | +## Basic setup for reverse proxy instance |
|
| 174 | + |
|
| 175 | +perl |
|
| 176 | +httpd |
|
| 177 | +apachetop |
|
| 178 | +per-CGI |
|
| 179 | +postfix |
|
| 180 | +sendmail-cf |
|
| 181 | + mod_proxy_html |
|
| 182 | +tmux |
|
| 183 | +nfs-utils |
|
| 184 | +amazon linux extras install php7.2 && yum update && yum install php |
|
| 185 | + |
|
| 186 | + |
|
| 187 | +root access |
|
| 188 | +num of connections trackable |
|
| 189 | +keyreader token |
|
| 190 | + |
|
| 191 | +amazon-efs-utils |
|
| 192 | +mounts |
|
| 193 | + |
|
| 194 | +mail -> I don't think anything is needed but I added the stuf to sendmail-cf /// |
|
| 195 | + |
|
| 196 | +logrotate target |
|
| 197 | + |
|
| 198 | +chkconfig nfs on (half complete) |
|
| 199 | +fail2ban setup |
|
| ... | ... | \ No newline at end of file |