If your account has been provisioned for you by AWS for the purpose of completing this lab, you can skip the setup section as this infrastructure has been provisioned for you. Some of your resources will be preceded with mod-[ID]- instead of beginning with Lab.
You can access your account at the dashboard login and use the hash provided.
You will need the following to be able to perform this lab:
There are two options for launching the CloudFormation Stack. The first option will automatically populate your CloudFormation stack variables. The second option will walk through all the steps involved in manually creating a new stack from a template URL.
Option A: Automatically launch and populate stack creation variables
Option B: Manually create the stack
Copy the CloudFormation script URL for this lab:
https://workshop.aws-management.tools.s3.amazonaws.com/operations/templates/DistributedBase.yaml
Use your administrator account to access the CloudFormation console.
NOTE: A CloudFormation template is a JSON or YAML formatted text file that describes your AWS infrastructure containing both optional and required sections. In the next steps, we will provide a name for our stack and parameters that will be passed into the template to help define the resources that will be implemented.
On the Specify Template step, next to Specify an Amazon S3 template URL, click the link to View in Designer.
NOTE: AWS CloudFormation Designer (Designer) is a graphic tool for creating, viewing, and modifying AWS CloudFormation templates. With Designer, you can diagram your template resources using a drag-and-drop interface, and then edit their details using the integrated JSON and YAML editor. Whether you are a new or an experienced AWS CloudFormation user, AWS CloudFormation Designer can help you quickly see the interrelationship between a template’s resources and easily modify templates.
Choose the Create Stack icon to return to the Specify Template step.
NOTE: By clicking the Create Stack option in the Designer, you will automatically create a new cf-template S3 bucket in your selected region, and the original template will be copied with a unique random name and placed in your new S3 bucket.
On the Specify Template step, click the Next button.
On the Specify Details step:
Click Next
On the On the Specify Details step, under Tags:
On the Review step:
Click Create stack
Navigate to the Outputs tab and make a note of the ImagetrendsAppUrl or open the link in a new tab.
Confirm your subscription to the SNS Notification - After the CloudFormation script has completed, enter the email client for the address you provided earlier. - Locate the email from AWS Notifications with the subject AWS Notifications - Subscription Confirmation. - Click the Confirm subscription link to confirm your subscription.
Note: In this lab you will interact with the web based application you just created. To generate activity logs you will need to upload pictures to your application server. You can use your own images or download sample images to use here: Sample Photos The sample image file is 12MB. If you plan to use the sample images start the download now so it can complete before you need them.