Skip to main content

# ProvisionPad [![Join the Community](https://img.shields.io/badge/Join%20the%20community-blueviolet.svg)](https://spectrum.chat/provisionpad/) [![Open Issues](https://img.shields.io/github/issues-raw/provisionpad/provisionpad.svg)](https://github.com/provisionpad/provisionpad/issues) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/provisionpad/provisionpad/blob/master/LICENSE)

[<img src=”https://i.ibb.co/88kHGrt/logo-1x.png” />](https://provisionpad.com/?ref=github)

ProvisionPad makes it easy to create and connect to cloud instances right from your termial.

This repo is open source and is one of the libraries that powers [ProvisoinPad](https://provisionpad.com/?ref=github). The hosted version provides advanced tools for monitoring usage and managing access to cloud resources across different teams.

Check out our [website](https://provisionpad.com/?ref=github) for more details and to sign up for Beta.

ProvisionPad takes care of all the tedious details of setting up secure EC2 instances and adding proper configuration to your local machine so you can start, stop and connect to your instances directly from your Terminal/editor.

  • Start and stop EC2 instances directly from your terminal without the hassle.

  • Use your local VS Code editor or Terminal to access, edit and run the code on EC2 instances.

  • Automatically stop inactive instances.

<img src=”https://i.ibb.co/KqgLQwf/terminal-border.png” />

## Prerequisites

  • AWS Access Key ID and Secret Access Key (See the last section if you don’t know how to get them)

  • Python installed locally

## Installing ProvisionPad Not published to PyPi yet

` git clone https://github.com/amirzed/provisionpad cd /path/to/cloned/directory pip install . `

## Getting Started

To initiate the environment:

` propad initiate `

After initiating the environment you can create an EC2 instance using:

` propad create `

To stop the instance: ` propad stop [instancename] `

To get a list of all your running/stopped instances: ` propad stat `

You can start a stopped instance using

` propad start [instancename] `

You can terminate a running instance using

` propad terminate [instancename] `

For more information on commands

` propad --help `

## Connecting to the Remote Host

To ssh into an instance simply use

` ssh [instancename] `

## Connecting through VS Code To connect to the instance using VS Code, install the [Visual Studio Code Remote Development](https://code.visualstudio.com/docs/remote/remote-overview).

Ctrl+Shift+P reload window then Ctrl+Shift+P Remote-SSH:Connect to Host and select the instance name from the menu

To access terminal on remote using VS Code simply use Ctrl+`

## AWS Cost Saving

Instances created with ProvisionPad will stop automatically after 20 minutes of low CPU activity, i.e. if the idle time percentage was over 98% and the gradient of CPU usage is less than 0.001. more options will be added

## How to get your AWS Access Key ID and Secret Access Key

If you don’t have AWS access credentials you can get them through AWS management console:

  • Log in to AWS management console

  • Click on user menu

  • Click on My Security Credentials

  • Section Access keys for CLI, SDK, & API access you can create one.

Before you can use/test this library you need to have AWS user account with the following permissions (You already have these permissions if you have root access (owner) or admin access to the AWS account.):

  • AmazonEC2FullAccess

  • IAMFullAccess

  • AmazonVPCFullAccess

## Contributing

Feel free to create issues or pull requests. More detailed guides are coming soon.

Metadata

Release files for testpropad 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for testpropad 0.0.2
File Size Uploaded Provenance
testpropad-0.0.2.tar.gz 17.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for testpropad 0.0.2
File Interpreter ABI Platform
testpropad-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.0 kB

Release files / testpropad-0.0.2.tar.gz

Download URL testpropad-0.0.2.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7f83443bd12e39e9b37d8dbe3fc7da627e6955ed2a5b9056e8c8a038ed0a2dab
BLAKE2b-256 checksum
How to use checksums
38d5403a147230f0f236f17b9261605c6e2a39e6b50911d67e1dfb47034563f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.2

Release files / testpropad-0.0.2-py3-none-any.whl

Download URL testpropad-0.0.2-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af3460ce3f14b2bbc90861621e1a1d3952cf262b7787c7f583ce2a7cf7532869
BLAKE2b-256 checksum
How to use checksums
15b76cd22e55dd33c52086747db13b8c6e064a4fbf66305c8ede02321c5aa201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.2

Security for testpropad 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page