Coder Social home page Coder Social logo

catalog-deployment's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.