Two Rails Apps Same Server

Опубликовано: 23 Октябрь 2024
на канале: BrainTrust Digital
559
26

Do you want to learn how to run two completely different Ruby on Rails apps on the same AWS EC2 server? In this AWS + Rails tutorial we walk through the entire process which can allow you to save quite a bit of money in server fees.

One important note, you should verify both applications traffic with your server size. In our case, these are extremely small applications with a server plenty big enough to house them. We also previously placed this server behind an AWS Application Load Balancer so we have the ability to scale out if needed.

⏰ Timestamps
0:00 Introduction
1:28 Getting Started
1:58 Generate a new SSH Key
2:43 Adding Key to GitHub
3:22 Create Server SSH Config
4:35 AWS Rails Deploy Update
5:05 Pushing to GitHub
5:35 Deploying AWS Rails
6:22 BrainTrust Pull Production DB
7:20 BrainTrust Deploy Update
8:03 Pushing to GitHub
8:53 Deploying BrainTrust
10:41 Bear Showing Off
11:16 Update NGINX
12:25 Update Route 53
13:10 Verify Routing
13:43 Push Production DB
15:37 Verify and Clean up
16:03 Closing notes

How to Generate SSH Keys
   • How to Generate SSH Keys  

How to Add SSH Keys to GitHub Account
   • How to Add SSH Keys to GitHub Account  

How to Create and Use an SSH Config File
   • How to Create and Use an SSH Config F...  

How to Deploy Your First Rails App
   • How to Deploy Your First Rails App to...  

How to Sync Production Data in Rails Quickly
   • How to Sync Production Data in Rails ...  

AWS + Rails Series Playlist
   • AWS + Rails  

My Gear List
http://brain-trust.io/my-gear

My YouTube SEO Software
https://www.tubebuddy.com/braintrust

My Accounting Software
https://shareasale.com/r.cfm?b=960179...

Try Audible and Get Two Free Audiobooks
https://amzn.to/36dXe3V

Make sure you subscribe to my channel to keep up to date with new content!

DISCLAIMER: Links in this description include affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting BrainTrust Digital so I can continue to provide you with free content each week!