CodeWithMuh
CodeWithMuh
  • 80
  • 211 079
Assign Elastic/Static IP Address to AWS EC2 instance
In this video, I walk you through assigning an Elastic IP to your AWS EC2 instance, ensuring a static IP address for your server that won't change after reboots.
_ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
Resources:
Subscribe to MY Newsletter: www.linkedin.com/newsletters/7142487325682446336/
_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
Contact:
Email: codewithmuh@gmail.com
_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
If you need consultation or would like to hire me.
Hire me on Upwork: www.upwork.com/freelancers/~01b0bdb4d921c3a555
Place an order on Fiverr: www.fiverr.com/s/49lG51
_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
Social Links:
Github: github.com/codewithmuh
LinkedIn: www.linkedin.com/in/muhammad-rashid-daha/
X: rashiddaha80
Instagram: rashiddaha1
Medium: medium.com/@codewithmuh
Website: codewithmuh.com
#aws
Переглядів: 377

Відео

How to Setup Cloudflare DNS in Seconds
Переглядів 7802 місяці тому
In this quick tutorial, I show you how to set up Cloudflare DNS for your GoDaddy domain in just a few seconds. Learn how to replace your domain's nameservers with Cloudflare's, and point your EC2 instance's IP address to your domain using Cloudflare's DNS records. This simple process will enhance your domain's security and performance with Cloudflare's powerful tools. _ _ _ _ _ _ _ _ _ _ _ _ _ ...
How to Clone a GitHub Private Repository on a Server | Step-by-Step Guide
Переглядів 9692 місяці тому
In this tutorial, I’ll walk you through the process of cloning a private GitHub repository onto a AWS EC2 Ubuntu server. Whether you're deploying code or setting up a development environment, knowing how to securely access and clone private repositories is crucial. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Resources: Commands GitHub Repository: github.com/codewithmuh/clone-private-repo Subscribe to MY News...
Deploy Frontend and Backend on Same Server - AWS EC2 instance - Django and React
Переглядів 2,7 тис.2 місяці тому
Learn how to deploy a React frontend and Django backend on the same AWS EC2 instance. This step-by-step guide covers everything from setting up your EC2 instance and attaching an Elastic IP to configuring your domain on Cloudflare, installing necessary packages, and deploying both frontend and backend. Finish strong with a complete Nginx setup for seamless integration. _ _ _ _ _ _ _ _ _ _ _ _ _...
Kubernetes Explained in Simple Way
Переглядів 6842 місяці тому
Discover Kubernetes through easy-to-understand analogies that break down complex concepts into relatable examples. Perfect for beginners and anyone looking to simplify their Kubernetes learning journey! Github Repo: github.com/codewithmuh/analogy-of-kubernetes.git Article on Linkedin: www.linkedin.com/pulse/analogy-kubernetes-explained-muhammad-rashid-rx6jf/?trackingId=wX+0FutkSf62WMJ72eslwQ Su...
Dockerize Nodejs Application | Docker| Chainguard
Переглядів 3314 місяці тому
In This video, you will learn how to dockerize your Nodejs application. We will learn how to keep docker image file size small avoid security issues and minimize vulnerabilities using the chainguard node base image. Github Repo: github.com/codewithmuh/dockerize-nodejs.git Chainguard: www.chainguard.dev/ Chainguard Node Base Image: images.chainguard.dev/directory/image/node/versions Subscribe to...
Become An AWS Community Builder in 2024
Переглядів 1,3 тис.5 місяців тому
In this video, I discuss the benefits of the AWS Community Builder program and how you can become a community builder to receive numerous advantages. If you're as passionate about AWS as I am, don't miss out on the chance to join this incredible community. Sign up on the waitlist now: aws.amazon.com/developer/community/community-builders/ subscribe to MY Newsletter: www.linkedin.com/newsletters...
Deploy Dockerize Django App on AWS ECS Fargate using GitHub Actions CI/CD Pipeline and Terraform
Переглядів 2,6 тис.6 місяців тому
Learn how to deploy a Dockerized Django application on AWS ECS Fargate effortlessly with GitHub Actions and Terraform in this comprehensive tutorial. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Resources: Article: www.linkedin.com/pulse/deploy-dockerize-django-app-aws-ecs-fargate-using-github-rashid-yudjf? GitHub Repository: github.com/codewithmuh/django-aws-ecs-terraform Subscribe to MY Newsletter: www.li...
Unboxing AWS Community Builder Program First Year Welcome Swag Kit
Переглядів 13 тис.6 місяців тому
🎉 Exciting News Alert! 🎉 Join me in unboxing the much-awaited AWS Community Builder Program First Year Welcome Swag Kit! As a proud member of the AWS Community Builder program, I'm thrilled to share this moment with you. It's not just about the swag; it's about the incredible journey of learning, networking, and growth that comes with being a part of this vibrant community. 🌟 Join me as I unvei...
Deploy React App on AWS EC2 Ubuntu Server With Nginx, SSL And Domain Setup
Переглядів 9 тис.7 місяців тому
Deploy React App on AWS EC2 Ubuntu Server With Nginx, SSL And Domain Setup. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Resources: Article: www.linkedin.com/pulse/deploy-react-application-aws-ec2-ubuntu-server-nginx-domain-rashid-hkvxf GitHub Repository: github.com/codewithmuh/react-aws-ec2-nginx Subscribe to MY Newsletter: www.linkedin.com/newsletters/7142487325682446336/ Course on Udemy: Learn Backend De...
AWS Load Balancer HTTPS Setup with Route 53 and Certificate Manager & HTTP Redirect to HTTPS
Переглядів 8 тис.7 місяців тому
In this video, we will demonstrate how to set up a Load Balancer for HTTPS traffic using AWS Certificate Manager and Route 53. We will also cover the process of redirecting HTTP traffic to HTTPS. Additionally, we will discuss some of the potential corner cases that may arise during this setup. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Resources: 🚀 Transform your career with my free newsletter: www.linked...
Deploy Django app on AWS EC2 with Auto Scaling Group, Load Balancer, Route53, and SSL
Переглядів 3 тис.7 місяців тому
We will deploy a Django web app on AWS, leveraging powerful services for scalability and security. Learn to easily set up EC2 instances with launch templates, and configure Auto Scaling Groups, and Load balancer. We'll integrate Route 53 for seamless DNS management, SSL for encryption using AWS Certificate Manager, and RDS for robust database handling. By the end, you'll master scaling Django a...
Deploy Django Project on AWS EC2 Instance using Nginx, Gunicorn in 5 Minutes
Переглядів 4,6 тис.7 місяців тому
Deploy Django Project on AWS EC2 Instance using Nginx, Gunicorn in 5 Minutes
Dockerize Django app with Postgres, Elasticsearch, Redis, Celery, and Celery beat | Docker Compose
Переглядів 1,6 тис.8 місяців тому
Dockerize Django app with Postgres, Elasticsearch, Redis, Celery, and Celery beat | Docker Compose
Store Docker container images in Artifact Registry
Переглядів 6208 місяців тому
Store Docker container images in Artifact Registry
Source Code Analysis using sonarqube and Github actions
Переглядів 1,1 тис.8 місяців тому
Source Code Analysis using sonarqube and Github actions
Install Kubectl, Java JDK, Node.js, npm, and Trivy on Linux Machine
Переглядів 589 місяців тому
Install Kubectl, Java JDK, Node.js, npm, and Trivy on Linux Machine
Setup GitHub Actions self-hosted runners on Google Compute Engine Instance
Переглядів 5989 місяців тому
Setup GitHub Actions self-hosted runners on Google Compute Engine Instance
Dockerize Vuejs Application with Nginx for Production | Docker
Переглядів 4,7 тис.9 місяців тому
Dockerize Vuejs Application with Nginx for Production | Docker
Deploy project on Google Kubernetes Engine | Blue Green Deployment | GitHub Actions CI/CD Pipeline
Переглядів 8169 місяців тому
Deploy project on Google Kubernetes Engine | Blue Green Deployment | GitHub Actions CI/CD Pipeline
Django Starter Kit | Development with Docker Compose, Celery, ElasticSearch, PostgreSQL, and Swagger
Переглядів 3089 місяців тому
Django Starter Kit | Development with Docker Compose, Celery, ElasticSearch, PostgreSQL, and Swagger
Dockerize React Application | Dockerize node js react app | Docker
Переглядів 1,3 тис.9 місяців тому
Dockerize React Application | Dockerize node js react app | Docker
CodeWithMuh GitHub Readme Profile: Clone It Instantly
Переглядів 14610 місяців тому
CodeWithMuh GitHub Readme Profile: Clone It Instantly
Python for Beginners | Learn Python in 1 Hour
Переглядів 264Рік тому
Python for Beginners | Learn Python in 1 Hour
Terraform for Beginners: Learn Infrastructure as Code in 90 Minutes
Переглядів 372Рік тому
Terraform for Beginners: Learn Infrastructure as Code in 90 Minutes
Creating a VPC with Subnet, Security Group, and EC2 Instance on AWS using Terraform | Part 04
Переглядів 1,6 тис.Рік тому
Creating a VPC with Subnet, Security Group, and EC2 Instance on AWS using Terraform | Part 04
Deploying Your First AWS Infrastructure with Terraform Configuration Files | Part 03
Переглядів 238Рік тому
Deploying Your First AWS Infrastructure with Terraform Configuration Files | Part 03
Installing and Configuring Terraform and AWS CLI for Infrastructure as Code (Part 2)
Переглядів 443Рік тому
Installing and Configuring Terraform and AWS CLI for Infrastructure as Code (Part 2)
Getting Started with Infrastructure as Code: An Introduction to Terraform (Part 1)
Переглядів 269Рік тому
Getting Started with Infrastructure as Code: An Introduction to Terraform (Part 1)
Install and Setup Jenkins on ubuntu Server | Digital Ocean
Переглядів 1,4 тис.Рік тому
Install and Setup Jenkins on ubuntu Server | Digital Ocean

