in your account

Launch CloudFormation

Only complete this section if you are running the workshop on your own. If you are at an AWS hosted event (such as re:Invent, or any other event hosted by an AWS employee)., go to Start the workshop at an AWS event.

To begin this workshop, click one of the links below for the region you’d like to use. This is the AWS region where you will launch resources for the duration of this workshop. This will open the CloudFormation template in the AWS Management Console for the region you select.

us-east-1 - N. Virginia

us-east-2 - Ohio

us-west-2 - Oregon

eu-west-1 - Ireland

eu-central-1 - Frankfurt

ap-northeast-1 - Tokyo

ap-southeast-1 - Singapore

Once you have chosen a region and are inside the AWS CloudFormation Console, you should be on a screen titled “Quick Create Stack”.

Screenshot new CF Console

Amazon MQ workshop setup step 2

Screenshot old CF Console

Amazon MQ workshop setup step 2

In the Stack name section, provide a stack name e.g. “mqworkshop”. You can provide a name of your choice less than 15 characters in length.

In the Parameter section,

The CIDR defaults to 0.0.0.0/0 to allow anyone to connect to AmazonMQ broker. You can change this to allow connections only from your computer or to a custom IP range determined by your network support team.

The Broker Username and Broker Password are same and default to workshopUser. If you want to change it, choose something easy to remember, 12 characters or more. The Broker Username and Broker Password are for logging into ActiveMQ console, which you will be doing later in Lab 3.

Leave the rest of the options as is and check the I acknowledge that AWS CloudFormation might create IAM resources box. This is to allow CloudFormation to create a Role to allow access to resources needed by the workshop.

Scroll to the bottom and click Create to launch your stack.

Your stack will take sometime to launch, mostly due to the creation of the Amazon MQ broker. You can track its progress in the “Events” tab. When it is done creating, the status will change from “CREATE_IN_PROGRESS” to “CREATE_COMPLETE”.

The CloudFormation stack creates 4 Amazon MQ brokers named Broker, NoB1, NoB2 and NoB3. In addition, a Cloud9 EC2 instance with name containing MQClient, this is where you will be running different commands.

Screenshot new CF console

Amazon MQ workshop setup step 2

Screenshot old CF console

Amazon MQ workshop setup step 2

If you are running this lab in your own account, please verify that the CloudFormation script is complete. You can do that bu navigating the to the CloudFormation console here https://console.aws.amazon.com/cloudformation/

Refresh this screen until the mqworkshop stack shows “CREATE_COMPLETE”.

Amazon MQ workshop setup step 3

You can track its progress by selecting the mqworkshop tab, and then selecting the “Events” tab. When it is done creating, the status will change from “CREATE_IN_PROGRESS” to “CREATE_COMPLETE”.

Screenshot new CF console

Amazon MQ workshop setup step 4

Screenshot old CF console

Amazon MQ workshop setup step 4

Completion

Congratulations, you’ve successfully completed the workshop setup! You can move on to Introduction to Amazon MQ Console