How to host a web application in AWS EC2 instance using Terraform and Ansible

Поделиться
HTML-код
  • Опубликовано: 23 авг 2024
  • This video demonstrates on how to host a PHP web application connected to a MySQL database. It uses terraform to provision the infrastructure and ansible to install the application in the instance.
    github: github.com/lis...

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

  • @RAJLOVESTECH
    @RAJLOVESTECH 2 года назад +1

    Like your creativity in naming the channel.. 🙂

  • @saradhapurushothaman1755
    @saradhapurushothaman1755 3 года назад +3

    Super countinue your video's👌👌👌💪🙂🌹

  • @trantoan6985
    @trantoan6985 2 года назад

    well explained and beautiful voice, thanks

  • @ayencoscolfield3312
    @ayencoscolfield3312 2 года назад

    impressive and well done

  • @roya2045
    @roya2045 2 года назад +1

    Hi thanks for the video tutorial. have you stopped adding tutorial?
    & also can you explain both application file structure like spaces, curly brackets where they are used in a easy way. I am not from a programming background or Devops. I also dont know scripting so things are confusing. its a request

    • @listentolearn2363
      @listentolearn2363  2 года назад

      Thank you :)
      Apologies for the delay in uploading videos. I wasn't feeling very well lately.
      Sure, will upload programming related videos soon.

    • @roya2045
      @roya2045 2 года назад

      @@listentolearn2363 Hi thanks for replying. Hope you are feeling good now. Actually i was not asking for programing videos I was asking about if you can explain the way to write Terraform & Ansible I am not from a programming background so don't understand the spacing's & curly braces how & where it is used . if you can explain in a very simple way I would be grateful

  • @rameezsheraz8370
    @rameezsheraz8370 2 года назад

    Well explained 👏

  • @othmanissa7976
    @othmanissa7976 3 года назад +1

    Hello, Thank you for this video. can connect terraform with API backend AMI?

    • @listentolearn2363
      @listentolearn2363  3 года назад

      Hi Othman Issa, thanks for your support!
      Assuming that you are looking to retrieve a list of AMIs in terraform, you can do that by using the aws_ami datasource. Reference: registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami
      Please let me know if your question is different.

  • @sasidharanr9829
    @sasidharanr9829 3 года назад +1

    Hi, what is use of internet gateway

    • @listentolearn2363
      @listentolearn2363  3 года назад +1

      Hi Sasidharan,
      Internet gateway enables your VPC to communicate with internet

  • @mahendramungamuru9500
    @mahendramungamuru9500 3 года назад

    That VM public IP is aws EC2 public IP only right ?

    • @listentolearn2363
      @listentolearn2363  3 года назад

      yes, that't right. The Elastic IP attached to the EC2 instance.

    • @mahendramungamuru9500
      @mahendramungamuru9500 3 года назад

      @@listentolearn2363 what is the SSH key you have used I am unable to find how to create SSH key

    • @listentolearn2363
      @listentolearn2363  3 года назад

      SSH key pair is created as part of the terraform - resource "aws_key_pair" "app_ssh" and is attached to the EC2 instance.
      You have to supply the public key as an input variable (instance_ssh_public_key ) while executing terraform and use the private key counterpart to run the Ansible scripts.
      If you do not have a public/private key, you can generate them using ssh-keygen. Hope that makes sense. Please let me know if you would like further explanation.

    • @abzalazzu6263
      @abzalazzu6263 2 года назад

      I'm understood till terraform creation I have a project to do but I'm getting connection with ansible and install application can u help