Mastering AWS: How To Create A Linux EC2 Instance | For The Beginner
Вставка
- Опубліковано 1 жов 2024
- In this tutorial, I walk you through creating your first Amazon AWS EC2 Linux instance using a t2.micro (free-tier eligible) instance type.
During the EC2 instance creation, I explain:
1. All 'Instance Details: 2:48
2. provide a 'user data' script that will automatically make your Linux EC2 instance a web server (including 1 custom static index.html page displaying server network information): 10:50
3. Explanation and setup of the firewall rules: 14:45
4. creating a public/private key pair: 17:12
5. extracting the private key and importing it into Putty: 23:35
6. and finally establishing an SSH session to the Linux EC2 Server: 25:18
== Get the code from my GitHub Page ==
github.com/sys...
-== Within the video, I reference my following blog articles: ==-
1. How To Create An Amazon AWS Free Tier Account
www.sysadmintu...
2. How To Enable MFA On Your Amazon AWS Root Account
www.sysadmintu...
3. Learn How To Create An Amazon AWS Billing Alarm
www.sysadmintu...
== Downloads ==
PuttyGen
www.chiark.gre...
== Recording Equipment ==
Logictech C922x Pro - amzn.to/2Wo3ShX
Elgato Key Light Professional - amzn.to/3r7sTvS
Green Screen - amzn.to/37rKHdq
== Subscribe & never miss a Video ==
bit.ly/Sysadmi...
== Follow me on Twitter ==
/ systutorials
Thx for this… on the old console I would enter a script, Create multiple instances (for Splunk) at one time… (via enter as file)….
How do we enter a script that will configure several instances of splunk on the new “Launch Instance” console in AWS?
Hi David, you're welcome. Just to understand the objective you want to create multiple instances of splunk within the same machine OR you want to spin up multiple machines of splunk ?
while using Putty terminal to make connection with host, a dialoguebox opens with message: 'Putty Fatal error'.
Hi Divya, is that when you are trying to make the connection or you are receiving that as soon as you open putty ?
Im looking forward to new videos about web servers and IAM roles, thank you for your great work.
Thank you Alonso. Is there something in particular you would like to see regarding web servers ?
what to put in key passphrase in puttygen. i'm not getting it
Hi Itika, you can put any password you like, just remember it or save it in a password manager
Great video....explained well and Pretty much clear understanding about instances.... Thankyou 😊
Thank you Amma, you're welcome
very detailed and straightforward. You covered a lot of topics. Looking forward to watching your other AWS videos
Hi ST, thank you, glad you enjoyed the content :)
Hi bro I want Aws Linux server instant
Hi Sandeep, sorry what do you mean by instant ?
very clearly explained ......Thx
Hi Vijaya, thank you, glad you enjoyed the video. Also check out the AWS CloudFormation video in regards to automating the installation of a Linux and Windows EC2 instance
ua-cam.com/video/5ff-lUp0Q8E/v-deo.html
from where can we get this HTML coding, which we paste in DATA?
Hi Razia, it's on my github, link is in the description of the video
how to get putty configuration window? i have downloaded that which you shown but it is opening only key generator window.
there are 2 different tools. One is putty and the other is putty key gen. Make sure when you want to establish a remote session you are using putty, not putty key gen
great video, so understandable for begginers. Thanks
Hi Mano, excellent to hear, thanks for the feedback :)
@@sysadmintutorials can you please share these commands showed in video on notepad
Thanks Man, I have just one question at 15:50 in the video,
What if my IP address has changed, how can I get access?
Hi Majdi, do you mean your source IP, i.e. the IP you are coming from ? Or the IP on the linux machine ?
Awesome and excellent explanation ... Appreciate if you post more videos on AWS
Thanks Gautam, yes I have some planned especially around Cloud Formation :)
Good. Please share the videos on Troubleshooting of EC2 instance Connectivity issue
Hi Praveen, thank you. What troubles are you having ? You can't ssh into your server ?
After establishing the connection, what next? How can I launch a software program on it? A bit confused
Hi Cathy, you can do what ever you like. Can you give me some examples of what you would like to do on the server ?
@@sysadmintutorials I actually want to to run GCAM on the server. GCAM stands for global change analysis model. It is an open source integrated assessment model.
Thank You to explain the steps to create Linux AWS EC2 Instance.
Hi Durga, you're welcome, glad you liked it :)
Thank you for this. Can you do some aws architecture design please.
Hi Ace, you're welcome, what architecture are you after ?
Do you have a video regarding on how can I stop and start instances on aws using linux?
Hi Jayvee do you mean using a remote linux box you want to stop and start your AWS EC2 instances ?
@@sysadmintutorials Yes, my client want to stop/start server/instances using linux, but by schedule and sequentially. Is that possible?
Hi Jayvee, yes you can do that, you need aws cli tools, and an AWS user with access keys to your environment. Then you can script on your linux box and schedule it.
Just be sure to protect your access credentials on the linux box and only give that user enough permissions to do what they need to do, i.e. start and stop ec2 instances.
@@sysadmintutorials Can you provide me a link where can I watch a straightforward tutorial regarding on your suggestion??
thanks
One error that I am getting, is that when I change the region in the navigation bar from us east 1 (N Virginia) to eu west 2 (London), there appears to be an API error that doesn't let me run any instance or let me access any resources such as security groups, or key pairs. I have an AWS educate account if that helps. Awesome video though
I found what the issue is, the only region supported with starter accounts or classroom accounts is us-east-1.
Hi Fer Oro, good to know. You'll have nearly everything you need in us-east-1 anyway :)
Hey I'm getting an error in putty.error-Network error : Timed out.How to fix this issue
Hi Tehmiya, can you make sure you are connecting to the public DNS or public IP for this server. I point out in the video what ip/dns to use to make the putty connection
@@sysadmintutorials Ya I will try again.thanks for replying 😊
Hey, Thanks there for this wonderful tutorial for a beginner like me. I will keep on continue with tutorials. Thanks. Love from INDIA..
Hi Subrahmanyam, thank you for this great feedback. You are welcome, leave a comment if you need anything
@@sysadmintutorials Actually, I am highly interested in learning AWS and Github..
Could you please provide or suggest any best and simple playlist of yours because I have just started my career in IT.... as explained in this video...So, that I can understand easily.
Thanks
I will release some more AWS videos especially around automation
@@sysadmintutorials Thanks
Very simple and very much clear, thank you for sharing.
Hi Shree, you're welcome, thanks for the feedback :)
Which ip to put in index.html ?
Hi Pranali, the script should automatically pull the IP from the AWS EC2 metadata
Would you mind putting the code into a file we can use?
Hi Benji, I updated the video description to include the link to my GitHub page where you can easily copy the code
This video saved me. Thanks
Thanks Cathy, great to hear :)
Thank you very much for this.
Hi AG Studios, thanks for stopping by, you're welcome
thanks
You're welcome!
Good stuff.
Glad you enjoyed it
Crystal clear step by step explanation.
Thank you Sivakumar, glad you enjoyed it :)
Looking for more...
thanks a lot bro
Hi Light, you're welcome :)
excellent keep it up
Thank you Udayandu will do :)