Try Live Demo

This blog post describes how to start Ant Media Server instance on an AWS Ubuntu 18.04 virtual machine instance. Amazon Web Services (AWS) is a secure cloud services platform, offering compute power, database storage, content delivery, and other functionality to help businesses scale and grow. AWS Marketplace is an online software store that helps customers find, buy, and immediately start using the software and services that run on AWS.

Step 1) Log in to AWS Console

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.

Step 2) Create an Instance

After logging in to AWS Console, you will see the list of AWS Services. Click on the EC2 (Elastic Computing).

Start Ant Media Server on AWS Marketplace

EC2 dashboard shows a summary of current resources. Click on Launch Instance button.

Start Ant Media Server on AWS Marketplace

At this stage, you need to select Amazon Machine Image. You can either select pure Ubuntu Image or pre-installed custom images from the marketplace. To start Ant Media Server instance, first, click AWS Marketplace from the selection tab. Then use the search field to find Ant Media Server images. Click on the Ant Media Server image that fits your need.

 

Start Ant Media Server on AWS Marketplace

After your image selection, you need to define the instance type which is compatible with the image.

 

Start Ant Media Server on AWS Marketplace

 

Ant Media team defines security rules such as required ports etc during image preparation to provide a smooth Ant Media Server experience. You can define additional security rules but keep in mind that incorrect settings will prevent the server from running.

 

Start Ant Media Server on AWS Marketplace

 

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.

 

Screenshot from 2019 02 20 21 59 32

Step 3) Monitor and Connect

Once you have successfully started instance then you can monitor it in the Instance panel easily.

Start Ant Media Server on AWS Marketplace

To connect your instance, select your instance and click the Connect button to get connection instructions.

 

Start Ant Media Server on AWS Marketplace

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 ubuntu@ec2-3-120-228-117.eu-central-1.compute.amazonaws.com

 

After creating the instance, wait for installation and reach management console from the URL:  http://<Server_IP_Address>:5080 .

If you have any question, contact us from the web site.I hope this tutorial has been useful to you.

Also, Join the Ant Media community and be a part of the Ant Media Server!

Categories: Tutorial

Selim Emre Toy

Highly motivated full-stack developer with 6 years of experience especially in Java and Angular. Constantly learning, passionate about solving complex problems. Proficient in various programming languages and technologies. Enjoys finding creative solutions to challenges.