top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

NGINX in the AWS Environment.

+2 votes
266 views

In my AWS Environment:
1. What is the optimum utilization of NGINX?
2. What are the features of NGINX that I can implement?

posted Jul 10, 2015 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

I am doing live video streaming over the internet with raspberry pi-3 from any where i want to access the live stream (without port forwarding).

So finally I have setup the nginx-rtmp server AWS on Ubuntu, and successfully completed single client streaming pi camera feed with raspberry pi-3 on the Internet using this server but the delay is about 6 to 9 seconds.

Our Approach

Set up nignx rtmp webserver on AWS EC ubuntu 16.04. sucessfully complete single client streaming Pi Camera Feed with raspberry pi 3 on internet using this server.

Our Problem
We are not able to stream multiple Pi camera with different raspberry pi 3 on nginx rtmp server with delay. We facing a larger delay of 8~10 second.

We want

We want to setup nginx rtmp server with multiple client (Raspberry Pi /Android APP user) which can handle all client load balance.

we have setup configuration file on linux based nginx rtmp server as follows:-

#user  nobody;
worker_processes  1;

error_log  logs/rtmp_error.log debug;
pid        logs/nginx.pid;

events {
    worker_connections  1024;
}

rtmp {
         server {
                listen 1935;
                chunk_size 4096;
                buflen 1ms;
                application cam_id {
                        live on;
                         allow publish 127.0.0.1;
                        allow publish all;
                        allow play all;
                        record all;
                        record_path /home/video_recordings;
                        record_unique on;
                        hls on;
                        hls_nested on;
                        hls_path /home/hls;
                        hls_fragment 10s;
                        dash on;
                        dash_path /home/dash;
                        dash_nested on;
        }

    }
}

We can play video streaming with

rtmp://server-ip/cam_id/live
+1 vote

I had installed tomcat 8 port 80 on Amazon AWS EC2, but netstat, fuser does show me tomcat on port 80. Browser gives 404 error and connection refused. I wrote to Amazon support for the misery...

+1 vote

I would like to create AWS monthly billing graph using python and python flask.so for this i need python script using that i have to get last 6 month's monthly bill in AWS.

For this, I have created one virtual environment in my local machine. for example my ip is: 127.0.0.0:5000. Here after pull that script, it's automatically connected to AWS and display's last 6 month's data. its my requirement.

+1 vote

I have transferred a wordpress website on AWS (EC2 and RDS-Mysql servers). The DNS has been setup in Route53.

The wordpress files has been located under directory:

/var/www/html

And the mysql database is imported on RDS. The home page looks fine but when I click on the other pages, it gives "404 not found" error. I have modified /etc/httpd/conf/httpd.conf file to allow WordPress to use permalinks:

<Directory "/var/www/html">
AllowOverride All 

I have also checked the size of transferred files and they look as same as the main files.

Any help would be appreciated.

...