Skip to content

Hosting

Zane Bartlett edited this page May 26, 2023 · 1 revision

Overview

This document provides an overview of our hosting setup, including both database and application hosting, using Amazon Web Services (AWS).

Database Hosting with Amazon Relational Database Service (Amazon RDS)

Our database is hosted using Amazon RDS with Postgres.

Database Hosting Details

  • Endpoint: dart-explore.cm2rk5aogwhi.us-east-1.rds.amazonaws.com
  • Port: 5432
  • Database: dart-explore
  • Managed By: Zane Bartlett
  • Security Measures: Secure login and key pair generation are implemented for database access. The database is also contained within the same VPC as all other services for additional network-level security. However, as this is a public facing application, security groups are currently configured to allow necessary traffic.

Database Hosting Resources and References

Refer to the following resources for a better understanding of our database setup:

  1. Set up RDS instance with Postgres: A video tutorial on using Amazon RDS.
  2. Amazon RDS User Guide: The official user guide from AWS, providing comprehensive information on RDS setup and management.

Application Hosting with Amazon Elastic Compute Cloud (Amazon EC2)

Our application is hosted using Amazon EC2.

Application Hosting Details

  • IP Address (IPv4): 34.229.221.248
    • Note: This public IP address is subject to change.
  • Port: 8080
  • Access Example: You can access our application using the following URL - http://34.229.221.248:8080
  • Managed By: Zane Bartlett

Application Hosting Resources and References

Refer to the following resources for a better understanding of our application setup:

  1. Set up EC2: A video tutorial on using Amazon EC2.
  2. Amazon EC2 User Guide: The official user guide from AWS, providing comprehensive information on EC2 setup and management.

Domain, SSL/TLS, and Load Balancer Configuration with AWS

Our service is further optimized through domain routing, SSL/TLS encryption, and a load balancer setup. This process involved registering a domain, obtaining an SSL/TLS certificate, setting up a load balancer, routing traffic to the load balancer, and forwarding traffic to EC2 instances.

Configuration Details

  • Domain Registrar: Route 53
  • Registered Domain Name: dallasbymetro.com
  • SSL/TLS Certificate Provider: AWS Certificate Manager
  • Load Balancer Name: dallasbymetro-elb
  • DNS Configuration: Updated domain's DNS records in Route 53 to route traffic to our Load Balancer
  • Traffic Forwarding: Configured Load Balancer to forward incoming requests to our EC2 instances over HTTP
  • Managed By: Zane Bartlett

Note: The traffic forwarding via the Load Balancer occurs over HTTP since this internal traffic is secure within the AWS network and is not exposed to the internet.

Resources and References

Refer to the following resources for a better understanding of our setup:

  1. Complete guide: A video tutorial through talking about how to set up a load balancer, register a domain, get a certificate, do DNS config, and traffic forwarding.
    • Note: We forward to port 8080 instead of 80 like the video walks through as this is what the application is responding to.

Notes

On Monitoring & Maintenance: We have implemented basic monitoring features provided by AWS to ensure the smooth running of the application. Regular updates and maintenance are performed as required.

On Security: While this document shares some specific details for transparency, all necessary precautions have been taken to secure the system. This includes secure login measures, key pair generation for the server, and proper passwords at the database and server level.```