No video

Create a a full website in AWS using the ec2 instance + Nginx + letsencrypt free ssl certificate.

  Рет қаралды 8,121

Devops TerraByte

Devops TerraByte

Күн бұрын

1] In this viedo we will launch a new ec2 instance and on that we will install a nginx as a web server for hosting the website.
2] Then fisrt we will run our webiste on 80 port without ssl certificate
3] Then we will install certbot letsencrypt (free ssl certificate) for our website.
4] Nginx installation command :-
apt update
apt install nginx
5] Nginx configration file for 80 :-
server {
listen 80;
server_name shivm04.xyz; # Edit this to your domain name
client_max_body_size 100M;
index index.html index.php;
root /var/www/html/shivm04.xyz/; # change your code directory
access_log /var/log/nginx/shivm04.xyz/access.log; #Add ssl access log file on the server
error_log /var/log/nginx/shivm04.xyz/error.log; #Add ssl error log file on the server
}
6] certbot install command :-
sudo apt update
sudo apt install certbot python3-certbot-nginx
7] Generate a free ssl for your website :-
sudo certbot --nginx -d shivm04.xyz
If you facing any challenges please let me know in the comment.

Пікірлер: 7
@abhinavsingh4221
@abhinavsingh4221 20 күн бұрын
Thanks for this awesome tutorial
@user-hg8ex9eg6x
@user-hg8ex9eg6x 8 ай бұрын
omg this works like a charm. 😀😀, very nice
@mohsinm.chaudary656
@mohsinm.chaudary656 11 ай бұрын
very nice bro ..
@mallikarjunhagargi7830
@mallikarjunhagargi7830 2 ай бұрын
Can you explain when application load balancer is in place and how to add certificate so that all the nodes are accessible via https
@smitdarji4639
@smitdarji4639 4 ай бұрын
i have html project so what is nginx file?
@onkarsarang2239
@onkarsarang2239 10 ай бұрын
Worked
How to create a valid self signed SSL Certificate?
25:01
Christian Lempa
Рет қаралды 351 М.
How to put an HTML website online (on the Internet)
29:37
SuperSimpleDev
Рет қаралды 1,6 МЛН
Harley Quinn lost the Joker forever!!!#Harley Quinn #joker
00:19
Harley Quinn with the Joker
Рет қаралды 28 МЛН
Нашли чужие сети в озере..💁🏼‍♀️🕸️🎣
00:34
Connoisseur BLIND420
Рет қаралды 3,5 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 283 М.
How to Install WHM or cPanel and AWS EC2 Instance
10:04
XAdmin
Рет қаралды 3,3 М.
Application Load Balancer Setup to Point to Your AWS EC2 Instance
11:51
HomeLab SSL certificates for FREE with minimal effort
19:41
Perkelator
Рет қаралды 28 М.
Nginx Reverse Proxy on AWS EC2 Amazon Linux 2
10:26
Sam Meech-Ward
Рет қаралды 39 М.
How to remotely SSH (connect) Visual Studio Code to AWS EC2
23:08
tuplespectra
Рет қаралды 17 М.
Harley Quinn lost the Joker forever!!!#Harley Quinn #joker
00:19
Harley Quinn with the Joker
Рет қаралды 28 МЛН