Create an Amazon Braket notebook instance
Tip
Learn the foundations of quantum computing with AWS!
Enroll in the Amazon Braket Digital Learning Plan
Amazon Braket provides fully managed Jupyter notebooks to get you started. The Amazon Braket notebook instances are based on Amazon SageMaker AI notebook instances. The following steps outline how to create a new notebook instance for new and existing customers.
New Amazon Braket customers:
-
Open the Amazon Braket console
and navigate to the Dashboard page in the left pane. -
Click Get Started on the Welcome to Amazon Braket modal in the center of your dashboard page. Provide a notebook name to create a default Jupyter notebook.
It may take several minutes to create your notebook.
Your notebook will be listed on the Notebooks page with a status of Pending.
When your notebook instance is ready to use, the status changes to InService.
Refresh the page to display the updated status for the notebook.
Existing Amazon Braket customers:
-
Open the Amazon Braket console
and select Notebooks in the left pane. -
Select Create notebook instance.
-
If you have zero notebooks, select the Standard setup to create a default Jupyter notebook.
-
-
Enter a Notebook instance name, using only alphanumeric and hyphen characters, and select your preferred Visual Mode.
-
Enable or disable the Notebook inactivity manager for your notebook.
-
If enabled, select the desired idle duration time before the notebook is reset. When a notebook is reset, the compute charges stop incurring, but the storage charges will continue.
-
To check how much idle time remains for your notebook instance, navigate to the command bar, select the Braket tab, and then the Inactivity Manager tab.
Note
To save your work, integrate your SageMaker AI notebook instance with a Git repository. Alternately, move your work outside of the
/Braket Algorithms
and/Braket Examples
folders so they are not overwritten by the notebook instance restarting. -
-
(Optional) With Advanced setup, you can create a notebook with access permissions, additional configurations, and network access settings:
-
In Notebook configuration choose your instance type.
-
The standard, cost-effective instance type, ml.t3.medium is chosen by default. To learn more about instance pricing, see Amazon SageMaker AI pricing
.
-
-
To associate a public Github repository with your notebook instance, click on the Git repository dropdown and select Clone a public git repository from url from the Repository dropdown menu. Enter the URL of the repo in the Git repository URL text bar.
-
In Access permissions, configure any optional IAM roles, root access, and encryption keys.
-
In Network access, configure custom network and access settings for your Jupyter Notebook instance.
-
-
Review your settings, and set any tags to identify your notebook instance. Click Launch.
Note
View and manage your Amazon Braket notebook instances in the
Amazon Braket and Amazon SageMaker AI consoles. Additional
Amazon Braket notebook settings are available through the SageMaker console
If you are working in the Amazon Braket console within AWS the Amazon Braket SDK and plugins are preloaded in the
notebooks you created. To run on your own machine, install the SDK
and plugins when you run the command pip install amazon-braket-sdk
or when you
run the command pip install amazon-braket-pennylane-plugin
for PennyLane plugins.