Systems Manager Parameters

Use AWS Systems Manager to add the missing parameter

One of the Systems Administrators has taken a look at the current state of our environment. He has reported that there is a parameter msising in our backend setup. Luckily, we can use AWS Systems Manager to fix this.

It looks like this parameter holds the game session configuration and state. Each time a game Manager creates or ends a session, our Alien Attack game updates this parameter. We need to create and store this parameter in the backend of our environment’s architecture for persistence. Let’s follow the specifications below and use the Systems Manager console to create this new parameter.

What are we fixing? It looks like we are missing a session parameter, which is causing the application to break. The session parameter tells our application about the state of the games that are currently running within the Alien Attack environment. Without it, our application doesn’t know which games to make available to the gamers.

Hint: Click here to see a diagram of your broken architecture.

Solution guidance

  1. From your AWS Management Console, navigate to the AWS Systems Manager Console. Make sure you are still in the region you chose at the beginning of this workshop.
  2. In the left hand navigation panel, select Parameter Store from the Application Management section. You will see that some parameters for your environment have already been created with “/YourEnvironmentName/” as the prefix; however, we are missing the session parameter, /YourEnvironmentName/session. Let’s create it now.
  3. Click on the Create parameter button at the top righthand corner of your window.
  4. Enter the following Parameter detail values:
    • Name: /yourenvironmentname/session (yourenvironmentname should be the same name that is being used for the other parameters in your environment. In this case, your Environment Name will be lowercase.)
    • Description: Existing session (opened or closed)
    • Tier: Standard
    • Type: String
    • Value: null (insert the word null all lowercase, Null will not work; make sure there are no spaces before the word).
  5. Scroll down and click Create parameter.

If your parameter was created successfully, you should get the message “Create parameter request succeeded”. Make sure the parameter exists in your Parameter Store list.

Stuck? Click here for a Fast Fix

Great work! Let’s try to log in to the Manager Console one more time.

If you have configured everything correctly, you should be forwarded to the configuration page. It looks like this part of the application is working now.

But wait! Don’t try to play the game yet.

According to our notes, there are a few more pieces of the game that we need to fix.