Skip to content

Commit

Permalink
Issues 7 refactor yml (#8)
Browse files Browse the repository at this point in the history
* Infrastructure Refactor

* Fixed launcher link

* Updated Database Section

* Updated Orchestrators Section

* Cleaned up links

* Updated Security Section

* Fixed name of parameter example and removed extra parameter

* Updated Storage Section

* Updated Webapps/Autoscaling Section

* Added CFN Launcher Submodule

* Updating Root Readme and Labs

* Updating Root Readme

* Fixed Video Static Image

* WIP on Table Width Issue

* Test 2

* Test 3

* Test 4

* Table Width Fixed
  • Loading branch information
LevonBecker committed Feb 28, 2017
1 parent cf2a9bc commit 991f18c
Show file tree
Hide file tree
Showing 70 changed files with 13,199 additions and 5,649 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -58,3 +58,4 @@ $RECYCLE.BIN/

# Windows shortcuts
*.lnk
/tmp/
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "cfn_launcher"]
path = cfn_launcher
url = https://github.com/bonusbits/cfn_launcher.git
1,971 changes: 626 additions & 1,345 deletions README.md

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions autoscaling/README.md
@@ -0,0 +1,58 @@
# [Baked AMI, ELB, RDS Backend](https://github.com/stelligent/cloudformation_templates/blob/master/autoscaling/bakedami-elb-rdsbackend.yml)

## Purpose

Create an Autoscaling group in 3 private subnets from a baked AMI, an Elastic Load Balancer in 3 public subnets and S3 ELB Logging Bucket.
Option to use SSL/TLS on ELB. Option to update Route 53 Hosted DNS alias to point to the ELB.

## Prerequisites
* [VPC](https://github.com/stelligent/cloudformation_templates/blob/master/infrastructure/vpc.yml)
* 3 Private Subnets
* 3 Public Subnets
* Internal AccessSecurity Group
* RemoteSecurityGroup
* [RDS](https://github.com/stelligent/cloudformation_templates/blob/master/database)
* Instance
* Security Group for RDS Access
* SNS Topic

## Optional Prerequisites
* SSL/TLS Certificate uploaded to AWS Account for ELB
* Route53 Hosted Domain

## Summary
1. AWS Service APIs (i.e. CFN Init, ECS, SNS, SES)
2. AWS Linux Package Repos
3. *.rubygems.org
4. *.wordpress.org, *.wordpress.com (Wordpress Updates)
5. docs.google.com (Temp) for Sheets access (Wordpress Plugin)

## Launcher
[![](https://s3.amazonaws.com/cloudformation-examples/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?#/stacks/new?&templateURL=https://s3.amazonaws.com/stelligent-public/cloudformation-templates/github/bakedami-elb-rdsbackend.yml)<br>

Click this button to open AWS CloudFormation web console to enter parameters and create the stack.


## CloudFormation Template Details
The [CloudFormation Template](https://github.com/stelligent/cloudformation_templates/blob/master/autoscaling/bakedami-elb-rdsbackend.yml) does the following:

1. EC2 Instance Autoscaling LaunchConfiguration
1. Launches specified AMI ID
2. 3 Private Subnet
3. No External IP
2. Security Group
1. Allow 80 Inbound
2. Allow 443 Inbound
3. ELB
1. 3 Public Subnets
2. SSL/TLS Optional
3. S3 Logging Optional
4. Route 53 Update Optional
4. IAM Instance Profile Role
1. S3 *
2. ec2:Describe*
3. elasticloadbalancing:Describe*
4. autoscaling:Describe*
5. cloudwatch:*
6. logs:*
7. sns:*
@@ -1,7 +1,7 @@
[
{
"ParameterKey": "Owner",
"ParameterValue": "Levon Becker"
"ParameterValue": "First Last"
},
{
"ParameterKey": "Project",
Expand All @@ -13,35 +13,35 @@
},
{
"ParameterKey": "VPC",
"ParameterValue": "vpc-b9f488dd"
"ParameterValue": "vpc-00000000"
},
{
"ParameterKey": "PublicSubnet1",
"ParameterValue": "subnet-24197570"
"ParameterValue": "subnet-00000000"
},
{
"ParameterKey": "PublicSubnet2",
"ParameterValue": "subnet-24197571"
"ParameterValue": "subnet-00000000"
},
{
"ParameterKey": "PublicSubnet3",
"ParameterValue": "subnet-24197572"
"ParameterValue": "subnet-00000000"
},
{
"ParameterKey": "PrivateSubnet1",
"ParameterValue": "subnet-14197570"
"ParameterValue": "subnet-00000000"
},
{
"ParameterKey": "PrivateSubnet2",
"ParameterValue": "subnet-14197571"
"ParameterValue": "subnet-00000000"
},
{
"ParameterKey": "PrivateSubnet3",
"ParameterValue": "subnet-14197572"
"ParameterValue": "subnet-00000000"
},
{
"ParameterKey": "PublicNetworkAcl",
"ParameterValue": "acl-3d207459"
"ParameterValue": "acl-00000000"
},
{
"ParameterKey": "InstanceType",
Expand All @@ -53,7 +53,7 @@
},
{
"ParameterKey": "Ec2KeyPair",
"ParameterValue": "stelligent-dev"
"ParameterValue": "dev"
},
{
"ParameterKey": "MinAutoScaleCount",
Expand All @@ -65,11 +65,11 @@
},
{
"ParameterKey": "InternalAccessSecurityGroup",
"ParameterValue": "sg-69d8410f"
"ParameterValue": "sg-00000000"
},
{
"ParameterKey": "RemoteSecurityGroup",
"ParameterValue": "sg-50d8410d"
"ParameterValue": "sg-00000000"
},
{
"ParameterKey": "ConfigureDns",
Expand Down

0 comments on commit 991f18c

Please sign in to comment.