dce

module
v0.33.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2020 License: Apache-2.0

README

Disposable Cloud EnvironmentTM

DCETM is your playground in the cloud

DCE helps you quickly and safely explore the public cloud by managing temporary AWS accounts.

Common use cases for a public cloud account include:

  • Developing, testing, or operating cloud networks and applications
  • Improving infrastructure utilization with autoscaling
  • Leveraging cloud-native developer tooling
  • Exploring data with analytical and machine learning services
  • And much more!

DCE users can "lease" an AWS account for a defined period of time and with a limited budget.

At the end of the lease, or if the lease's budget is reached, the account is wiped clean and returned to the account pool so it may be leased again.

Getting Started & Documentation

Deploy your own Disposable Cloud Environment by following the quickstart, also available on our documentation website:

dce.readthedocs.io

DCE CLI

The easiest way to get started with DCE is with the DCE CLI:

github.com/Optum/dce-cli

# Deploy DCE
dce system deploy

# Add an account to the pool
dce accounts add \
    --account-id 123456789012 \
    --admin-role-arn arn:aws:iam::123456789012:role/OrganizationAccountAccessRole

# Lease an account
dce leases create \
    --principal-id jdoe@example.com \
    --budget-amount 100 --budget-currency USD

# Login to your account
dce leases login <lease-id>

Contributing to DCE

DCE was born at Optum, but belongs to the community. Improve your cloud experience and open a PR.

Contributor Guidelines

License

Apache License v2.0

Directories

Path Synopsis
cmd
codebuild/reset
Package main is the Reset Pipeline used with CodeBuild under the Reset CodePipeline for an account
Package main is the Reset Pipeline used with CodeBuild under the Reset CodePipeline for an account
lambda/process_reset_queue
Package main sets the handler for the Trigger Reset AWS Lambda Function
Package main sets the handler for the Trigger Reset AWS Lambda Function
pkg
api
arn
db
scripts
migrations/v0.19.2_fix_expired_leases
Migration for v0.19.2 v0.19.0 included a bug in the `update_lease_status` lambda which set active leases to `LeaseStatus=Inactive, LeaseStatusReason=Expired` even if the `ExpiresOn` property was in the future.
Migration for v0.19.2 v0.19.0 included a bug in the `update_lease_status` lambda which set active leases to `LeaseStatus=Inactive, LeaseStatusReason=Expired` even if the `ExpiresOn` property was in the future.
tests
tools

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL