AWS CloudFormation Typical CodePipeline-Based Service Project

From NovaOrdis Knowledge Base
Revision as of 19:25, 13 March 2019 by Ovidiu (talk | contribs) (→‎Specify stack details)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

This example walks the reader through the steps required to create the AWS infrastructure for a CodePipeline-based service project.

Procedure

Create Stack

Prerequisite - Preparte template

Template is ready.

Template example:

codepipeline-based-template.yaml

Specify template

Upload a template file.

Specify stack details

Stack Name

themyscira-cicd

Avoid using "-stack" in the name as some templates may use "AWS::StackName" to compose other names.

The rest of the page is dynamically build based on the "Parameters" and "Metadata" sections of the template.

Configure stack options

Tags

Permissions

Allows choosing an IAM role that defines how CloudFormation can create, modify or delete resources. If no role is chosen, CloudFormation uses permissions based on the user credentials.

See:

CloudFormation Service Role

Advanced Options

Stack policy

Defines the resources that you want to protect from unintentional updates during a stack update.

Rollback configuration

Notification options

Stack creation options

Rollback on failure

Termination protection

Post-Creation

The resources that are created as part of the stack creation can be inspected in the "Resources" tab.