February 5, 2018
This repository is a collection of AWS CloudFormation demo examples to help manage your environment in a DevSecOps approach. Using the fictitious business case "Your Company’s AWS Footprint and Usage is Growing Beyond a Single Business Unit Account that was Easily Managed by a Small Team of Two", the scripts show the ease at which AWS can help you automate.
Some examples are not region agnostic and will need to be modified to run in all regions supporting the services. Execution should use "us-east-1".
Important: Some services used in this project are excluded from the free tier. You will be charged for provisioning resources.
- AWS Pipeline to Service Catalog Many thanks to @anshrma for this contribution!
- AWS Organizations
- AWS Tagging Strategies
- Deep Dive on AWS CloudFormation
- AutoScaling
- CodeBuild
- CodeCommit
- CodeDeploy
- CodePipeline
- CloudFormation
- CloudWatch
- Config
- DynamoDB
- EC2
- EFS
- GuardDuty
- IAM
- Inspector
- Lambda
- RDS
- Route 53
- S3
- Shield
- Systems Manager
- Trusted Advisor
- VPC
- AWS Account
- AWS CLI
- AWS CodeCommit Access
- GIT Client
- PyCharm (optional)
First clone this repo: git clone https://github.com/jdolinski/aws-user-group-demo
Open CloudFormation on your AWS account and create a stack from template 00-pipeline-to-service-catalog.yaml
This will create your AWS CodeCommit Repository.
You will need to Setup your repository authentication and clone your new AWS Repository and push this project into it.
When you push your code to AWS Repo it will invoke the pipeline to sync your service catalog.
Next browse to service catalog and find the product-10-shared-storage.yaml
Launch this product and it will create
two buckets for source code. Code deployments to these buckets are usually done via a CI tool such as Jenkins. However
we will need to manually upload two zip packages.
-
In the Lambda code bucket, upload
"your-project-location"/scripts/autosubnet/autosubnet.zip
-
In the Application code bucket, upload
"your-project-location"/cms/Joomla_3.8.4-Stable-Full_Package.zip
Remember to tear down all your stacks to avoid unnecessary costs in your AWS account.