Coder Social home page Coder Social logo

cloudposse / docs Goto Github PK

View Code? Open in Web Editor NEW
65.0 16.0 24.0 63.27 MB

πŸ“˜ SweetOps documentation for the Cloud Posse way of doing Infrastructure as Code. https://docs.cloudposse.com

Home Page: https://docs.cloudposse.com

License: Other

CSS 21.55% JavaScript 39.99% Makefile 1.08% Shell 1.54% Dockerfile 0.75% Python 26.20% TypeScript 8.89%
developer-documentation developer-portal cloud-architecture markdown kubernetes terraform aws k8s kubectl helmfile helm helm-charts

docs's Introduction

Developer Documentation

Latest ReleaseSlack Community

Welcome to the Cloud Posse Developer Hub Documentation Portal.

All documentation is published to docs.cloudposse.com. Here you'll find comprehensive guides and documentation to help you start working with the Cloud Posse technology stack as quickly as possible, as well as support if you get stuck.

Let's jump right in! Here's how to get started with our documentation.

Usage

  1. Build dependencies
make all
  1. Start local web server
make start

Makefile Targets

Available targets:

  help                                Help screen
  help/all                            Display help for all targets
  help/short                          This help short screen

Related Projects

Check out these related projects.

  • Geodesic - Geodesic is the fastest way to get up and running with a rock solid, production grade cloud platform

✨ Contributing

This project is under active development, and we encourage contributions from our community.

Many thanks to our outstanding contributors:

For πŸ› bug reports & feature requests, please use the issue tracker.

In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.

  1. Review our Code of Conduct and Contributor Guidelines.
  2. Fork the repo on GitHub
  3. Clone the project to your own machine
  4. Commit changes to your own branch
  5. Push your work back up to your fork
  6. Submit a Pull Request so that we can review your changes

NOTE: Be sure to merge the latest changes from "upstream" before making a pull request!

🌎 Slack Community

Join our Open Source Community on Slack. It's FREE for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally sweet infrastructure.

πŸ“° Newsletter

Sign up for our newsletter and join 3,000+ DevOps engineers, CTOs, and founders who get insider access to the latest DevOps trends, so you can always stay in the know. Dropped straight into your Inbox every week β€” and usually a 5-minute read.

πŸ“† Office Hours

Join us every Wednesday via Zoom for your weekly dose of insider DevOps trends, AWS news and Terraform insights, all sourced from our SweetOps community, plus a live Q&A that you can’t find anywhere else. It's FREE for everyone!

License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

