Create CF Stack

Create CloudFormation Stack

  1. Go to Deploy to AWS to proceed with stack creation.

Alternatively, you can also create a CloudFormation Stack with Upload yaml file

  • The first step, configure the template. Select Template is ready
  • Template source, select Amazon S3 URL
  • In the lab, preconfigured Amazon S3 URL
  • Select Next

Create Stack CloudFormation

  1. We configure the stack details
  • Stack name, enter the stack name you want to set.

STACK_NAME will be used as the header or header of the names of the services in this lab. Example: alb-STACK_NAME-XXX

  • In the Parameters section, select false for SkipBucket
  • Select Next

Create Stack CloudFormation

  1. Proceed to Configure stack options
  • Tags, enter the value key-value (you can enter it)

Create Stack CloudFormation

  1. Select Next

Create Stack CloudFormation

  1. Check configuration stack
  • Select I acknowledge that AWS CloudFormation might create IAM resources
  • Select Create Stack

Create Stack CloudFormation

  1. Stack creation takes about 7 minutes.
  • Select stack to create successfully
  • Select Events
  • See the stack creation process

This stack initializes Cloud9 Environment, DynamoDB Table, LoadBalancerDNS, ProfileName, S3WebsiteURL, SiteBucket.

Create Stack CloudFormation

  1. In the newly created stack interface
  • Select Outputs
  • Select value as the path Cloud9 of Key Cloud9Env.

Create Stack CloudFormation

  1. We use AWS Cloud9 as our development environment.

We will be using this Cloud9 Environment throughout the whole lab. The AWS Cloud9 environment created by CloudFormation is named Project- STACK_NAME

Create Stack CloudFormation

  1. Check Outputs of the stack

Create Stack CloudFormation

  1. Next we check DynamoDB
  • Access to DynamoDB
  • New Table has been initialized

Create Stack CloudFormation

  1. Check Load Balancers
  • Access to EC2
  • Select Load Balancers
  • Check the result

Create Stack CloudFormation