Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Loxabe-IT/cloud-custodian
https://github.com/Loxabe-IT/cloud-custodian
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Loxabe-IT/cloud-custodian
- Owner: Loxabe-IT
- Created: 2019-10-16T12:17:14.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-16T12:22:22.000Z (about 5 years ago)
- Last Synced: 2024-05-30T06:59:16.511Z (6 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Cloud Custodian Policies
Requirements:
1. Jenkins installation with plugins:
a) Pipeline: AWS Steps
b) Docker plugin
2. Technical user in AWS with create Lambda permissions
3. Dockerhub account to publish Docker image
4. Github Enterprise technical user
5. Allow access to AWS API (api.amazon.com) from Docker agentInstallation
1. Build Dockerimage from Dockerfile
2. Setup docker Agent template in Jenkins with following details:
a) Labels: docker-custodian
b) Name: docker-custodian
c) Remote File System Root: /home/custodian
d) User: custodian
3. Create build with pipeline script from SCM using [email protected]:devops/cloudcustodian.gitUsage:
1. Commit the changes in master branch
2. New policies should be added in custodian.yml file
3. Run the buildExplenation of pipeline :
1. Declarative: Checkout SCMB: uild first downloads the files from github master branch repository
2. Validate: Updated custodian.yml policy files is validated for errors
3. Test: Policy is deployed in aws-im-dev environment for testing
4. Dryrun: Policy is dryruned through all accounts
5. Run: Policy is deployed in all envrionment
6. clean-old-functions: Old lambda functions which are not part for custodian.yml files are removed/deleted...