Skip to content

malhomaid/catalog-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Catalog-deployment

This is a udacity project, its required to deploy your catalog application on AWS or Google cloud, and this file is a description on how the project is deployed in detailed steps.

Summary of host configuration for deployment

  1. Changed SSH default port
  2. Configured firewall to allow specific ports
  3. Created user and added it to sudoers group
  4. Forced Public key authentication
  5. Setup some swap memory to avoid OOM error and configured the Linux kernel vm.swappiness to 10 to avoid moving unnecessary data to swap memory also set vm.vfs_cache_pressure to 50 for performance reasons for more details
  6. Installed PostgreSQL and created a user for the application which has access to its database

Apache2 Installation and configuration:

Apache2 was installed and configured to serve to two virtual hosts (front-end and back-end), the front-end virtual host is listening on any request on port 80, and the back-end virtual host is listening on port 8080 only on localhost, so whenever a request comes to the front-end virtual host with /api path the reverse proxy will redirect the request to the back-end virtual host.

Redis Installation and configuration:

Redis was installed and configured the Linux kernel overcommit memory setting it to 1 to fix background saving fails with a fork() error for more reference.

Access details

List of third party resources

A list of third party resources used

About

A description of how the project is deployed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published