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

КОМЕНТАРІ • 74

  • @davidrichards9715
    @davidrichards9715 Рік тому

    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?

    • @sysadmintutorials
      @sysadmintutorials  Рік тому

      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 ?

  • @divyasinghh4540
    @divyasinghh4540 2 роки тому

    while using Putty terminal to make connection with host, a dialoguebox opens with message: 'Putty Fatal error'.

    • @sysadmintutorials
      @sysadmintutorials  2 роки тому

      Hi Divya, is that when you are trying to make the connection or you are receiving that as soon as you open putty ?

  • @alonsoaguayo7542
    @alonsoaguayo7542 4 роки тому +1

    Im looking forward to new videos about web servers and IAM roles, thank you for your great work.

    • @sysadmintutorials
      @sysadmintutorials  4 роки тому

      Thank you Alonso. Is there something in particular you would like to see regarding web servers ?

  • @itikamittal2508
    @itikamittal2508 3 роки тому

    what to put in key passphrase in puttygen. i'm not getting it

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому

      Hi Itika, you can put any password you like, just remember it or save it in a password manager

  • @Amma-gp7mq
    @Amma-gp7mq 2 роки тому

    Great video....explained well and Pretty much clear understanding about instances.... Thankyou 😊

  • @sandy8829aac
    @sandy8829aac 2 роки тому

    very detailed and straightforward. You covered a lot of topics. Looking forward to watching your other AWS videos

  • @sandeepmudhiraj2870
    @sandeepmudhiraj2870 3 роки тому

    Hi bro I want Aws Linux server instant

  • @vijayaaiella9287
    @vijayaaiella9287 2 роки тому

    very clearly explained ......Thx

    • @sysadmintutorials
      @sysadmintutorials  2 роки тому

      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

  • @raziapancha2526
    @raziapancha2526 2 роки тому

    from where can we get this HTML coding, which we paste in DATA?

    • @sysadmintutorials
      @sysadmintutorials  2 роки тому

      Hi Razia, it's on my github, link is in the description of the video

  • @itikamittal2508
    @itikamittal2508 3 роки тому

    how to get putty configuration window? i have downloaded that which you shown but it is opening only key generator window.

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому

      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

  • @manocastilho5747
    @manocastilho5747 3 роки тому +1

    great video, so understandable for begginers. Thanks

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому +1

      Hi Mano, excellent to hear, thanks for the feedback :)

    • @hcl693
      @hcl693 2 роки тому

      @@sysadmintutorials can you please share these commands showed in video on notepad

  • @majdichebil3013
    @majdichebil3013 3 роки тому

    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?

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому

      Hi Majdi, do you mean your source IP, i.e. the IP you are coming from ? Or the IP on the linux machine ?

  • @TheGautamece
    @TheGautamece 2 роки тому

    Awesome and excellent explanation ... Appreciate if you post more videos on AWS

    • @sysadmintutorials
      @sysadmintutorials  2 роки тому

      Thanks Gautam, yes I have some planned especially around Cloud Formation :)

  • @MrAdikepraveen
    @MrAdikepraveen 3 роки тому

    Good. Please share the videos on Troubleshooting of EC2 instance Connectivity issue

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому

      Hi Praveen, thank you. What troubles are you having ? You can't ssh into your server ?

  • @cathysmiley7575
    @cathysmiley7575 3 роки тому

    After establishing the connection, what next? How can I launch a software program on it? A bit confused

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому

      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 ?

    • @cathysmiley7575
      @cathysmiley7575 3 роки тому

      @@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.

  • @durgasankarsamal2250
    @durgasankarsamal2250 4 роки тому

    Thank You to explain the steps to create Linux AWS EC2 Instance.

  • @acekacelkeith8426
    @acekacelkeith8426 3 роки тому

    Thank you for this. Can you do some aws architecture design please.

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому

      Hi Ace, you're welcome, what architecture are you after ?

  • @jvmusicph
    @jvmusicph Рік тому

    Do you have a video regarding on how can I stop and start instances on aws using linux?

    • @sysadmintutorials
      @sysadmintutorials  Рік тому

      Hi Jayvee do you mean using a remote linux box you want to stop and start your AWS EC2 instances ?

    • @jvmusicph
      @jvmusicph Рік тому

      @@sysadmintutorials Yes, my client want to stop/start server/instances using linux, but by schedule and sequentially. Is that possible?

    • @sysadmintutorials
      @sysadmintutorials  Рік тому

      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.

    • @jvmusicph
      @jvmusicph Рік тому

      @@sysadmintutorials Can you provide me a link where can I watch a straightforward tutorial regarding on your suggestion??

  • @topahokya6621
    @topahokya6621 4 роки тому

    thanks

  • @feroro9920
    @feroro9920 3 роки тому

    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

    • @feroro9920
      @feroro9920 3 роки тому

      I found what the issue is, the only region supported with starter accounts or classroom accounts is us-east-1.

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому +1

      Hi Fer Oro, good to know. You'll have nearly everything you need in us-east-1 anyway :)

  • @themiyajayakodi4052
    @themiyajayakodi4052 3 роки тому

    Hey I'm getting an error in putty.error-Network error : Timed out.How to fix this issue

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому +1

      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

    • @themiyajayakodi4052
      @themiyajayakodi4052 3 роки тому

      @@sysadmintutorials Ya I will try again.thanks for replying 😊

  • @subrahmanyamrameswarapu8995
    @subrahmanyamrameswarapu8995 3 роки тому

    Hey, Thanks there for this wonderful tutorial for a beginner like me. I will keep on continue with tutorials. Thanks. Love from INDIA..

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому +2

      Hi Subrahmanyam, thank you for this great feedback. You are welcome, leave a comment if you need anything

    • @subrahmanyamrameswarapu8995
      @subrahmanyamrameswarapu8995 3 роки тому

      @@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

    • @sysadmintutorials
      @sysadmintutorials  3 роки тому +1

      I will release some more AWS videos especially around automation

    • @subrahmanyamrameswarapu8995
      @subrahmanyamrameswarapu8995 3 роки тому

      @@sysadmintutorials Thanks

  • @shreepadamraj1703
    @shreepadamraj1703 3 роки тому

    Very simple and very much clear, thank you for sharing.

  • @pranalisavant9061
    @pranalisavant9061 2 роки тому

    Which ip to put in index.html ?

    • @sysadmintutorials
      @sysadmintutorials  2 роки тому

      Hi Pranali, the script should automatically pull the IP from the AWS EC2 metadata

  • @bc87146
    @bc87146 4 роки тому

    Would you mind putting the code into a file we can use?

    • @sysadmintutorials
      @sysadmintutorials  4 роки тому

      Hi Benji, I updated the video description to include the link to my GitHub page where you can easily copy the code

  • @cathysmiley7575
    @cathysmiley7575 3 роки тому

    This video saved me. Thanks

  • @agstudios276
    @agstudios276 4 роки тому

    Thank you very much for this.

  • @robinb5713
    @robinb5713 3 роки тому

    thanks

  • @marionoriega1304
    @marionoriega1304 2 роки тому

    Good stuff.

  • @vaddisivakumar
    @vaddisivakumar 3 роки тому

    Crystal clear step by step explanation.

  • @lightyagami2255
    @lightyagami2255 4 роки тому

    thanks a lot bro

  • @DayDreamer195
    @DayDreamer195 3 роки тому

    excellent keep it up