Skip to content

Latest commit

 

History

History

labs

Lab CloudFormation Templates

Purpose

Collection of Laboratory Templates.

Templates

Labs

Creates a Chef Complianc Web server in a Public Subnet with Internet Gatewayy attached on an existing VPC. It then attaches an EIP and finally adds the instance to an existing instance-to-instance security group.

Prerequisites
  1. VPC
    • Public Subnet, IGW, Private Subnet/s.
    • Either use an existing VPC Infrastructure or you can use the following VPC Template to create a one.
  2. Available EIP
Supported Regions
  1. us-west-2
  2. us-east-1
Create Details
  1. EC2 Instance
  2. EIP
  3. IAM Role
  4. IAM Instance Profile
  5. Security Group
Launch

us-west-2

us-east-1

View in Designer
View in Designer
How To Video
HowTo Video

COMING SOON

AWS CLI Example
Base Command
aws cloudformation create-stack --profile {AWS Profile Name} --stack-name {Stack Name} --capabilities CAPABILITY_IAM --template-url "https://s3.amazonaws.com/stelligent-public/cloudformation-templates/github/labs/chef_compliance/chef-compliance.template"
Parameters
Option 1 - Custom Parameters JSON File (Example Here)
--parameters file:https:///localpath/to/custom-parameters.json
Option 2 - Pass Parameters on CLI
--parameters ... COMING SOON

Automates the integration between AWS Elastic Beanstalk and CodePipeline

Prerequisites
  1. CodeCommit Repo
Supported Regions
  1. us-east-1
Create Details
  1. IAM InstanceProfile, Policy, and Roles
  2. Elastic Beanstalk - ConfigurationTemplate, Environment
  3. CodePipeline with CodeCommit Integration
Launch

us-east-1

View in Designer
View in Designer
How To Video
HowTo Video

COMING SOON

AWS CLI Example
Base Command
aws cloudformation create-stack --profile {AWS Profile Name} --stack-name {Stack Name} --capabilities CAPABILITY_IAM --template-url "https://s3.amazonaws.com/stelligent-public/cloudformation-templates/github/labs/eb/elasticbeanstalk-codepipeline.json"
Parameters
Option 1 - Custom Parameters JSON File (Example Here)
--parameters file:https:///localpath/to/custom-parameters.json
Option 2 - Pass Parameters on CLI
--parameters ParameterKey=RepositoryName,ParameterValue=codecommit-demo"

Automates the integration between AWS CodeCommit and CodePipeline

Prerequisites
  1. EC2 Key Pair
  2. CodeCommit Repo
Supported Regions
  1. us-east-1
Create Details
  1. IAM InstanceProfile, Policy, and Roles
  2. EC2 Instance for CodeDeploy
  3. CodeDeploy
  4. CodePipeline with CodeCommit Integration
Launch

us-east-1

View in Designer
View in Designer
How To Video
HowTo Video

COMING SOON

AWS CLI Example
Base Command
aws cloudformation create-stack --profile {AWS Profile Name} --stack-name {Stack Name} --capabilities CAPABILITY_IAM --template-url "https://s3.amazonaws.com/stelligent-public/cloudformation-templates/github/labs/codecommit/codepipeline-codecommit.json"
Parameters
Option 1 - Custom Parameters JSON File (Example Here)
--parameters file:https:///localpath/to/custom-parameters.json
Option 2 - Pass Parameters on CLI
--parameters ParameterKey=EC2KeyPairName,ParameterValue=stelligent-dev"

Automates the integration between AWS OpsWorks, CodeCommit and CodePipeline

Prerequisites
  1. EC2 Key Pair
Supported Regions
  1. us-east-1
Create Details
  1. IAM InstanceProfile, Policy, and Roles
  2. SecurityGroupIngress and SecurityGroup
  3. OpsWorks Stack, Layer, App and Instance
  4. CodePipeline
Launch

us-east-1

View in Designer
View in Designer
How To Video
HowTo Video

COMING SOON

AWS CLI Example
Base Command
aws cloudformation create-stack --profile {AWS Profile Name} --stack-name {Stack Name} --capabilities CAPABILITY_IAM --template-url "https://s3.amazonaws.com/stelligent-public/cloudformation-templates/github/labs/opsworks/codepipeline-opsworks.json"
Parameters
Option 1 - Custom Parameters JSON File (Example Here)
--parameters file:https:///localpath/to/custom-parameters.json
Option 2 - Pass Parameters on CLI
--parameters ParameterKey=KeyName,ParameterValue=stelligent-dev"

Creates three test instances in an existing VPC. Each instance is a different operating system. They are; Red Hat Enterprise Linux 7, Ubuntu 14 and Windows 2012 R2.

Create Details
  1. 3 EC2 Instances
  2. IAM Role
  3. IAM Instance Profile
Launch

us-west-2

us-east-1

View in Designer
View in Designer
How To Video
HowTo Video

COMING SOON

AWS CLI Example
Base Command
aws cloudformation create-stack --profile {AWS Profile Name} --stack-name {Stack Name} --capabilities CAPABILITY_IAM --template-url "https://s3.amazonaws.com/stelligent-public/cloudformation-templates/github/labs/test_instances/rhel-ubuntu-win2012.template"
Parameters
Option 1 - Custom Parameters JSON File (Example Here)
--parameters file:https:///localpath/to/custom-parameters.json
Option 2 - Pass Parameters on CLI
--parameters ... COMING SOON