Deploying a Highly Available WordPress website and Bastion Host in AWS

  • Bastion Host :
    • A bastion host is a system exposed to the internet and is highly protective against malicious attacks.
    • Also known as a Jump Box, it acts as a proxy server, facilitating client machine connections to remote servers.
    • It typically resides outside the firewall and filters incoming traffic to prevent unwanted connections, acting as a gateway to maintain security by blocking unnecessary software and daemons.
  • High Availability :
    • Fault tolerance can be achieved by placing servers across different availability zones.
    • If one availability zone fails, the application will still handle traffic from another zone.
    • Elastic Load Balancers are crucial for achieving High Availability and fault tolerance.
  • Elastic Load Balancer:
    • Load Balancer distributes incoming application or network traffic across multiple targets in multiple Availability Zones.
    • AWS has three types of load balancers: Application Load Balancer (for HTTP/HTTPS traffic), Network Load Balancer (for TCP/UDP protocols), and Classic Load Balancer (basic load balancing for Amazon EC2 instances).

Hands-on lab

  1. Go to the AWS Management Console.
  2. In the Management & Governance section, select CloudFormation.
  3. Click on the Create Stack button.
  4. Select the Template tab and upload the CloudFormation template for the VPC.
  5. In the Parameters section, enter the values for the public and private subnets.
  6. Click on the Create button.
  7. The stack will be created and the VPC will be provisioned.
  8. You can now use the public and private subnets to create resources in the lab.

click on Output tab, you will see

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top