This material may only be distributed subject to the terms and conditions set forth in the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License or later with the restrictions noted below (the latest version of the license is presently available at https://creativecommons.org/licenses/by-nc-sa/4.0/).

Attribution You must attribute the work in the manner specified by the author or licensor.

Noncommercial The licensor permits others to copy, distribute and transmit the work. In return, licensees may not use the work for commercial purposes β€” unless they get the licensor's permission.

Share Alike The licensor permits others to distribute derivative works only under the same license or one compatible with the one that governs the licensor's work.

Distribution

Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder.

Distribution of the work or derivative of the work in any standard (paper) book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder.

Trademarks

All other trademarks referenced herein are the property of their respective owners.


Copyright Β© 2017-2024 Cloud Posse, LLC

README footer

Beacon

docs's People

Contributors

aknysh avatar alebabai avatar benbentwo avatar dependabot[bot] avatar drnickiw avatar dudymas avatar dylanbannon avatar finnsky avatar goruha avatar gowiem avatar gruggiero avatar hairyhenderson avatar joshmyers avatar korenyoni avatar max-lobur avatar milldr avatar nuru avatar osterman avatar sarkis avatar srhopkins avatar tamsky avatar vadim-hleif avatar yonch avatar zdmytriv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Only Deploy on Tagged Releases

what

  • Do not deploy to S3 for every merge to master

why

  • This will trigger algolia reindexing
  • Not all changes (e.g. Updating README.md) require redeployment

Document Common CI/CD Timeout Error

what

"chart-repo" has been added to your repositories                                                                                
exec: helm repo update --kube-context us-west-2-staging-example-co                                                                
Hang tight while we grab the latest from your chart repositories...                                                             
...Successfully got an update from the "cloudposse-incubator" chart repository                                                  
...Successfully got an update from the "stable" chart repository                                                                
...Successfully got an update from the "chart-repo" chart repository                                                            
Update Complete. ⎈ Happy Helming!⎈                                                                                              
exec: helm upgrade --install ch38827-app chart-repo/app --version 1.0.0-sha.1dd6919 --namespace ch38827 --values /code
fresh/volume/app/config/ch38827-app.yaml --wait --timeout=600 --recreate-pods --force --reset-values --kube
-context us-west-2-staging-example-co                                                                                             
Error: UPGRADE FAILED: timed out waiting for the condition                                                                      
err: exit status 1                                                                                                              
[SYSTEM] Error: Failed to run freestyle step: Deploy app with helmfile; caused by NonZeroExitCodeError: Container for step 
title: Deploy app with helmfile, step type: freestyle, operation: Freestyle step failed with exit code: 1                  

why

  • in my experience, that always happens when a pod is failing
  • basically helm --wait will wait until a successful rollout
  • since the pod is failing, it's never successful, so it ends up failing after the timeout window (edited)
  • start by inspecting the pods status / logs to see what's going on

Implement Algolia Search

what

  • Implement algolia instant search like the one on readme.io

why

  • Default docdock search is insufficient

Add AMP & Schema.org

Duplicate Page Titles

what

  • Google Webmaster Tools says that our titles are not unique

why

  • I think our theme might not be correctly settign the <title/> tag for the pages

image

CI/CD of Documentation Portal

what

  • Create docs project in prod.cloudposse.org
  • Use CodeFresh pipeline
    • make build
    • aws s3 sync --acl public-read --delete --exact-timestamps public/ s3://...../
  • Update badge in README.md

why

  • Publish documentation

Document Secrets Management

what

  • Ability to view or change secrets?
  • How do we audit access and changes to secrets?
  • Updating chamber secrets on console
  • Updating chamber secrets on web
  • Updating charts that use secrets

See #20 (by @Nuru)

Document Goofys Usage with Kubernetes

what

  • Document how to use goofys as a sidecar container in kubernetes

why

  • Useful for certain kinds of services that simple object storage but only work with POSIX-style filesystems

example

apiVersion: v1
kind: Pod
metadata:
  name: example
spec:
  restartPolicy: Never
  imagePullSecrets:
    - name: dockercfg
  volumes:
  - name: s3-mount
    emptyDir: {}

  containers:
  - name: nginx-container
    image: nginx
    volumeMounts:
    - mountPath: /data:slave
      name: s3-mount
      mountPropagation: Bidirectional      

  - name: goofys
    env:
    - name: MOUNT_DIR
      value: /vortex-artifacts
    - name: BUCKET
      value: eg-example-data
    - name: REGION
      value: us-west-2
    - name: DIR_MODE
      value: "0777"
    - name: FILE_MODE
      value: "0777"
    image: cloudposse/goofys
    imagePullPolicy: Always
    resources: {}
    securityContext:
      privileged: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /data:shared
      name: s3-mount
      mountPropagation: Bidirectional

Add Support for Redirect Front Matter

what

  • Add a redirect front matter parameter

why

  • Support redirecting offsite. This is different that alias

example

<!DOCTYPE html>
<html>
  <head>
    <title>https://someothersite.com/posts/my-intended-url</title>
    <link rel="canonical" href="https://someothersite.com/posts/my-intended-url"/>
    <meta name="robots" content="noindex">
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta http-equiv="refresh" content="0; url=https://someothersite.com/posts/my-intended-url"/>
  </head>
</html>

related

GitHub Rate Limits Fail Builds

what

  • Due to our heavy dependency on assets on GitHub, we're (probably) getting rate limited

image

why

  • I think it's because the size of our documentation has increased so that now we reached the threshold

Cheat Sheet

what

  • Document a cheat sheet for things like where we are storing secrets and how to change them, how to scale up and down or tweak auto-scaling, where our dashboards are, what the various repos you created are for

(requested by @Nuru from PopChest)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.