Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aws-solutions/operations-conductor

This solution helps customers reduce operational complexity and enables administrators to quickly create manual, event-based or time-based triggers for managing resources.
https://github.com/aws-solutions/operations-conductor

aws aws-solutions aws-ssm aws-ssm-document

Last synced: 7 days ago
JSON representation

This solution helps customers reduce operational complexity and enables administrators to quickly create manual, event-based or time-based triggers for managing resources.

Awesome Lists containing this project

README

        

# Operations Conductor on AWS
## Description
Operations Conductor on AWS is a framework that provides an easy-to-use interface for automating and orchestrating operational tasks to manage AWS resources at scale.

## Running unit tests for customization
* Clone the repository, then make the desired code changes.
```bash
git clone https://github.com/aws-solutions/operations-conductor.git
cd operations-conductor
export OPS_CO_PATH=`pwd`
```

* Next, run unit tests to make sure added customization passees the tests.
```bash
cd $OPS_CO_PATH/deployment
chmod +x ./run-unit-tests.sh
./run-unit-tests.sh
```

## Building the customized solution
* Configure the build paraemters.
```bash
export DIST_OUTPUT_BUCKET=my-bucket-name # bucket where customized code will reside
export VERSION=my-version # version number for the customized code
export SOLUTION_NAME=operations-conductor # solution name for the customized code
```
_Note:_ You would have to create an S3 bucket with the prefix 'my-bucket-name-' as whole Lambda functions are going to get the source codes from the 'my-bucket-name-' bucket; aws_region is where you are deployting the customized solution (e.g. us-east-1, us-east-2, etc.).

* Build the customized solution
```bash
cd $OPS_CO_PATH/deployment
chmod +x ./build-s3-dist.sh
./build-s3-dist.sh $DIST_OUTPUT_BUCKET $SOLUTION_NAME $VERSION
```

* Deploy the source codes to an Amazon S3 bucket in your account. _Note:_ You must have the AWS Command Line Interface installed and create the Amazon S3 bucket in your account prior to copy source codes.
```bash
export AWS_REGION=us-east-1 # the AWS region you are going to deploy the solution in your account.
export AWS_PROFILE=default # the AWS Command Line Interface profile

aws s3 cp $OPS_CO_PATH/deployment/global-s3-assets/ s3://$DIST_OUTPUT_BUCKET-$AWS_REGION/operations-conductor/$VERSION/ --recursive --acl bucket-owner-full-control --profile $AWS_PROFILE
aws s3 cp $OPS_CO_PATH/deployment/regional-s3-assets/ s3://$DIST_OUTPUT_BUCKET-$AWS_REGION/operations-conductor/$VERSION/ --recursive --acl bucket-owner-full-control --profile $AWS_PROFILE
```

## Deploying the customized solution
* Get the link of the operations-conductor.template uploaded to your Amazon S3 bucket.
* Deploy the Operations Conductor solution to your account by launching a new AWS CloudFormation stack using the link of the operations-conductor.template.

## Collection of operational metrics
This solution collects anonymous operational metrics to help AWS improve the quality and features of the solution. For more information, including how to disable this capability, please see the [implementation guide](https://docs.aws.amazon.com/solutions/latest/operations-conductor/welcome.html).

***

Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at

http://www.apache.org/licenses/LICENSE-2.0

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.