AWS EC2 User data | Bootstrap | Shell Script | Cloud init | AWS Sessions | Demo

Поделиться
HTML-код
  • Опубликовано: 13 июл 2024
  • In this video, we have covered what user data is and how it can be used.
    Topics covered:
    - EC2 User data
    - Shell Script : User data
    - Cloud Init : User data
    Chapters:
    0:00 Introductions
    1:55 Shell script data intro
    4:08 Cloud init Intro
    5:55 Shell script data Demo
    7:44 Cloud init Demo
    Other release videos:
    VPC Peering: • AWS VPC Peering | AWS ...
    AWS NACL vs SG: • AWS Network ACLs Vs Se...
    AWS Public, Private and EIP: • AWS Public IP & Privat...
    AWS Internet Gateway: • AWS Internet Gateway |...
    AWS Transit Gateway: • AWS Transit Gateway | ...
    AWS EC2 instance types: • AWS EC2 Instance types...
    AWS EC2 purchase options: • AWS EC2 Purchase optio...
    AWS EC2 connect : • AWS EC2 Connect | EC2 ...
  • НаукаНаука

Комментарии • 4

  • @jagadeeshv8473
    @jagadeeshv8473 4 месяца назад

    sir it would be helpful if you provide script in a text format thankyou sir great lecture

    • @AWSSessions-jv9kw
      @AWSSessions-jv9kw  4 месяца назад

      Apologies for the sound. let me share the script. Here is the user data script:
      #!/bin/bash
      yum update -y
      amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2
      yum install -y httpd mariadb-server
      systemctl start httpd
      systemctl enable httpd
      usermod -a -G apache ec2-user
      chown -R ec2-user:apache /var/www
      chmod 2775 /var/www
      find /var/www -type d -exec chmod 2775 {} \;
      find /var/www -type f -exec chmod 0664 {} \;
      echo "" > /var/www/html/phpinfo.php

  • @giogalindo4104
    @giogalindo4104 7 месяцев назад

    The last part, you do not explain very well of what did you do on the URL, you auto completed, you pasted the Public DNS and it sudenly worked, what did you do?
    The sound is very very very low, plz rise the volume up, I needed to rise the whole volume of my computer yet is difficult to hear
    You create the first EC2 Instance with the first Sell script userdata, but never use it or try it, or anything, just jum directly to the second one.

    • @AWSSessions-jv9kw
      @AWSSessions-jv9kw  5 месяцев назад

      Apologies for the sound, let me share details around this steps.