• PREPARE TO FAIL(OVER)


    Overview
    This is a challenge to deliver high availability of a web application via AWS Application Load Balancer that provides failover between two ec2 Instances

    Challenge Progress
    Task Status Possible Points Clue Deduction Points Total Earned
    Completed! 48 0 48
    Completed! 32 0 32
    Total Points Earned: 80

    Task 1: Provide high availability for two ec2 instances using the Application Load Balancer
    Possible Points: 48 Clue Penalty: 0 Points Earned: 48
    Completed!
    Background
    John, the IT Operations Manager at the AWSome Shop has tasked you with delivering high availability for the shop website that currently runs on an ec2 instance. John understands that running the website on a single ec2 instance is risky as it offers no resilience should the instance fail.

    Your Task
    John has tasked you with delivering high availability for the website.

    Getting Started
    On the Amazon EC2 service page, locate the Application Load Balancers DNS address and open it in a web browser. What error message do you see? What does this mean?

    Inventory
    The following have already been provisioned in the environment;

    An Application Load Balancer
    Listener
    Target Group
    Two ec2 instances; these contain the web application.
    Services You Should Use
    Application Load Balancer
    Target Group
    Task Validation
    The task will automatically complete once the Application Load Balancer has been correctly configured.

    Task 2: Modify the load balancing algorithm to access both the ec2 instances via the Application Load Balancer
    Possible Points: 32 Clue Penalty: 0 Points Earned: 32
    Enter answer here
    Completed!
    Background
    Now high availability has been delivered, John has realised the current configuration returns the same ec2 instance when a request is sent to the Application Load Balancer.

    Your Task
    Make a change to configuration to allow traffic to be routed to both ec2 Instances.

    Getting Started
    Open the DNS name of the Application Load Balancer in a web browser. What happens when you refresh the browser window several times? What Application Load Balancer or Target group configuration could cause this to happen?

    Inventory
    The following have already been provisioned in the environment;

    An Application Load Balancer
    Listener
    Target Group
    Two ec2 instances; these contain the web application.
    Services You Should Use
    Application Load Balancer
    Target Group
    Task Validation
    Open your web browser. Navigate to the DNS of the load balancer. Refresh the browser a few times. You should see information from both EC2 instances in the target group displayed alternately. Copy the Key1 and Key2 values displayed on the webpages. Paste these values into the answer text box at the top of the challenge page. Note: Do not put a space between the key values. They should be pasted in the format Key1Key2.

    It is extremely simple. You can complete this problem by registering two instances in the target group and refreshing the web address of Alb for several times (be patient, yatos)

  • 相关阅读:
    7月第3周榜单丨飞瓜数据B站UP主排行榜发布!
    CentOS脚本快速部署K8S
    字符串相加
    Python + SQL,终于找到一个好用的第三方库了!
    关于KMP学了好几次还没记住这件事
    最强大脑(1)
    c#入参使用引用类型为啥要加ref?
    【文末送书】1000道精心打磨的计算机考研题,408小伙伴不可错过
    MySQL 使用触发器记录用户的操作日志
    HBase-shell命令
  • 原文地址:https://blog.csdn.net/Tzwf01/article/details/126373346