How to Control Traffic with Security Groups in AWS

Поділитися
Вставка
  • Опубліковано 12 вер 2024
  • Courses: www.aosnote.co...
    Website: www.aosnote.com/
    How to Control Traffic with Security Groups in AWS
    ----------------------------------------------------------------------------
    AWS Hands-on Projects for Beginners👇
    ----------------------------------------------------------------------------
    ✔ Getting Started on AWS Cloud: www.aosnote.co...
    ✔ Deploy a Static Website: www.aosnote.co...
    ✔ Deploy a WordPress Website: www.aosnote.co...
    ✔ Deploy a Dynamic E-commerce Website: www.aosnote.co...
    ✔ Deploy a Dynamic Website with Terraform: www.aosnote.co...
    ✔ Deploy a Static Website with Ansible: www.aosnote.co...
    ✔ Deploy a Website Docker, AWS ECR, and AWS ECS: www.aosnote.co...
    ✔ Deploy a Dynamic Website with CloudFormation: www.aosnote.co...
    ----------------------------------------------------------------------------
    Projects Coming Soon 👇
    ----------------------------------------------------------------------------
    ✔ Deploy a Website with Terraform Modules, AWS ECR, and AWS ECS
    ✔ Create CICD to Deploy a Dynamic Website
    ✔ Python and AWS Lambda Project
    ----------------------------------------------------------------------------
    Bootcamp 👇
    ----------------------------------------------------------------------------
    6 Months Cloud/DevOps Bootcamp: www.aosnote.co...
    ----------------------------------------------------------------------------
    Courses: www.aosnote.co...
    Website: www.aosnote.com/
    ----------------------------------------------------------------------------
    Thank you🙏. If you find this video valuable, please don't forget to like, subscribe, and share to support this channel 👍
    In this AWS tutorial video, we will create security groups to control traffic to our WordPress application.
    According to AWS documentation, a security group acts as a virtual firewall for your instance to control inbound and outbound traffic. When you launch an instance in a VPC, you can assign up to five security groups to the instance. Security groups act at the instance level, not the subnet level. Therefore, each instance in a subnet in your VPC can be assigned to different security groups.
    For each security group, you add rules that control the inbound traffic to instances, and a separate set of rules that control the outbound traffic. This section describes the basic things that you need to know about security groups for your VPC and their rules.
    How to Control Traffic with Security Groups in AWS
    #security groups #wordpressonaws #vpc

КОМЕНТАРІ • 17

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

    Thanks, this has really helped me have a good understanding with how security group works

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

      You are welcome.

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

    I randomly searched this video, But this coms out to the best video on security group. Thanks

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

    Nice tutorial, keep going friend. Thank you so much 💯

  • @karthikks9976
    @karthikks9976 8 місяців тому

    2 Questions :
    1. Why Traffic to EFS through EC2, whereas in the diagram shown link between DB-EFS ?
    2. Why EFS Secuirty group inbound has its own Security group ID linked ?
    please response.

  • @nyeemTube11
    @nyeemTube11 2 роки тому +1

    Why did you include EFS SG itself with EFS SG inbound rules? Could you please clarify.

  • @louisadibe3189
    @louisadibe3189 3 місяці тому

    Good job bro,but I have a question,the first security group that was created is ALB and its source is anywhere(10.0.0.0/0),so this implies anyone can access it and every other security groups created is dependent on ALB,so how are the security groups secure?

    • @AOSNote
      @AOSNote  3 місяці тому

      Hello Louis, that's a great question. We open internet traffic (0.0.0.0/0) on the load balancer. When the load balancer receives the internet traffic, it will forward the end user's request to the EC2 servers. With the way we set up our security groups, the EC2 servers will only accept the request if it is coming from the load balancer, not the end user. For the other security groups, we are following the same concept. The RDS will only allow the request if it is coming from the EC2 server. Basically, we are using the principle of least privilege and only allowing the right resource to access other resources.

    • @louisadibe3189
      @louisadibe3189 3 місяці тому

      @@AOSNote Thanks for timely response,please I have a last question,after hosting the wordpress,how do I link it to a flask web app that is currently running from my local server?yes I already saw one of your videos where you you created s3 bucket and sync the files to wordpress html folder,but right now am finding it difficult to find that video on youtube,please help with the link to that tutorial.However,If i decide to use the method of s3 bucket then I must not terminate the setup server ec2 instance?
      Thanks bro

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

    This is very helpful. Can you please do another video on running wordpress in AWS?

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

      Thank you Phil. Yes I have made the full video and you can watch it here: www.udemy.com/course/how-to-build-a-wordpress-website-on-aws/?referralCode=AFEA59BEE571B7B2E957

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

    Do a similar video for NACL

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

    Great video, however why is EFS security group allowing connection to the EFS Security group itslef? I do not understand this part.

  • @Mo-fu5oi
    @Mo-fu5oi 10 місяців тому

    Why is EFS security group allowing connection to the EFS Security group itslef?

    • @AOSNote
      @AOSNote  10 місяців тому

      When a security group is configured to allow connections to itself, it means that any EC2 instance or service that is associated with that security group is allowed to communicate with other instances or services in the same security group. This is particularly useful in scenarios like this project where multiple instances need to access the same EFS file system.

  • @xx-il1sk
    @xx-il1sk 3 роки тому

    wordpress + php + mysql is installed in the websever , my question and confusion is : why do you have it the public subnet ( see diagram min 1:04 ) isnt supposed to be in the public subnet then we secure with ACM ?

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

      Hello, sure I can explain, but please, I don't understand your question. I mean this question "why do you have it the public subnet." Which service are you referring to?