https://medium.com/@rutikdevops/-d0f7c4f05b1b
- In this Project, I walk you through a clone app that replicates the iconic Netflix user interface, complete with smooth transitions and a database integration for storing user information.
- Create 1 ec2 instance : Netflix : Ubuntu, t2-medium
![image](https://private-user-images.githubusercontent.com/109506158/273588212-ed82d619-c843-4065-8512-796d4be75637.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzODU1ODYsIm5iZiI6MTcyMjM4NTI4NiwicGF0aCI6Ii8xMDk1MDYxNTgvMjczNTg4MjEyLWVkODJkNjE5LWM4NDMtNDA2NS04NTEyLTc5NmQ0YmU3NTYzNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDczMVQwMDIxMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ZDVkMDRmNTJjMzFiOGY5ZGI4Yjk0NjFmMjkzZGVhYWJlOGFhOWJhNmFmZGYzN2I5MzY3N2Y3ZjYwY2Y4MzM4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.wB66_nkhmvmjmvIUpcPukjvqgkU4hlzRGQELinLj-7s)
- Goto Security-> security group-> Edit inbound rules-> Add rule-> choose All Traffic
![image](https://private-user-images.githubusercontent.com/109506158/273597322-fe6d6b36-4f10-4b4d-b994-eac96fda9c39.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzODU1ODYsIm5iZiI6MTcyMjM4NTI4NiwicGF0aCI6Ii8xMDk1MDYxNTgvMjczNTk3MzIyLWZlNmQ2YjM2LTRmMTAtNGI0ZC1iOTk0LWVhYzk2ZmRhOWMzOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDczMVQwMDIxMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MDJmZGY5MmJmY2NlNjc3MTUxNWZmNDA0YjU0MWZlYWEwZWY1ZGNmYzNlNDUzYTYwMTFkMDQ0MmZiYmZmMjZmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.q6e8ZmKssBG8IYStLzpil4xqnEyIsW3hv5UZKPq3XPw)
ubuntu
sudo su
apt update -y
apt install docker.io -y
git clone https://github.com/rutikdevops/DevOps-Project-8.git
cd DevOps-Project-8
Install the necessary packages and dependencies for the application using the following command:
sudo apt install -y curl dirmngr apt-transport-https lsb-release ca-certificates
Install Node.js, a JavaScript runtime, with the following commands:
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install -y nodejs
Navigate to the project directory and install the project-specific dependencies:
npm install
To start the Netflix clone application, use the following command:
npm start &
If you want to serve the built version of the application, you can use the serve
package. First, install it globally:
npm install -g serve
Then, serve the built application on port 3000:
serve -s build -l 3000
Now you should be able to access the Netflix clone application by opening your web browser and navigating to http://localhost:3000
.
Enjoy exploring the Netflix clone!
docker pull rutikdevops/netflix