Lab 0: Workshop Initialization
Lab 1: Create your first AWS Global Accelerator
Lab 2: Implement Intelligent Traffic Distribution
Lab 3: Implement Fine-grained traffic control
Lab 4: Implement Client Affinity
Lab 5: Continuous availability monitoring and Failover
Lab 7: AWS Global Accelerator Performance
Bonus Lab: CloudWatch metrics and enabling flow logs
In this lab, you'll launch the core infrastructure for the workshop via AWS CloudFormation. We'll have a section to explain what you're launching here, so don't worry. After the workshop, simply delete the CloudFormation stack to delete all the above resources. We have a cleanup section at the end as well to remind you.
Use the CloudFormation in the instructor notes to spin up 4 EC2 instances in four different AWS regions (Ohio, Singapore, Paris and Sao Paulo), share the Ohio DNS with the participants so they can see how AWS Global Accelerator distributes traffic based on user location and the accelerator settings.
Launch the CloudFormation stack in two or more AWS Regions of your choice, note down the different regions you choose.
The link will load the CloudFormation Dashboard and start the stack creation process in the chosen region. The CloudFormation template will create the following resources:
- a VPC with an Internet Gateway and two subnets
- a Lambda function
- an Application Load Balancer with the Lambda function as target
- an IAM role the Lambda service will assume
- a permission to the Application Load Balancer to invoke the Lambda function
Region | Launch Template |
---|---|
Oregon (us-west-2) | |
Dublin (eu-west-1) | |
Tokyo (ap-northeast-1) | |
Sydney (ap-southeast-2) | |
Canada (ca-central-1) | |
Mumbai (ap-south-1) |
The template will automatically bring you to the CloudFormation Dashboard and start the stack creation process in the specified region. The default stack name AGAWorkshop (change it if you want to use a different name or if you want to deploy 2 endpoints in the same region), proceed through the wizard to launch the stack. Leave all options at their default values, but make sure to check the box to allow CloudFormation to create IAM roles on your behalf:
After you click on Create stack, you will have the following window, it takes 3 to 4 minutes for the stack to be created.
For this workshop we will use US-WEST-2 (Oregon), EU-WEST-1 (Dublin) and AP-NORTHEAST-1 (Tokyo) regions, I've created two endpoints in Oregon region.
These tips will help you be more efficient and save time.
- If you have a tablet with you, use that for the workshop instructions while you work on your laptop.
- "Right-click, Open Link in New Tab" is your friend - throughout the workshop you'll be navigating to various service dashboards in the AWS management console and referring back to lab instructions. Using multiple browser tabs will save you time.
- Open a text editor to copy/paste resource names or keep a tab open with the CloudFormation outputs. For example, to load the Mythical Mysfits application, you'll browse to the load balancer DNS name. This value is good to have easily accessible to save you time since you'll be loading the app throughout the workshop.
You now have an operational workshop environment to work with. Proceed to Lab 1
We encourage participation; if you find anything, please submit an issue. However, if you want to help raise the bar, submit a PR!