The FASTEST Way to Set Up WordPress Hosting on Amazon EC2

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 4

  • @godslambtech
    @godslambtech 3 หลายเดือนก่อน +1

    Excellent job there! this help me a lot to have a clean installation of my WP using docker.

    • @alexrusin
      @alexrusin  3 หลายเดือนก่อน

      I'm glad it was helpful!

  • @AlexKostritsa
    @AlexKostritsa 29 วันที่ผ่านมา

    Hey Alex! Thanks a lot for the video.
    Few questions here:
    1) Why don't you go with Lighsail? It's intended to be a better solution for WP. The nature of the question is how it's different from the raw EC2 node.
    2) When you've been creating Security Group, minute of 6, about SSH. You've added a network of us-east-1. Is there a way to supply all networks all together, assuming that you would like an instance to be available via SSH from all Amazon data centers?
    Thanks

    • @alexrusin
      @alexrusin  29 วันที่ผ่านมา

      You are welcome.
      1. Deploying WP on EC2 instance seemed more interesting at the time. You can learn what's going on under the hood. Lightsail is good as well. The only problem with LightSail that it seems to be less flexible. Also configuring EC2 instance for web hosting from scratch covers a lot of AWS concepts. For example, your second question is about security groups and regions. This is an important concept.
      2. The ssh rule is configured for InstanceConnect. Your instance can only be in one region. In my case it is us-east-1. When you do InstanceConnect, you have to select the instance. In order to select the instance, you have to be in the instance's region. If you are in a different region, you won't be able to see the instance. Since my instance is us-east-1 region, naturally I'm connecting to it from another AWS server, which AWS provides on the fly in the same region (you cant' just ssh from nothing). Therefore used us-east-1 CIDR for my security group rule. This way the instance that AWS provided on the fly can connect to my instance.
      You can technically add multiple security group rules with different CIDRs of in different region, or add multiple CIDRs to one rule, however it won't make much sense because of my explanation above.