-
AWS – How To Deploy Two Application In Nginx Server?
GenAI – How To Deploy Two Application In Nginx Server ? Table Of Contents: Steps To Deploy Two Application In Nginx Server. Step-1: Mention This PUBLIC_URL Wherever You Are Referring The Static Files. Set base paths so React can load static files properly when hosted under a subfolder. In App.js, all paths to static files should use: src={`${process.env.PUBLIC_URL}/images/Harman-3.png`} Step-2: Take Two Separate Build For Two Applications. # For Softline $env:PUBLIC_URL="/softline/"; npm run build # For Hardline $env:PUBLIC_URL="/hardline/"; npm run build Step-3: SSH Into Server ssh [email protected] Step 4: Create Directories for Each App sudo mkdir -p /var/www/html/hardline sudo mkdir -p
-
AWS – How To Redeploy Python API Changes?
GenAI – How To Redeploy Python API Changes? Table Of Contents: Steps To Redeploy The Python Changes. Step-1: Make Your Code Changes Update your FastAPI or Flask code (hardline_main.py, etc.) Step-2: Stop the Existing Service sudo systemctl stop hardline.service Update your FastAPI or Flask code (hardline_main.py, etc.) Step-3: Reload systemd Daemon sudo systemctl daemon-reload This reloads the service definitions (needed only if you’ve edited .service files). Step-4: Start the Updated Service sudo systemctl start hardline.service This starts the service again using your latest code. Step 5 (Optional but Recommended): Enable Service on Boot sudo systemctl enable hardline.service Makes sure your
-
AWS – How To Host React JS App In AWS Using EC2 Instance ?
GenAI – How To Host React JS App In AWS ? Table Of Contents: Introduction. Steps To Host React JS App In AWS. (1) Introduction. Step-1: Update System Packages Update your package index to ensure you’re installing the latest versions. sudo apt update Step 2: Install NGINX Web Server Install the NGINX package using APT. sudo apt install nginx Step-3: Upload the React Build Folder To The VM Upload The Build Folder Of The React Js App To The Virtual Machine.(deep_learning_07) On your local machine, navigate to the React app directory, and manually drag the /build folder to the VM,
-
AWS – Interview Question & Answers
AWS – Interview Question & Answers Table Of Contents:
-
Q & A – AWS Model Deployment
Q & A – AWS Model Deployement Table Of Contents: General ML Deployment Questions. Docker & Containerization. Cloud Deployment (AWS, GCP, Azure). API & Flask Integration. Scaling & Optimization. CI/CD & Automation. Security & Monitoring. (1) General ML Deployment Questions. What are the different ways to deploy a machine learning model? What is the difference between batch inference and real-time inference? What are the advantages and disadvantages of deploying models using Docker? What are edge AI deployments, and when should you use them? How do you handle model versioning in deployment? (2) General ML Deployment Questions. What is a Docker
-
Q & A – AWS Model Deployment
-
AWS – Interview Questions
No posts found.