- Create a Jupyter Notebook instance clicking one of the launch stack buttons
AWS Region | Button |
---|---|
us-east-1 |
- Sign in to the AWS Management Console with your IAM user name and password. You will get a screen like this:
- Click on Template source >> Upload a template file, and the Choose File button.
- Upload the cf-jupyter-notebook.yaml CloudFormation template located in the cftemplate directory of this project
- Click the next button in the Create Stack Page
- Set the Stack name as you prefer, and click on the Next button
- Click the Next button in the Configure stack options
- In the review page, scroll down and acknowledge the IAM resource creation and click on the Create Stack button
-
After the stack creation finishes, go to the Outputs section, and click on the link corresponding to the value of the NotebookInstanceName Key
-
Click the Open Jupyter Button
-
In the Jupyter notebook, Click on New > Terminal, and switch to the terminal tab created in your browser
-
Type the following commands:
sh-4.2$ cd Sagemaker sh-4.2$ git clone https://github.com/aws-samples/textract-visual-removal.git
- Go to the home page of your Jupyter notebook and browse to the textract-preprocessor directory
- Open the Jupyter notebooks inside this directory to run the detailed options mentioned in the Blog Post
- After you finished your tests, just got to CloudFormation, select the name of the stack created on the Step 6 of the first section, and click on the Delete button.
- Confirm the Stack deletion clicking on the Delete stack button