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
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).
EC2 dashboard shows a summary of current resources. Click on Launch Instance button.
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.
After your image selection, you need to define the instance type which is compatible with the image.
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.
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.
Step 3) Monitor and Connect
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 firstname.lastname@example.org
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!