Cloudformation Walkthrough

Step-by-Step Instructions to Deploy the IAM Role using AWS CloudFormation

Step 1: Log in to the AWS Management Console

  1. Open a web browser and go to the AWS Management Console.
  2. Log in with your AWS credentials.

Step 2: Navigate to the CloudFormation Console

  1. In the AWS Management Console, locate the Search bar at the top.
  2. Type CloudFormation and press Enter.
  3. Select CloudFormation from the results to open the CloudFormation dashboard.

Step 3: Create a New Stack

  1. Once in the CloudFormation dashboard, click the Create stack button in the top-right corner.
  2. Under Create stack, choose With new resources (standard).

Step 4: Specify the Template

  1. Under the Specify template section:
    • Select Template source: Choose Upload a template file.
    • Upload the file: Click the Choose file button and select the YAML file that contains the provided CloudFormation template from your local machine.

If needed here is the link to download our provided template: Download CloudFormation Yaml

  • Verify that the template file is uploaded by checking that the file name is displayed next to the Choose file button.
  1. Click Next to proceed.

Step 5: Configure Stack Details

  1. In the Stack name field, enter a descriptive name for the stack (e.g., SkySaverSchedulerRole).

  2. You will not need to provide any specific parameters for this template, so no additional inputs are required in this step.

  3. (Optional) Tags:

    • If you’d like to add tags to your resources, click Add new tag.
    • Enter the Key and Value for each tag (e.g., Environment Production or Project SkySaver).
  4. Under Capabilities, check the box for I acknowledge that AWS CloudFormation might create IAM resources with custom names. This is necessary because the template includes the creation of IAM roles.

  5. Click Next to continue.

Step 6: Configure Stack Options

  1. In the Configure stack options section:

    • You can configure additional options if necessary, such as Stack policy, IAM role, or Notification options.
  2. For most users, you can leave these options as default. If your organization has specific stack policies or roles to assign, you can set them here.

  3. Click Next to continue.

Step 7: Review the Stack Configuration

  1. Review all the details of your CloudFormation stack. Ensure that:

    • The correct template file is selected.
    • The stack name is accurate.
  2. Click Create stack to initiate the creation of the stack.

Step 8: Monitor Stack Creation

  1. After clicking Create stack, you will be taken to the Stacks page.
  2. Here, you can monitor the status of your stack in the Status column. Initially, it will show CREATE_IN_PROGRESS.
  3. Wait for the stack creation process to complete. Once the stack is successfully created, the status will change to CREATE_COMPLETE.

Step 9: Verify Role Creation

  1. After the stack shows CREATE_COMPLETE, the IAM role SkySaverScheduler will be created.
  2. To verify, go to the IAM section of the AWS Console:
    • In the AWS Console search bar, type IAM and press Enter.
    • Select Roles from the left-hand menu.
    • Search for the role SkySaverScheduler and verify that it has been created with the correct policies.

If following the Getting Started Walkthrough, please return to the Add AWS Accounts

Notes:

  • Ensure you have sufficient permissions in your AWS account to create CloudFormation stacks and IAM roles.