-
Notifications
You must be signed in to change notification settings - Fork 639
Start Ant Media Server on AWS (Single Instance)
Attention: We have migrated our documentation to our new platform, Ant Media Resources. Please follow this link for the latest and up-to-date documentation.
Ant Media Server can be easily deployed on the Amazon Web Services Instances. Please note that; this documentation describes single instance deployment. Let's have a look at the steps.
First, you need to log in the AWS Console. If you don’t have an AWS account, you need to register first. Then you are able to use AWS services.
After logging in to AWS Console, you will see the list of AWS Services. Click on the EC2 (Elastic Computing).
EC2 dashboard shows a summary of current resources. Click on Launch Instance button.
At this stage, you need to select Amazon Machine Image. Click Ubuntu Server from Quick Start tab.
After your image selection, you need to define the instance type which is compatible with the image.
You need configure security parameters. Please keep in mind that, Ant Media Server needs following ports to operate. Here are the ports that server uses;
- TCP:1935 (RTMP)
- TCP:5080 (HTTP)
- TCP:5443 (HTTPS)
- TCP:5554 (RTSP)
- UDP:5000-65000 (WebRTC and RTSP)
At the last stage, AWS creates a key file to connect your instance. If you have created before for your other instance, you can continue to use it for your new instance also. Do not forget to download the key file you have not before.
Once you have successfully started instance then you can monitor it in the Instance Panel easily.
To connect your instance, select your instance and click the Connect button to get connection instructions.
You need to first configure permission of the key file correctly.
chmod 400 ant.pem
Then connect using ssh credentials. Such as:
ssh -i ant.pem [email protected]
Just apply 2 basic steps that described in the Getting Started page in order to install Ant Media Server easily. Basically you need to;
-
Download installation script and define required permissions
wget https://raw.githubusercontent.com/ant-media/Scripts/master/install_ant-media-server.sh
andchmod 755 install_ant-media-server.sh
-
Run installation script
sudo ./install_ant-media-server.sh [ANT_MEDIA_SERVER_INSTALLATION_FILE]
- Introduction
- Quick Start
- Installation
- Publishing Live Streams
- Playing Live Streams
- Conference Call
- Peer to Peer Call
- Adaptive Bitrate(Multi-Bitrate) Streaming
- Data Channel
- Video on Demand Streaming
- Simulcasting to Social Media Channels
- Clustering & Scaling
- Monitor Ant Media Servers with Apache Kafka and Grafana
- WebRTC SDKs
- Security
- Integration with your Project
- Advanced
- WebRTC Load Testing
- TURN Servers
- AWS Wavelength Deployment
- Multi-Tenancy Support
- Monitor Ant Media Server with Datadog
- Clustering in Alibaba
- Playlist
- Kubernetes
- Time based One Time Password
- Kubernetes Autoscaling
- Kubernetes Ingress
- How to Install Ant Media Server on EKS
- Release Tests
- Spaceport Volumetric Video
- WebRTC Viewers Info
- Webhook Authentication for Publishing Streams
- Recording Streams
- How to Update Ant Media Server with Cloudformation
- How to Install Ant Media Server on GKE
- Ant Media Server on Docker Swarm
- Developer Quick Start
- Recording HLS, MP4 and how to recover
- Re-streaming update
- Git Branching
- UML Diagrams