Create your first project
A project is a means to explore and analyze data from a Jupyter notebook.
Each project has a Git repository. Learn why.
For your first project, using data we provide, you'll complete this simple workflow:
- Create the project
- Deploy the engine
- Connect to the data and run a workload
- Suspend the engine
Before you begin
-
Your AI Unlimited admin is the person at your organization who set up AI Unlimited. From your admin, get these items:
-
The IP address or hostname of the AI Unlimited manager.
-
These environment variables:
- AWS
- Azure
AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
, andAWS_SESSION_TOKEN
ARM_SUBSCRIPTION_ID
,ARM_CLIENT_ID
, andARM_CLIENT_SECRET
-
-
From your profile, get your API key.
-
To run the sample workload, you'll need the
salescenter.csv
file. Download the file from the AI Unlimited GitHub repository, and upload it to your Amazon Simple Storage Service (S3) or Azure Blob Storage location. Or if you're using your own file, modify the example accordingly.
Connect, and run your first workload
Run %help
for details on all the magic commands available in your notebook. Run %help <command>
for details on one of them.
Or learn about the magic commands specific to AI Unlimited.
-
Connect to JupyterLab, open a notebook, and select the AI Unlimited kernel.
-
Connect to the manager.
-
Create the project.
-
Create an object store authorization to store the cloud service provider credentials.
Replace
ACCESS_KEY_ID
,SECRET_ACCESS_KEY
, andREGION
with your values. -
Deploy the engine.
The size can be small, medium, large, or extralarge. The default is small. See AWS or Azure pricing information.
The deployment process takes a few minutes. It generates a password.
-
Connect to the project.
When the connection is made, provide the generated password.
-
Run the sample workload.
NoteMake sure you do not have tables named SalesCenter or SalesDemo in the selected database. Replace
Authorization_Name
and thesalescenter.csv_file_location
values in the following example with your own values.a. Create a table to store the sales center data.
b. Verify that the data was inserted.
c. Create a table with the sales demo data.
d. Verify that the sales demo data was inserted successfully.
Open the Navigator for your connection and verify that the tables were created. Run a row count on the tables to verify that the data was loaded.
e. Chart the data to visualize the result.
Provide X and Y axes for your chart.
f. Drop the tables.
-
Back up your project metadata and object definitions (the schema) in your Git repository.
This backs up your project, but it does not suspend the engine.
-
Suspend the engine to avoid paying for unneeded engine resources.
This backs up your project and suspends the engine. Typically you will not use
%project_backup
immediately followed by%project_engine_suspend
.
Congratulations! You've run your first workload.