Package to provision and install architecture in AWS
Project description
SageCreator
Installation
Install and update using pip:
$ pip install sagecreator
Python is required and it is highly recommended to install and run the package in virtualenv. Supported in Python >= 3.5.0.
Prerequisites
AWS Account
To provision the cluster you need an AWS Account and IAM user either in Administrators group or with custom policy:
Access Key ID
Secret Access Key
Key pair (optional) - if not provided it will be generated and stored locally
Execution
After the installation, configure the tool by specifying configuration parameters:
$ sage configure
Access key id: <AWS Access Key ID>
Secret access key: <AWS Secret Access Key>
Company: <Name of your organization>
Owner: <Name of your team>
Private key file: <Absolute path to private key file> (optional, if not provided will be generated by the key pair)
$ sage provision
Service: <Name of your service>
Instance type [t3.small]: <Instance type> (optional, if not provided default t3.small will be used)
Spot instance price [0.1]: <Spot instance price> (optional, if not provided default price of $0.1 will be used)
Cluster size [1]: <Cluster size> (optional, if not provided default cluster with 1 node will be provisioned)
$ sage pwd
Terminate cluster. This operation terminates all cluster nodes matching tags tuple of Company, Owner, Service.
$ sage terminate
Jupyter access
Under the hood
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sagecreator-0.0.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845ecacf0593a5ac8053d2325b20ceacf24ba063bebbb44a0491d289b353658f |
|
MD5 | 6141ff58150daa7e816f2eb43e57e4b4 |
|
BLAKE2b-256 | a351d16e56e77edebd64ca6f1e945e864eb060edddee85f489215760c8a56cbb |