Scheduled start and stop of EC2 instances on AWS (Credits to Sanket Raut)

Technologies we’ll use: EC2 (your cloud server) Lambda (compute service that lets you run code without worrying about servers) Cloud-watch (monitoring service for AWS) Finally IAM (Identity and Access Management, control security access) STEP 1 – EC2 You’ll need to make sure you have fired up an EC2 instance and that it is running. It doesn’t matter what is on the instance

Read more

How to free PHP-fpm Memory at Server

  Often when you are running PHP with any web server (Apache or Nginx), the FastCGI process manager eats up a lot of your RAM, by forking multiple subprocesses for every request, which in turn leads to memory leakage. To avert this, it is desirable to schedule a shell script and reduce this memory leakage. Save the below command as

Read more

Production-Ready Multi Bitrate HLS VOD stream creation.

HLS is one of the most prominent video streaming formats on desktop and mobile browsers. Since end-users have different screen sizes and different network performance, we want to create multiple renditions of the video with different resolutions and bitrates that can be switched seamlessly, this concept is called MBR (Multi Bit Rate). For this task, we will use ffmpeg, a

Read more
« Older Entries Recent Entries »