Follow the step-by-step instructions below to test your setup and then clean up your project resources.

  • Step 1. Sign in to your dashboard and view AppStream 2.0 and WorkSpaces data

    Before you complete the following steps, make sure that you have already configured an AppStream 2.0 environment that includes at least one fleet. In addition, you must have Amazon WorkSpaces configured with at least one WorkSpace. These configurations are required to generate the data that is displayed in the dashboard.

    1. Open a web browser and navigate to https://<cloudfront_domain_name>/index.html, where <cloudfront_domain_name> is the CloudFront web distribution domain name URL from Module 1, Step 3. Create an Amazon CloudFront web distribution.
    2. When prompted, enter the user name and password from Module 2, Step 4. Add a user and application in AWS SSO, and then choose Sign in.
    3. After you sign in, the page redirects to the EUC dashboard. The dashboard displays details for your AppStream 2.0 fleets and Amazon WorkSpaces directories and instances.
    4. For AppStream 2.0, your help desk staff can monitor autoscaling activities and manage users’ streaming sessions. For Amazon WorkSpaces, they can send the registration code email to a user, or stop, start, restart, and restore a user’s WorkSpace. 
       
  • Step 2. Clean up your project resources

    Follow the step-by-step instructions below to clean up your project resources.  

    Step 1. Delete your Amazon S3 bucket

    Complete the following steps to delete your Amazon S3 bucket by using the Amazon S3 console.

    1. Open the Amazon S3 console at https://console.aws.amazon.com/s3.
    2. In the Amazon S3 buckets list, select the name of the bucket that you created for this project. If the list contains many Amazon S3 buckets, enter the name of the bucket in the search box to find it.
    3. In the upper-right corner of the pane, choose Delete.
    4. A message notifies you that the bucket is not empty. Choose the empty bucket configuration link.
    5. In the Empty bucket pane, enter the name of the bucket, and then choose Empty. A message notifies you that the bucket was successfully emptied.
    6. Choose the delete bucket configuration link.
    7. In the Delete bucket pane, enter the name of the bucket, and then choose Delete bucket. A message confirms that the bucket was successfully deleted.

     

    Step 2. Delete your CloudFront web distribution

    Before you can delete a CloudFront distribution, you must disable it.

    1. Open the CloudFront Console at https://console.aws.amazon.com/cloudfront.
    2. In the CloudFront Distributions list, select the check box next to the web distribution that you created for this project.
    3. If the value of State is Enabled and the value of Status is Deployed, continue with Step 4 to disable the distribution before deleting it.
      If the value of State is Enabled and the value of Status is In Progress, wait until Status changes to Deployed. Then continue with Step 4 to disable the distribution before deleting it.
    4. Choose Disable.
    5. In the Disable Distributions(s) dialog box, choose Yes, Disable to confirm, and then choose Close.
    6. The value of the State column changes to Disabled. Wait until the value of the Status column changes to  Deployed.
    7. Select the check box next to the web distribution, and then choose Delete.
    8. In the Delete Distributions(s) dialog box, choose Yes, Delete, to confirm, and then choose Close.


    Step 3. Delete your verified email identity

    1. Open the Amazon SES console at https://console.aws.amazon.com/ses.
    2. In the navigation pane, under Identity Management, choose Email Addresses.
    3. In the Email Address Identities list, select the check box next to the email address that you want to delete, and then choose Remove.
    4. If the list contains many email addresses, type the name of the email address in the search box to find it.
    5. In the confirmation dialog box, choose Yes, Delete Identity.


    Step 4. Delete your Lambda functions

    1. Open the Lambda console at https://console.aws.amazon.com/lambda.
    2. In the Functions list, select the option next to examplecorp_lambda_dashboard_function.
    3. If the list contains many functions, type the name of this function in the search box to find it.
    4. Choose Actions, Delete.
    5. In the confirmation dialog box, choose Delete.


    Step 5. Delete your IAM role

    1. Open the IAM console at https://console.aws.amazon.com/iam.
    2. In the navigation pane, choose Roles.
    3. In the roles list, select the check box next to examplecorp_lambda_dashboard_role.
    4. If the list contains many roles, type the name of this role in the search box to locate it.
    5. Choose Delete role.
    6. In the confirmation dialog box, choose Yes, Delete.


    Step 6. Delete your IAM policy

    1. Open the IAM console at https://console.aws.amazon.com/iam.
    2. In the navigation pane, choose Policies.
    3. In the policies list, select the option next to examplecorp_lambda_dashboard_policy.
    4. If the list contains many policies, type the name of this policy in the search box to locate it.
    5. Choose Policy actions, Delete.
    6. In the confirmation dialog box, choose Delete.


    Step 7. Delete your RESTful API

    1. Open the API Gateway console at https://console.aws.amazon.com/apigateway.
    2. In the navigation pane, under APIs, choose examplecorp_dashboard.
    3. Choose Actions, Delete.
    4. In the confirmation dialog box, choose Delete.


    Step 8. Delete your Amazon Cognito user pool

    1. Open the Amazon Cognito console at https://console.aws.amazon.com/cognito.
    2. On the Amazon Cognito welcome page, choose Manage User Pools.
    3. Choose examplecorp_dashboard.
    4. In the navigation pane, under App Integration, choose Domain name.
    5. In the Amazon Cognito domain section, choose Delete domain.
    6. In the confirmation dialog box, select the acknowledgment check box, and then choose Delete domain.
    7. In the navigation pane, choose General settings.
    8. In the top-right corner of the General settings pane, choose Delete pool.
    9. In the confirmation dialog box, type DELETE, and then choose Delete pool.


    Step 9. Delete your AWS SSO configuration

    If you created the AWS SSO configuration by following the steps in this workshop, and you’re not using it for any other purpose, complete the following steps to delete it.

    Important: This action can’t be undone. For more information about the data that is deleted when you choose this option, see Delete your AWS SSO Configuration. For the AWS SSO configuration that you created in this workshop, the data that is deleted is listed under the AWS SSO Identity Store column in the table.

    1. Open the AWS SSO console at https://console.aws.amazon.com/singlesignon.
    2. In the navigation pane, choose Settings.
    3. On the Settings page, under Delete AWS SSO Configuration, choose Delete AWS SSO configuration.
    4. In the confirmation dialog box, select all the check boxes to acknowledge that you understand what data will be deleted.
    5. Type DELETE, and then choose Delete AWS SSO.

Congratulations, you have successfully deployed the EUC dashboard! This dashboard enables your help desk staff to view details for AppStream 2.0 fleets and Amazon WorkSpaces directories and instances, and to perform basic administrative tasks.

Learn about unique use cases, review best practices, dive deep on technical topics on the Desktop and Application Streaming blog