КОМЕНТАРІ

  • @soso2413
    @soso2413 2 дні тому

    I have followed the video and I am encountering some errors at the last stage. The deploment is failing. Here is the error message: Error code ScriptFailed Script name scripts/python_dependencies.sh Message Script at specified location: scripts/python_dependencies.sh run as user ubuntu failed with exit code 1 Please, I would really appreciate it if you can advise me on how to resolve this

  • @juhandvan
    @juhandvan 3 дні тому

    Thanks so much

  • @shamrozanjum
    @shamrozanjum 8 днів тому

    Explained well

  • @MykhailoVasko
    @MykhailoVasko 12 днів тому

    5:02 - you shown your keys. I'm dumb enough not to know, how to use them. Maybe, you wanna blur them

    • @CodeWithMuh
      @CodeWithMuh 11 днів тому

      Maybe. LinkedIn message for more help

  • @faakhirzahid6284
    @faakhirzahid6284 13 днів тому

    IDTS, EC2 part was needed, this could have been done with GA

  • @WadeeArbash
    @WadeeArbash 13 днів тому

    Amazing video !!! I have one question: what if i'm using Django for the backend and ReactJS for the frontend and connecting the two using Django REST Framework? How do I deploy my full project in this case? and is it recommended to use docker containers / compose in deploy production app? Thank you.

    • @CodeWithMuh
      @CodeWithMuh 11 днів тому

      Its optional. Reach at linkedin for solutions to discuss

  • @kxmode
    @kxmode 14 днів тому

    Thanks! Just a quick side note-all droplets come with a console that’s basically Ubuntu. It’s super easy to access, on the same line as the IP address on the far right side (just click the "Console" link). You don’t even need to enter any credentials to get in! 👍

  • @sumitupadhyay6377
    @sumitupadhyay6377 14 днів тому

    okhay

  • @AlwalaManoj-w5b
    @AlwalaManoj-w5b 17 днів тому

    i followed your video but i was stuckk in pip install -r requrement.txt and i followed with your code itself. it is getting errors

    • @AlwalaManoj-w5b
      @AlwalaManoj-w5b 17 днів тому

      please share the commands

    • @AlwalaManoj-w5b
      @AlwalaManoj-w5b 17 днів тому

      note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ruamel.yaml.clib Running setup.py clean for ruamel.yaml.clib Failed to build ruamel.yaml.clib ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (ruamel.yaml.clib)

    • @CodeWithMuh
      @CodeWithMuh 16 днів тому

      Its is related to your packages and double check python version, your packages should be compatible. This is related to your application.

  • @BaberEdu-lw2ti
    @BaberEdu-lw2ti 18 днів тому

    I followed all the steps, but nothing is showing up on the public address, and the log file isn't opening either.

    • @CodeWithMuh
      @CodeWithMuh 16 днів тому

      Somewhere you will have a mistake.

  • @BaberEdu-lw2ti
    @BaberEdu-lw2ti 18 днів тому

    To deploy future changes, you can either use a specific command or access the server and run a 'git pull' command?

  • @sauirbekartikbai8654
    @sauirbekartikbai8654 19 днів тому

    Thank you so much, this was really helpful!!!

    • @CodeWithMuh
      @CodeWithMuh 8 днів тому

      You are welcome, I am happy to hear that it helped.

  • @brightlight1485
    @brightlight1485 22 дні тому

    Great work! I am planning to use Django Rest framework with Axios and reactJS. Hope it works as well. Thanks

  • @ArchIntelLTD
    @ArchIntelLTD 23 дні тому

    Great tutorial. God bless you. if you are using your own project and it is large and you encountered below error during "npm run build" "FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory" Fix it by creating another ec2 instance that uses 2Gb RAM

  • @programmer9809
    @programmer9809 27 днів тому

    👍

  • @programmer9809
    @programmer9809 27 днів тому

    👍

  • @minaketanmishra7186
    @minaketanmishra7186 Місяць тому

    Thanks buddy!

  • @programmer9809
    @programmer9809 Місяць тому

    👍

  • @caglargulucan
    @caglargulucan Місяць тому

    So how is it possible to send email and check email connected to this domain? :) Also, how to use webmail for email?

    • @CodeWithMuh
      @CodeWithMuh Місяць тому

      There is different stmp protocol. Send me message over linkedin. I will share settings

  • @rinzannp-eb3fu
    @rinzannp-eb3fu Місяць тому

    Have an error when i try to access the image through admin <Code>SignatureDoesNotMatch</Code> <Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>

    • @CodeWithMuh
      @CodeWithMuh Місяць тому

      @@rinzannp-eb3fu s3 image expired. You can set signature to False in your project settings

    • @rinzannp-eb3fu
      @rinzannp-eb3fu Місяць тому

      @@CodeWithMuh Thank you very much .i have been stuck with this error for 2 days

  • @caglargulucan
    @caglargulucan Місяць тому

    Why did you use EC2 instead of Elastic beanstalk? I have a django project in Elastic beanstalk. I can't change nginx settings, any suggestions? It creates a setting automatically.

    • @CodeWithMuh
      @CodeWithMuh Місяць тому

      @@caglargulucan try ec2 and edit nginx easily

  • @zaidanluthfi7831
    @zaidanluthfi7831 Місяць тому

    so usefull!

    • @CodeWithMuh
      @CodeWithMuh Місяць тому

      @@zaidanluthfi7831 thanksgiving

  • @ancapsolteiro8595
    @ancapsolteiro8595 Місяць тому

    thank you

  • @sonalimaharana1915
    @sonalimaharana1915 Місяць тому

    I have issue while codedeploy stage it is telling that the overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems. What I should to resolve this

    • @CodeWithMuh
      @CodeWithMuh Місяць тому

      You will be doing something wrong in the whole setup. I can not tell without looking into this

    • @sonalimaharana1915
      @sonalimaharana1915 Місяць тому

      @@CodeWithMuh ok can you please help me out

    • @arunbabu995
      @arunbabu995 Місяць тому

      I have the same issue

  • @sherryab3964
    @sherryab3964 Місяць тому

    This is super helpful as always! This has to be the fourth time you saved my full stack django project. So four and counting. Thank-you!

    • @CodeWithMuh
      @CodeWithMuh Місяць тому

      I am happy to hear its helping.

  • @tanmaybairagi7227
    @tanmaybairagi7227 Місяць тому

    I followed every step, but at last, the ip address is only saying "This site can’t be reached".

    • @CodeWithMuh
      @CodeWithMuh Місяць тому

      Your nginx configuration issue or your application has a error, check gunicorn and nginx status, and check the logs

  • @tanmaybairagi9021
    @tanmaybairagi9021 2 місяці тому

    33:52 why did you choose launch-wizard-3 instead of others? please answer.

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      Launch-wizard-3 was chosen for its simplicity and flexibility in configuring EC2 instances. It provides a streamlined setup process, making deploying and managing resources easier. Other launch templates might offer advanced features but can add unnecessary complexity.

  • @samandarshoyimov5580
    @samandarshoyimov5580 2 місяці тому

    nice video. Thanks

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      Happy to hear, Its helping

  • @dhananjaysingh194
    @dhananjaysingh194 2 місяці тому

    sir , i have create ecommerce api like flipkart using django restframework so which plan is best where deploy my api ?

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@dhananjaysingh194 you can use digital ocean

  • @peepee.poopoo
    @peepee.poopoo 2 місяці тому

    34:28

  • @informationtech-musa
    @informationtech-musa 2 місяці тому

    I would greatly appreciate it if someone could provide guidance on deploying a Django and React website with Postgres as a database to AWS on the same server. Additionally, creating a video tutorial on this topic would be extremely helpful.😄

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@informationtech-musa it’s available on my channel. ua-cam.com/video/UVnxBDasJT4/v-deo.htmlsi=vHamC6JJt_pv5z2v

    • @informationtech-musa
      @informationtech-musa 2 місяці тому

      @@CodeWithMuh Well sir, in your channel, you showed how to host React and Django together, but you didn't cover hosting with Django connected to a Postgres database.

  • @GaneshKumarNow
    @GaneshKumarNow 2 місяці тому

    @nnnsatish , Is it possible to configure the same for Github Pull request? Basically, I would to validate the committed files/changes.

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@GaneshKumarNow you can do it on the basis of branches

  • @prezlamen
    @prezlamen 2 місяці тому

    I cannot see your content everything is tiny, zoom on pages.

  • @snsbdccRJccb-yk3yw
    @snsbdccRJccb-yk3yw 2 місяці тому

    Why we copy the build to /var/www???

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      Copying the build to /var/www is standard for web server configurations like Nginx or Apache, which serve content from this directory. It helps maintain a consistent structure, making deployment easier and more secure.

    • @snsbdccRJccb-yk3yw
      @snsbdccRJccb-yk3yw 2 місяці тому

      @@CodeWithMuh okay is it the best practices? I actually make a separate user and add it to nginx group instud

    • @snsbdccRJccb-yk3yw
      @snsbdccRJccb-yk3yw 2 місяці тому

      I'm asking this because is copying is the best approach or does it hold any benefit. Then I'll follow this approach next time onward

  • @inHague
    @inHague 2 місяці тому

    thank you

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@inHague you are Welcome ❤️

  • @rahulradhakrishnan3605
    @rahulradhakrishnan3605 2 місяці тому

    Thank You "MAN"

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@rahulradhakrishnan3605 welcome

  • @randyariya744
    @randyariya744 2 місяці тому

    Thanks muh. Btw looks like the article no longer exists.

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@randyariya744 let me check. You can check in 5 minutes

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@randyariya744 try now. You will get access to article. I just fixed. Thanks for informing me

  • @alexandergarzo9415
    @alexandergarzo9415 2 місяці тому

    how to handle env variables?

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@alexandergarzo9415 you can place .env inside the repo or shh to instance and create env. Or copy env from local to using data transfer command

  • @deficiente2391
    @deficiente2391 2 місяці тому

    do I need to create google workspace for it to work?

  • @prasadvenkat
    @prasadvenkat 2 місяці тому

    I am getting welcome to ngnix what happen sir

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@prasadvenkat its mean nginx is running. But your Django Project is bot configured with Nginx Properly. Make sure your Folders paths are correct. Or you can check manual deployment video on my channel as well

  • @travelsome
    @travelsome 2 місяці тому

    Excellent

  • @amandeepsingh7873
    @amandeepsingh7873 2 місяці тому

    if possible please make depth tutorial in nginx cors configuration

  • @alexdin1565
    @alexdin1565 2 місяці тому

    thanks Muh, please i have a question why you dont't use docker compose instead ?

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@alexdin1565 I Will also create videos with docker compose as well. There are lot of methods to deploy

    • @alexdin1565
      @alexdin1565 2 місяці тому

      @@CodeWithMuh thanks we are waiting your tutorials

  • @ishmaelakaboa
    @ishmaelakaboa 2 місяці тому

    Amazing. You made it soo simple and easy. Thank you. I have subscribed. more content

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@ishmaelakaboa happy to hear. Its helpful

  • @amirmohammadrezayi1471
    @amirmohammadrezayi1471 2 місяці тому

    thanks a lot dude it was so helpful for me

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@amirmohammadrezayi1471 happy to hear

  • @arielgamerman5255
    @arielgamerman5255 2 місяці тому

    hi i followed all commands but i get 500 status when i trying to get the app my app is nextjs react app what can i do

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@arielgamerman5255 there can be multiple issues, you app is not working, wrong folders path in nginx file

  • @hendoitechnologies
    @hendoitechnologies 2 місяці тому

    How to deploy MERN STACK website in Amazon EC2 and then connect with Domain name sir.

    • @CodeWithMuh
      @CodeWithMuh 2 місяці тому

      @@hendoitechnologies you can deploy using nginx, but how i can tell in one comment. Send a message over linkedin

    • @hendoitechnologies
      @hendoitechnologies 2 місяці тому

      @@CodeWithMuh please post video sir

  • @snsbdccRJccb-yk3yw
    @snsbdccRJccb-yk3yw 2 місяці тому

    Thanks a lot for the video, i feet addicted to your video, i watch one then i watch 4 video continues ... Very well explain and simple and clear clean❤❤😊😊

  • @snsbdccRJccb-yk3yw
    @snsbdccRJccb-yk3yw 2 місяці тому

    Thank you❤❤