Code Monkey home page Code Monkey logo

cloud-objects's Introduction

cloud-objects Go

Generic Cloud Service Object C(R)UD Representation

This repository hosts a generic abstraction of Cloud Service Objects into golang CRUD instances.

Currently following Objects are implemented:

AWS

Amazon Web Service Supported Resources
IAM
  • Group
  • Policy
  • PolicyAttachment
  • Role
  • User
RDS
  • DB Instance
  • DB SubnetGroup
KMS
  • Key

RDS

Following types are currently supported:

  • DB Instance
  • DB Subnet Group

As this cloud object library attempts to provide "simple" C(R)UD interactions on these objects there is opinionated logic attached to RDS instance handling.

RDS Instance

On initial instance creation, an KMS Key will be created. If storage encryption has been enabled, this key will be used to encrypt.

On deletion a final DB snapshot will be taken, and unless a user selects the "purge" option, the key and snapshot will remain.

On creation of an instance with the same name, the library will check for existance of key and snapshot and will restore the snapshot. If the user opts to disable the restoration option, an error will be given on creation. (A user will have to manually clean the snapshot and maybe even the key. This is equal to selecting "purge" on delete.)

Summary:

  • A DB will always store a snapshot on delete
  • A DB will always restore if snapshot and encryption key detected
  • A DB has to be purged to completely be deleted

cloud-objects's People

Contributors

redradrat avatar

Watchers

 avatar  avatar  avatar

cloud-objects's Issues

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.