-
Notifications
You must be signed in to change notification settings - Fork 636
Running Ant Media Server Container on ECS
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.
In this document we will tell how you can run Ant Media Server Enterprise edition container on ECS in cluster mode.
-
Open AWS ECS Service
-
Navigate Clusters
-
Click Create Cluster
-
Select EC2 Linux+Networking Type then click next
-
Write ams-cluster as cluster name
-
UnderInstance settings
- Set EC2 instance type to c5.xlarge
- Select your keypair
-
Under Networkin Settings Select public VPC as Cluster VPC
- Select at least one subnet from VPC
- Set Auto Assigned Public IP to Enabled
- Create a Security Group for Ant Media Server with the following rules
-
then click create
-
Open AWS ECS Service
-
Navigate Task Definitions
-
Click Create New Task Definition
-
Select EC2 then click next
-
Write ams-task-definiton as Task Definition Name
-
Create a role with name of ecsTaskExecutionRole and attach AmazonECSTaskExecutionRolePolicy, AWSMarketplaceMeteringRegisterUsage policies
-
Select ecsTaskExecutionRole as Task Role
-
Select Host as Network Mode
-
ISet Task Memory 4096 and Task CPU 4096
-
Click Add Container Write
- ams-container into Container Name,
- 709825985650.dkr.ecr.us-east-1.amazonaws.com/ant-media/ant-media-server-ee:2.4.0.2 into Image
-
In Task Definition Page click Create
-
Open AWS ECS Service
-
Navigate Clusters
-
Selec ams-cluster
-
Navigate Tasks tab
-
Click Run New Task
-
Select EC2 as Launch type
-
Select ams-task-definition as Task Definition
-
Click Run Task
- Access the login page http://EC2-Instance-IP:5080
- Login to access to the dashboard
- 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