Lab complete!
Now that you have completed this lab, make sure to update your Well-Architected review if you have implemented these changes in your workload.
Click here to access the Well-Architected Tool
1.1 In the primary region Amazon EC2 console (N. Virginia (us-east-1)) find PrimaryALB and click on the copy icon in the DNS name column to copy the Application Load Balancer’s URL.
1.2 Open that URL in a new browser tab or window to see the Unicorns Shop.
2.1 Register yourself into the application using the Signup link in the top menu. You need to provide an email address, which does not need to be valid. However, be sure to remember it as you will need it to verify the data replication later.
2.2 You will see a confirmation message saying Successfully Signed Up. You may now Login.
2.3 Log in to the application using the Login link in the top menu, use your email address from the previous step. Also notice how the website is being hosted from your primary region N. Virginia (us-east-1).
2.4 Add items to your shopping cart, verifying that the total cart items count shown at the top of the page are being increased.
We are taking advantage of Amazon Aurora read replica write forwarding. With this feature enabled, writes can be sent to a read replica in a secondary region, and will be seamlessly forwarded to the writer in the primary region over a secure communication channel. It is considered a best practice to enable write forwarding in your secondary region for Warm Standby disaster recovery strategy for testing purposes.
3.1 In the secondary region Amazon EC2 console (N. California (us-west-1)) find SecondaryALB and click on the copy icon in the DNS name column to copy the Application Load Balancer’s URL.
3.2 Open that URL in a new browser tab or window to see the Unicorns Shop.
3.3 Log in to the application using the Login link in the top menu, use your email from Step 2.1 above.
3.4 You should see the same number of items in your cart that you added in Step 2.4 above. Also notice the website is being hosted from your secondary region N. California (us-west-1)
3.5 Add additional items to your cart and see the increased total cart items shown at the top of the page.
3.6 Return to your primary region website. If you already have it open, refresh your browser window, otherwise follow the steps above in Primary Region section. You should see the increased cart total in your primary region N. Virginia (us-east-1).
Now that you have completed this lab, make sure to update your Well-Architected review if you have implemented these changes in your workload.
Click here to access the Well-Architected Tool