Want to live stream without keeping your laptop on? Whether you’re hosting an event, gaming session, or tutorial — running OBS Studio in the cloud means your stream stays live, even if your laptop shuts down. In this guide, I’ll show you how to set up OBS on AWS EC2, using their free tier.
🔧 What You’ll Need
-
A free AWS account
-
A stable internet connection
-
Basic familiarity with remote desktop
☁️ Step 1: Launch an EC2 Windows Server
-
Log into your AWS Console: https://console.aws.amazon.com/ec2
-
Click “Launch Instance”
-
Instance Details:
-
Name:
OBS-Cloud-Streamer
-
OS: Choose Microsoft Windows Server 2019 Base
-
Instance Type: Select
t2.micro
(free tier eligible)
-
-
Key Pair:
-
Create a new key pair (RSA)
-
Download the
.pem
file (keep this safe!)
-
-
Security Group Settings:
-
Allow RDP (Remote Desktop Protocol) on port 3389
-
Allow all outbound traffic (default rule)
-
-
Click Launch
🔌 Step 2: Connect via Remote Desktop
-
After your instance is running, go to Instances > Connect > RDP Client
-
Download the .rdp file and decrypt your Windows password using the
.pem
file -
Open the
.rdp
file on your computer and log in with the decrypted credentials
🎥 Step 3: Install OBS Studio
Once you’re connected to the EC2 Windows desktop:
-
Open Edge or Internet Explorer
-
Download OBS from https://obsproject.com
-
Install OBS just like you would on any Windows PC
📡 Step 4: Configure OBS for YouTube
-
Open OBS and go to Settings > Stream
-
Select:
-
Service: YouTube – RTMPS
-
Stream Key: Get it from your YouTube Live dashboard
-
-
Add video or screen sources:
-
For testing, use image slides or screen capture (since there’s no webcam by default)
-
🚀 Step 5: Go Live!
-
Click Start Streaming in OBS
-
Go to your YouTube Studio — your live feed should appear!
-
You can disconnect the RDP session — OBS will keep running in the background ✅
⚠️ Important Notes
-
t2.micro
may struggle with HD streams. For better performance, upgrade tot2.medium
ort3.small
(may incur costs). -
Always stop or terminate your instance after streaming to avoid unnecessary charges.
-
You can stream 24/7 with this method if your instance stays running.
📱 Bonus: Add a Mobile Camera Feed
Want to use your phone as a live camera?
-
Use apps like NDI HX Camera or OBS.Ninja
-
Connect your phone feed to OBS running on the EC2 instance
✅ Final Thoughts
Running OBS in the cloud is a powerful trick for uninterrupted, laptop-free live streaming. It’s especially useful for creators, churches, teachers, or events that need 24/7 streams.
Have questions or need a setup script? Drop a comment and I’ll help you out!
✅ Step 1: Sign in to AWS and Launch EC2
-
Click “Launch Instance”.
-
Name your instance (e.g.,
OBS-Streamer
). -
Choose AMI (Amazon Machine Image):
-
Select Microsoft Windows Server 2019 Base.
-
-
Choose Instance Type:
-
Select
t2.micro
– free tier eligible.
-
-
Create Key Pair:
-
Create a new key pair to access your server.
-
Download the
.pem
file — you’ll need this.
-
-
Security Group:
-
Allow RDP (port 3389) for remote desktop access.
-
Allow outbound access (default is fine).
-
-
Click Launch Instance.
🔌 Step 2: Connect to Your EC2 via Remote Desktop
-
Wait for the instance to show “running”.
-
Click Connect > RDP Client.
-
Download the .rdp file.
-
Decrypt the password using your
.pem
file. -
Open the
.rdp
file in Windows or Mac, and log in with the provided username/password.
🧰 Step 3: Install OBS Studio
-
Open the browser on the remote EC2 desktop.
-
Download OBS from: https://obsproject.com
-
Install as usual.
🔗 Step 4: Set Up OBS for YouTube Streaming
-
In OBS:
-
Go to Settings > Stream
-
Choose YouTube – RTMPS
-
Paste your Stream Key from YouTube Live Dashboard.
-
-
Add your video/audio sources just like you would on your laptop.
-
Note: This server has no webcam, unless you use a virtual camera feed.
-
-
Test with a simple screen recording or image source.
🚀 Step 5: Start Streaming
-
Hit Start Streaming.
-
YouTube should now show your live stream.
-
You can disconnect from Remote Desktop — OBS will continue running in the background.
⚠️ Important Tips:
-
The free
t2.micro
instance has very limited CPU. For stable 720p or 1080p streaming, you may need to upgrade tot2.medium
ort3.small
. -
You’ll be charged only if you exceed free tier usage.
-
Always stop or terminate your instance when done to avoid charges.
🔄 Optional: Use NDI or Stream from Phone to EC2
If you want your mobile camera to act as the video feed:
-
Use the NDI HX Camera app or OBS.Ninja.
-
Send that feed to OBS running on EC2.