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
Displays path of the configuration file that has full cluster configuration. Though not necessary it is possible to manually edit that file with customizations.
$ sage terminate
Terminate cluster. This operation terminates all cluster nodes matching tags tuple of Company, Owner, Service.
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.35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c42eacfd02a6d5d9cf509e44a0f7ae813cb3f1797f4f3ffd8d47c2debe56640 |
|
MD5 | 7c3213a477df00426a60520d9b704009 |
|
BLAKE2b-256 | 8d956e9b8082dceb69e0fb978646c2b61e4f8da718f08b2200c2111d1a274039 |