Using the Neptune ML Amazon CloudFormation template to get started quickly in a new DB cluster
The easiest way to get started with Neptune ML is to use the Amazon CloudFormation quick-start template. This template installs all necessary components, including a new Neptune DB cluster, all the necessary IAM roles, and a new Neptune graph-notebook to make working with Neptune ML easier.
To create the Neptune ML quick-start stack
-
To launch the Amazon CloudFormation stack on the Amazon CloudFormation console, choose one of the Launch Stack buttons in the following table:
Region View Launch US East (N. Virginia) View
US East (Ohio) View
US West (N. California) View
US West (Oregon) View
Canada (Central) View
South America (São Paulo) View
Europe (Stockholm) View
Europe (Ireland) View
Europe (London) View
Europe (Paris) View
Europe (Frankfurt) View
Middle East (Bahrain) View
Middle East (UAE) View
Israel (Tel Aviv) View
Africa (Cape Town) View
Asia Pacific (Hong Kong) View
Asia Pacific (Tokyo) View
Asia Pacific (Seoul) View
Asia Pacific (Singapore) View
Asia Pacific (Sydney) View
Asia Pacific (Mumbai) View
China (Beijing) View
China (Ningxia) View
Amazon GovCloud (US-West) View
On the Select Template page, choose Next.
On the Specify Details page, choose Next.
On the Options page, choose Next.
-
On the Review page, there are two check boxes that you need to check:
The first one acknowledges that Amazon CloudFormation might create IAM resources with custom names.
-
The second acknowledges that Amazon CloudFormation might require the
CAPABILITY_AUTO_EXPANDcapability for the new stack.CAPABILITY_AUTO_EXPANDexplicitly allows Amazon CloudFormation to expand macros automatically when creating the stack, without prior review.Customers often create a change set from a processed template so that the changes made by macros can be reviewed before actually creating the stack. For more information, see the Amazon CloudFormation CreateStack API.
Then choose Create.
The quick-start template creates and sets up the following:
A Neptune DB cluster.
The necessary IAM roles (and attaches them).
The necessary Amazon EC2 security group.
The necessary SageMaker AI VPC endpoints.
A DB cluster parameter group for Neptune ML.
The necessary parameters in that parameter group.
The Neptune-Export service.
You can also use the following Amazon CLI command to run the quick-start Amazon CloudFormation template:
aws cloudformation create-stack \ --stack-name neptune-ml-fullstack-$(date '+%Y-%m-%d-%H-%M') \ --template-url https://aws-neptune-customer-samples.s3.amazonaws.com/v2/cloudformation-templates/neptune-ml-nested-stack.json \ --parameters ParameterKey=EnableIAMAuthOnExportAPI,ParameterValue=(true if you have IAM auth enabled, or false otherwise)\ ParameterKey=Env,ParameterValue=test$(date '+%H%M')\ --capabilities CAPABILITY_IAM \ --region(the Amazon region, like us-east-1)\ --disable-rollback \ --profile(optionally, a named CLI profile of yours)