Skip to content

openops-cloud/cloudformation-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CloudFormation Examples

A collection of AWS CloudFormation templates for practice and testing purposes. This repository contains various infrastructure-as-code examples that can be used by the OpenOps platform for validation, testing, and remediation scenarios.

Repository Structure

Each example is contained in its own folder with:

  • CloudFormation template (YAML format)
  • README with description and usage instructions

Examples

AWS Benchmark Permissions

Location: aws-benchmark-permissions/

Creates an IAM role with the necessary permissions for the OpenOps AWS Benchmark feature. This template provisions read-only access to AWS Compute Optimizer, resource metadata (EC2, RDS, ELB, DynamoDB, Lambda, ECS), and the Pricing API.

Use this template to: Set up secure cross-account access for OpenOps to run cost optimization benchmarks on your AWS infrastructure.

S3 Bucket with Standard Configuration

Location: s3-bucket-standard-tiering/

Creates an S3 bucket with standard configuration and security best practices.

Usage

To deploy any example stack:

aws cloudformation create-stack \
  --stack-name <stack-name> \
  --template-body file://<path-to-template.yml> \
  --region <aws-region>

To delete a stack:

aws cloudformation delete-stack \
  --stack-name <stack-name> \
  --region <aws-region>

Contributing

When adding new examples:

  1. Create a descriptive folder name
  2. Include a CloudFormation template in YAML format
  3. Add a README.md explaining the template's purpose
  4. Update this main README with a reference to the new example

About

Example of CloudFormation stacks for OpenOps to remediate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors