Scaling NodeMediaServer on ECS Part 2

Scaling NodeMediaServer on ECS Part 2

On part 1 of this article i just showed you how to start the project and how to build the docker image. In this part 2 i will show you how to get it running on ECS.

  1. First we have to make sure that we have already setup AWS CLI on our local machine. If you havent did that, please install it now.
  2. After you successfully install awscli on your local machine you be able to access the different aws resources.

Lets try to publish our image to our ECR repository. Go to your AWS Console and go to ECR(Elastic Container Service). Select on your repository then click on View Push Commands it should look like the following.

No alt text provided for this image

Follow the steps listed on the modal.

After publishing our Docker image to ECR, lets go ahead and create our ECS Cluster. On your AWS Console search Elastic Container Service.

No alt text provided for this image
No alt text provided for this image

Then hit Next Step and fill the following fields

  • Cluster name
  • EC2 Instance = t2.micro for free tier
  • Number of instances = 1 or 2
  • Keypair = can be empty
  • VPC = just select default
  • Subnets = select all subnets
  • Auto assign public IP = yes or no
  • Ports = 1935-8000



要查看或添加评论,请登录

John Dave Decano的更多文章

社区洞察

其他会员也浏览了