• 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)

  • 相关阅读:
    JVM笔记:GC 日志分析
    [前端基础] 浏览器篇
    CNN-generated images are surprisingly easy to spot... for now
    使用 Python 连接到 PostgreSQL 数据库
    在nodejs中如何防止ssrf攻击
    ConcurrentHashMap原理详解(太细了)
    Wsl2 Ubuntu在不安装Docker Desktop情况下使用Docker
    MySQL数据库之MHA高可用配置以及故障切换
    i人e人什么意思_MBTI职业人格测试_免费测试和结果查看
    k8s中Endpoint是什么
  • 原文地址:https://blog.csdn.net/Tzwf01/article/details/126373346