Host your personal site on AWS EC2 Instance | EC2 Instance | Demo | Website Hosting | Web App on EC2
Ғылым және технология
Host your personal site on AWS EC2 Instance | EC2 Instance | Demo | Website Hosting | Web App on EC2
Hi Learner,
In this video I have demonstrated - How to host your personal website on AWS EC2 Instance.
If you like the video please consider subscribing to the channel and hit the like button and share among your friends.
How to create an EC2 Instance: • How to create AWS EC2 ...
How to connect to an EC2 Instance: • How to connect to AWS ...
Linux Commands used in the video:
sudo su -
yum update -y
yum install -y httpd
systemctl status httpd
mkdir temp
cd temp
wget www.free-css.com/assets/files...
unzip complex.zip
cd complex
ls -lrt
mv * /var/www/html
systemctl enable httpd
systemctl start httpd
Thank you. I hope this helps. If you find this video useful please Like, Share and Subscribe to the channel!
Regards,
A Monk in Cloud
(amonkincloud@gmail.com)
#AWS #LearnAWSforFree #Free #FreeResources #Top5 #2022 #AWSCommunityBuilderProgram #Community #KZread
Пікірлер: 405
Super dope Video, so far this is the best quality I have seen for AWS EC2.
@amonkincloud
Жыл бұрын
Glad that it helped you Ivan!
@vamshikrishna7945
Жыл бұрын
@@amonkincloud thanks for the clear information bro..this question is asked me in mock interview ,how to host the application in EC2.? now am clear this
to the point sir thnq i searched the whole internet but wasted my time until i encountered your video..
@amonkincloud
Жыл бұрын
Glad that it helped you Bhupesh! Regards, A Monk in Cloud ☁️
This was great. I liked the style of going through and fixing “mistakes” as if we were discovering the solution alongside you.
@amonkincloud
Ай бұрын
Thank you 🙏
Bro … this is the best video I found on internet about hosting a web server on EC2 . Very nicely explained including things that would not work and settings explained by actually getting errors and then solving it . Thanks a lot
@amonkincloud
11 ай бұрын
Thank you 🙏
Thanks Sir. My instructor ran a script without explaining detailed steps as to why. You are a prophet to us. Thank you again.
@amonkincloud
10 ай бұрын
Glad that it helped you
Amazing step by explanation of what is happening and also explaining why is it happening. Great work.
@amonkincloud
9 ай бұрын
Thank you 🙏
Subscribed. Your explanations are easy, comprehensive and straightforward. Thank u
@amonkincloud
Жыл бұрын
Thanks and glad that it helped you.
This kind of video we expected to practice this in AWS. Thanks for sharing!! Hope you subscribers will increase 10x soon
@amonkincloud
Жыл бұрын
Glad that it helped you and thank you for your well wishes.
This is exactly what I needed. Thank you !
@amonkincloud
Жыл бұрын
Glad that it helped you Mohita Singh
This is the very first video I've seen of yours and i loved it.
@amonkincloud
11 күн бұрын
Thank you 🙏 Please consider subscribing
thank you, i could not figure out for the life of me why my website was not going live, i went into dnschecker it said it was live, i double and triple checked my ufw firewall, and finally i saw i just needed to add an inbound rule in my security group to allow HTTP port 80, even though it was already allowed on my firewall it was not inside my instance. Thank you again so much!
@amonkincloud
17 күн бұрын
Glad that it helped. Keep supporting
I'm subscribing you for the 3rd time from yesterday evening. I don't know why everytime i came back to your channel for any solution i found i've not subscribed but i clearly remember i have done it for 2 times surly and this is the third time i am subscribing.
@amonkincloud
2 ай бұрын
Thank you 🙏
best channel . ever for aws projects . love your work !!! thankyou sir !!
@amonkincloud
Ай бұрын
Thank you 🙏 Keep supporting 😀
One of the best and simplest tutorial video , Keep it up , we are expecting more videos like this.
@amonkincloud
Жыл бұрын
Glad that you liked it
Super cool, well calm explanatory video with no hidden information. Thanks man
@amonkincloud
2 ай бұрын
Thank you 🙏 Keep supporting
Sick video. Love the clear explanation :D
@amonkincloud
4 ай бұрын
Thank you Keep supporting 🥂
Thank you so much for your sharing!! Keep up the good work
@amonkincloud
8 ай бұрын
Glad that it helped!
This is a superb helpful video, keep it up, brother!
@amonkincloud
Жыл бұрын
Glad that it helped you, Ariful.
u r great bro. I was Suffering for this issue since last 3 days
@amonkincloud
6 ай бұрын
Thank you 🙏 Keep supporting
Brother, I learned so much from this. Thank you
@amonkincloud
10 ай бұрын
Glad that it helped you
Tq so much sir I'm search from couple of weeks this is the best video I have got🎉 tq so much sir
@amonkincloud
11 ай бұрын
Thank you 🙏
very informative video thanks for this! god bless you!
@amonkincloud
6 ай бұрын
Thank you 🙏
Great video, very well explained!
@amonkincloud
Жыл бұрын
Glad that it helped you!
by far the best video ! hats off
@amonkincloud
11 ай бұрын
Thank you 🙏
this is great! thank you for this tutorial
@amonkincloud
Жыл бұрын
Glad that it helped you!
Thanks alot, the video is simple and clear making it easier for me
@amonkincloud
4 ай бұрын
Thank you 🙏 Keep supporting
It is very helpful and explain in easy way, thanks
@amonkincloud
3 ай бұрын
Thank you 🙏 Keep supporting
Awesome 👏🏼 men. Thank you.
@amonkincloud
Жыл бұрын
Glad that it helped you, Roberto.
👍👍👍 complete in 1st time
@amonkincloud
10 ай бұрын
Great!
Great Video, thanks alot !!!
@amonkincloud
Жыл бұрын
Glad it helped!
Super bro Really very helpful
@amonkincloud
Жыл бұрын
Glad that it helped you Nitin!
Thank u sir for sharing your knowledge
@amonkincloud
10 ай бұрын
Glad that it helped you
You saved me!!! thank you!!!
@amonkincloud
6 ай бұрын
Keep supporting 🤝
Thanks for the video. This is the first time I will be commenting on any KZread video and I must say that this is very impressive.
@amonkincloud
Жыл бұрын
Glad that it helped you Christ Embassy Farmers Branch. This mean a lot to me. Keep supporting
Thank you very much, sir!
@amonkincloud
Жыл бұрын
Glad that it helped
nice a clear! perfect!
@amonkincloud
10 ай бұрын
Thank you 🙏
awsome will have to try this at some point ;)
@amonkincloud
4 ай бұрын
Cool!
Thanks, this is really cool
@amonkincloud
Жыл бұрын
Glad that it helped you
easy and on point explaination
@amonkincloud
Ай бұрын
Thank you 🙏
You know how to train or to explain in a pro way that everyone understands. Thank you for that. please help with the commands which we come across aws and putty on the go.
@amonkincloud
11 ай бұрын
Thank you 🙏 all the commands can be found in the github repo or in the video description
Hi monk, thank you so much
@amonkincloud
11 ай бұрын
Thank you 🙏
great video to understand upload files.. thanks
@amonkincloud
4 ай бұрын
Thanks Keep supporting
thanks fot this vedio it clear my mistake
@amonkincloud
9 ай бұрын
Glad that it helped you
superb video......
@amonkincloud
Жыл бұрын
Thank you
Thank You Sir 😫😫😫😫😫 bhot pareshan tha mai 😫😫😫😫😫😫 Thank you so much🥺🥺🥺🥺🥺🥺 Please make video on how to connect domain name to your ec2
@amonkincloud
Жыл бұрын
Hi Anonymous Org, Glad that it helped you. I have already made a video on how to connect domain name to EC2 Instance, please check it and let me know if it helped you. Video link: kzread.info/dash/bejne/Y5ykqtBqpbKrlaw.html Hope this helps! Thanks and Regards, A Monk in Cloud ☁️
@anonymousorg5050
Жыл бұрын
@@amonkincloud Thank You So Much
@amonkincloud
Жыл бұрын
Glad that it helped. Keep supporting!
Awesome🎉
@amonkincloud
3 ай бұрын
Thank you 🙏
insightful
@amonkincloud
4 ай бұрын
Thank you. Keep supporting 🙏
Thank you so much.
@amonkincloud
9 ай бұрын
You’re welcome
perfect thank you
@amonkincloud
9 ай бұрын
Thank you
thanks a bunch
@amonkincloud
Ай бұрын
Thank you 🙏 Keep supporting
Great
@amonkincloud
11 ай бұрын
Thank you 🙏
Thanks for the video! Never used AWS but need to get into it and this helped a lot, everything was very understandable. Could this be done with a Django or Flask webapp as well or does it have to be html/javascript/css only?
@amonkincloud
Жыл бұрын
There is a separate tutorial for Django and Flask please check the AWS playlist
thank you. !!!
@amonkincloud
Жыл бұрын
Glad that it helped you!
u r like the shortest solution, i have ever found.
@amonkincloud
Жыл бұрын
This is the shortest yet motivating comment I have ever received 😃
Thank you so much ❤️
@amonkincloud
Жыл бұрын
Glad that it helped you Sayali!
@sayalipatil516
Жыл бұрын
@@amonkincloud yes and also subscribed now bcz I'm learning AWS solution architect course, I guess this channel becomes very useful for me ☺️
@amonkincloud
Жыл бұрын
Thank you so much. Even I am preparing for getting re certified. All the best
Thank you 🙏
@amonkincloud
4 ай бұрын
You’re welcome
thanks for this wonderful lectures, but pls, show us how to do all these settings in the window ami instance
@amonkincloud
Жыл бұрын
Glad that it helped you Tes.
Thank you yashwanth
@amonkincloud
Жыл бұрын
Glad that it helped you
Thanks a lot
@amonkincloud
10 ай бұрын
Glad that it helped
How can i link it with custom domain. Got any tutorial for that?
Teşekkürler.
@amonkincloud
3 ай бұрын
Thank you so much 🙏
Pero mire amigo. Mi idioma es el español nativo, y le he entendido perfectamente. Gracias.
@amonkincloud
Жыл бұрын
Gracias 🙏
thank you
@amonkincloud
9 күн бұрын
You’re welcome ☺️
Thanks, really expalined very well
@amonkincloud
10 ай бұрын
Glad that it helped
Any concerns of outgoing bandwidth charges if you were to get hit with a DDoS or does the standard AWS Shield protect out of the box from that type of thing from happening?
@amonkincloud
Жыл бұрын
If it is a mission critical application, I would also add AWS Shield. For more details regarding pricing please use AWS Calculator as they have given in depth analysis.
Sir actually we have given a project -online shopping by using backend as a aws and frontend html ..
when I type "yum update -y", I get this result in the console: Last metadata expiration check: {{date}} Dependencies resolved. Nothing to do. Complete! Any help please?
Acha! I especially like how you log into Console via aws instead of having to use any desktop SSH client like Putty. Namaste!
@amonkincloud
Жыл бұрын
Glad that you liked it Arthur
Top Notch Explanation And Clear 🔥🙏 Thank You .! And How To use Tally In Windows Ec2 instance? Thanks is Advance
@amonkincloud
10 ай бұрын
Thank you
Hello, i have a small confusion. I am trying to use aws calculatr to calculate an estimate for a simple web application hosting. I am having a great confusion on outbound data transfer, even if i select few GB as outbound data transfer the price goes insanely high(like some dollars per GB's) When the users are fetching the content of your website, then the site that the aws service(or an ec2 instance) that sends to user count's as outbound data isn't it?
@amonkincloud
Ай бұрын
Yes, you're correct. In AWS, "outbound data transfer" refers to the data that is sent from your AWS services (such as an EC2 instance) to the internet. This data transfer is often billed separately and can get quite expensive depending on the volume. Here’s a more detailed explanation: Inbound Data Transfer: This is the data that comes into your AWS services from the internet. For most AWS services, inbound data transfer is free. Outbound Data Transfer: This is the data that leaves your AWS services and goes to the internet. When users access your web application and fetch content, the data sent from your EC2 instance (or other AWS services) to their devices is considered outbound data transfer. This is usually charged per GB and can become expensive with high traffic volumes.
@ozonewagle
Ай бұрын
@@amonkincloud Thank you so much...❤❤❤❤
Awesome if it works
@amonkincloud
22 күн бұрын
It has worked for many!
How to get our own custom website Which is in our local file sytem so i will push to my git repo and i will get it will it work ?
@nanaoseistanleykesse4560
Ай бұрын
Did you manage to get a way a round this?
Thank you for your video it was very helpful to me, but I've one prob which is what if my website has got the sign up option and I want to use RDs in AWS to take data/ information?
@amonkincloud
Жыл бұрын
Glad that it helped you. To answer your question, I have created some project videos which might help you [although they are not exactly what you are looking for] Project 1: kzread.info/head/PLjl2dJMjkDjnwCR6eTLBhjt_45Ua7N9vn Project 2: kzread.info/head/PLjl2dJMjkDjlSARq_6kppW3nvUVIfy0Ut
Hello sir! Thank you for your great work. Are those commands you use in the Virtual Server a default in AWS? Where can we access and learn those commands to use on our personal projects? I will hugely appreciate the reply, sir! Thanks a lot!
@amonkincloud
Ай бұрын
Those are linux commands. You can use any sites available online to learn them. They aren’t specific to AWS, those will work even if you have your own linux machine
helpful video, but you could have explained little more about specific commands actions and about shells and all.
@amonkincloud
Жыл бұрын
Thank you for the feedback. I have made a separate video on all the Linux commands that a Cloud or a DevOps Engineer should know. Please check that for more information
@dopaminesero6390
Жыл бұрын
@@amonkincloud thanks, I checked but didnt find.
Great video can we get a paid course or maybe personal guide for custom setup
@amonkincloud
Жыл бұрын
We do not have any paid courses as of now. But, if you require any help please drop an email at amonkincloud@gmail.com
Hi, I tried this but used FTP to upload the website. I was able to upload it, but when moving to html folder, its not moving the index.html or other files, but its moving all other folders. I looked around, they are saying to enable static website hosting, but we never used S3 storage in this EC2 instance process that you explained. could you please help on this, what could ahve been the issue.
@amonkincloud
4 күн бұрын
In the EC2 instance you will have /var/www/html if you have installed the webserver. If not you won’t be able to. Also what is the error that you received? Also do you have root privileges while transferring the files? Having root privileges is important.
Great Video, Ive done all as asked but the problem Im getting with my instance is its showing up as the webnsite is unsafe and that it could be a potentially harful Malware. Is this a problem with my browser settings moreso?
@amonkincloud
Жыл бұрын
This might be because we have not configured the SSL or TLS certificates. Which can be done by following other tutorials (not mine)
Thanks for all Sir, your teaching skill is too good but here a issue that in case of PHP file ?
@amonkincloud
8 ай бұрын
Thank you 🙏
Hi monk ...could you please tell me if we terminate our running instance then also web application or server will be assisable? From our IP ? Or it will be vanished after terminate instance?
@amonkincloud
9 ай бұрын
Terminating Instances means you do not have access to the instance later
@gayatrivaidya4052
9 ай бұрын
Ya but after that also we can access our website right ? Which we created by using that instance?
@amonkincloud
9 ай бұрын
No you cannot
@gayatrivaidya4052
9 ай бұрын
Ohk great thank you !
🎉
@amonkincloud
3 ай бұрын
🙌
Hello, thank you very much for this tutorial, I'm completely new with AWS; recently the company where I'm working is deciding to shift from normal web hosting to AWS; my question is how create an instance of MySQL DB and connect it with your web application server? if anyone else has experience please let me know about. thank you
@amonkincloud
2 ай бұрын
Thank you Please check the AWS Playlist you will find a video on this
Thank you so much! Is it possible to buy a Domain Name and link the IP address that you just created by EC2? I want to host a web and manage it by myself via EC2
@amonkincloud
9 ай бұрын
Yes you can! Create a record for the ip address
Very good explanation.wow
@amonkincloud
3 ай бұрын
Thank you 🙏 Keep supporting
@Hello-yo6gg
3 ай бұрын
@@amonkincloud - I don't normally subscribe a channel but your explanation forced me to subscribe yours..
This is a goldmine of information! If you're interested, you should definitely read a similar book. "AWS Unleashed: Mastering Amazon Web Services for Software Engineers" by Harrison Quill
@amonkincloud
9 ай бұрын
Thank you 🙏
hi, it was a nice video. Can you explain, How can we edit the website after we host it?
@amonkincloud
5 ай бұрын
Using vim/ vi tool
thank that was very helpful … i have some questions: - can i install mysql and phpmyadmin on that virtual server?! and if yes then how? - can i install cpanel or are there any similar on aws that i can manage my hosting files, email accounts and databases as any other hosting companies? - can i add personal domain to this virtual instead of the ip address ? - can i have something like vps with multi website in one virtual? thanks again and waiting for your reply
@amonkincloud
10 ай бұрын
You can you all of them. You can find a video on mysql on my playlist
How do I give my own zip files of front-end and backend instead of website? While loading it in temp folder?
@amonkincloud
5 ай бұрын
You can clone the repo if you are storing it in a remote repo
sir wget command is not working for s3 bucket signed urls , what should i do
@amonkincloud
Жыл бұрын
Hi Shivansh. Try installing wget first if it is not present. Run both the commands given below 👇 Command to install wget: sudo apt-get update sudo apt-get install wget Hope this helps. Thanks and Regards, A Monk in Cloud ☁️
when i have downloaded the file and then i am running the command cd listrace because it is another file ...it is showing there is no such directory even though i have created one
@amonkincloud
7 ай бұрын
this needs a check
Hie , I am looking for a tool or app where i can manage content of homepage for a website hosted on AWS
@amonkincloud
8 ай бұрын
Please use Version Control System
To the point video 👌. I have a doubt, why are we creating another directory(/var/www/html) & copying all those files there. Any specific reason?
@amonkincloud
8 ай бұрын
/var/www/html is the linux directory on your computer in windows it could be c:\www\ . Apache can be setup to look at this directory and process those files ie c:\www\index.php can be server as localhost/index.php
@user-og2ld1kb4o
8 ай бұрын
@@amonkincloud Thankyou. Now im facing another issue, the webpage shows itself as not secure for that reason i tried deleting the http inside the inbound rules &due to which the website isnt visible or does aws allow only few mintues to display the website
why does my ec2 container stop responding after around 20 minutes? It shows that the CPU usage is high even though I don't really do anything with it. Is it because I ssh'd instead of using the instance connect?
@amonkincloud
5 ай бұрын
What is the instance type that you used? It depends on the instance type as well.
@aaronlee1928
5 ай бұрын
@@amonkincloud t2.micro. is a different one more suitable for this?
Thanks this is the way to copy a site but how do you design it, with your content
@amonkincloud
8 ай бұрын
You can have your own HTML, CSS and JS files and place it in the same path as of this video
which is used to host a static (only frond end ) website: EC2 instance or S3?
@amonkincloud
3 ай бұрын
Sorry didn’t understand your question
@MuhammadFaizanVlogger
3 ай бұрын
@@amonkincloud I wanna host a website on AWS. so could you let me know S3 will be used or EC3 instance?
while im trying to change the directory using cd ,its showing its not a directory ,how to access this files
@amonkincloud
Жыл бұрын
Try to clone the repo again
Sir can you please reply me Actucally i m using free tier While launching instance,in network setting how am i disabled for auto assign public ip Can you please provide some solution
@amonkincloud
3 ай бұрын
If you are using default VPC, you should not alter anything in default VPC. Create a new VPC and make all the configuration changes in that VPC
@blackiebot
3 ай бұрын
@@amonkincloud it will be free of cost?
SIR, what is the differ in [service httpd start ] and [systemctl enable httpd]
@amonkincloud
19 күн бұрын
[service httpd start] starts Apache immediately but does not ensure it starts on system boot, while [systemctl enable httpd] configures Apache to start automatically on system boot but does not start it immediately unless followed by [systemctl start httpd].
i'm got everything as you said but I cannot see the website working. It shows the msg that"It Works". what should I do?
@amonkincloud
Ай бұрын
I didn’t get what is the actual issue.
hii sir i created ec2 instance & after some time i terminated that even though my billing is active. aws is charging me ... any solution for this pls
@amonkincloud
4 ай бұрын
Please check other resources like EBS Volumes, Elastic IP is terminated or not