AWS — How to Install Redis on EC2 Instance for Fast In-Memory Database

Shawn Shi
3 min readSep 3, 2018

UPDATED 2020/10/16:
- All commands have been updated so that this article is up-to-date!

I have recently installed Redis on our web server at work and used it as the session engine in order to improve the performance of our web application. Redis successfully improved the session time by 99.97% compared to our old file engine. I’d like to share a quick and simple way to install Redis on your AWS EC2 server. If it is of interest to the audience, I will share a more complete and secure way to install, protect…

--

--

Shawn Shi

Senior Software Engineer at Microsoft. Ex-Machine Learning Engineer. When I am not building applications, I am playing with my kids or outside rock climbing!