Tutorial | Deploy a Dataiku instance to Cloud Stacks on AWS#

In this article, we’ll walk through a step-by-step process to set up and deploy an instance of Dataiku using Dataiku Cloud Stacks for AWS.

Deploying a Dataiku instance is a three-step process:

  • Gather information

  • Deploy Fleet Manager

  • Deploy a first instance

We’ll use an AWS CloudFormation template for deploying Dataiku Fleet Manager. Then, we’ll use Fleet Manager to deploy our first Dataiku instance.

Fleet Manager handles the entire lifecycle of Dataiku instances, freeing you from most administration tasks. A fleet is the collection of Dataiku resources such as nodes deployed together. A blueprint is a set of pre-configured instances or complete fleets.

At the end of this user guide, you’ll have set up a Dataiku Cloud Stack for AWS with Dataiku Fleet Manager and a single Dataiku Design node without Elastic AI capabilities.

Completing these steps will help you understand the basics of Fleet Manager so that you’ll be able to deploy more complex instances, including complete fleets.

Step 1. Gather information#

Gathering the necessary information up front will make the process run smoother. You can find the following information in your AWS environment or by contacting your network administrator. You’ll need this information to complete the CloudFormation template:

Minimum requirements#

To deploy a single Design node without Kubernetes (Elastic AI) capabilities, gather the following information:

  • Landing zone information, including the AWS account and region.

  • An AWS Identity and Access Manager (IAM) role dedicated to management of the underlying Dataiku Infrastructure-as-a-Service (IaaS). This role is only accessible to administrators. It owns the following:

    • Amazon EC2 permissions to create/delete/run instances, volumes, and snapshots

    • Amazon VPC permissions to create security groups

    • IAM permission to pass the Fleet Manager role to Dataiku Fleet Manager instances

  • An Amazon VPC with a CIDR /24 size with DNS support enabled

    • The requirements for deploying Elastic AI resources are different

  • An AWS keypair

  • Optional: Determine if you want a public or private IP address to access Fleet Manager.

Requirements for deploying with elastic AI capabilities#

If you want to go beyond the steps prescribed in this article and deploy a node with Kubernetes (Elastic AI) capabilities, gather the following additional information:

  • A dedicated IAM role for Fleet Manager for managing and interacting with elastic computation. This role is only accessible to administrators. It owns the following:

    • Amazon ECR permissions to push images

    • Permission to create and operate Amazon EKS clusters

  • An Amazon VPC with a CIDR /16 size with DNS support enabled

    • This replaces the requirements for deploying without Elastic AI

  • An Amazon VPC with two /20 subnets in different availability zones

Step 2. Set up and deploy Fleet Manager#

In this section, we’ll use a Dataiku AWS CloudFormation template to deploy a CloudFormation stack that contains the following infrastructure:

  • A Dataiku Fleet Manager VM including its storage, an instance profile, and a security group

  • An AWS IAM role for the purpose of creating a daily backup policy for Fleet Manager

The resources shown in the diagram are needed to set up and deploy Fleet Manager:


Complete the CloudFormation template#

To set up and deploy Fleet Manager, we’ll use an AWS CloudFormation template. The AWS template is a public S3 URL and is specific to a version of Fleet Manager. For example, for Fleet Manager v10.0.2, the URL is: https://dataiku-cloudstacks.s3.amazonaws.com/templates/fleet-manager/10.0.2/fleet-manager-instance.yml

To retrieve and upload the template:

  1. Open the AWS CloudFormation console.

  2. Choose Create stack > With new resources (standard).

  3. Visit the installation documentation and then copy the Amazon S3 URL.

  4. In the Specify template section, enter the URL in Amazon S3 URL.

  5. Select Next.

Specify the stack details#

  1. On the Specify stack details page, enter the Stack name and parameters.

  2. Select Next.

Stack Details Guidelines

  1. In VPC id, enter the VPC ID where Fleet Manager will be deployed.

  2. In VPC CIDR, enter the CIDR of the VPC using “X.X.X.X/X” format.

  3. In Subnet Id, enter the subnet ID where Fleet Manager will be deployed.

  4. In IP addresses allowed to connect, enter to authorize TCP connection to Fleet Manager from anywhere, or enter your own IP address range.

  5. In SSH Key Pair, select an existing AWS SSH keypair that is allowed to connect to Fleet Manager.

  6. In Fleet Manager IAM Role, enter the name of your dedicated Fleet Manager IAM role.

  7. In Username, the default Fleet Manager username displays.

  8. In Password, enter a strong password for the Fleet Manager admin. You’ll use this password to access Fleet Manager and manage your Dataiku instances.

  9. In Instance type, specify the desired instance type for the Fleet Manager instance.

  10. In AssociatePublicIpAddress, specify whether or not you need a public IP address. Select true if you want a public IP address for connecting to Fleet Manager; otherwise, select false.


    If using a public IP address, you may need to consider how to secure it.

  11. Optionnally:

    • Leave Restore from this SnapshotID empty unless migrating or upgrading from a snapshot. “Null” is the default setting for a new installation.


      To migrate or upgrade from a snapshot, enter the snapshot ID of the data volume of the existing Fleet Manager.

    • In Volume encryption Key ID, specify a ​​custom KMS Key ID for the Fleet Manager disks.

Configure the stack options#

  1. In Tags, you can specify tags to apply to resources in your stack.

  2. Keep the default values for the remaining parameters.

  3. Choose Next.

Review and create the stack#

  1. On the Review page, review the details of your stack.

  2. Choose Create stack to launch the stack.


You are now ready to deploy your first instance of Dataiku.

Step 3. Deploy your first Dataiku instance#

Log in to Fleet Manager#

To connect to Fleet Manager, you’ll need to determine the Fleet Manager IP Address. To do this:

  1. In the AWS CloudFormation Console, navigate to the Stack details and open the Resources tab.

  2. Select the Physical ID for the instance.

  3. Copy the Fleet Manager IP address.

  4. Paste the IP address into your browser using the``https://`` prefix.

    For example, if your IP address is xx.x.xx.xx, you’ll type https://xx.x.xx.xx in your browser.

  5. Wait while Fleet Manager starts.

  6. Enter the administrator username and password you specified in the stack details.

The Dataiku Fleet Manager homepage displays.

Configure your Dataiku license#

To deploy a Dataiku instance, you’ll first need to configure your Dataiku license. One way to do this is by using the settings under Cloud setup.

  1. Under Settings, choose Cloud setup.

  2. Select Edit.

  3. In License mode, choose Manually entered.

  4. In License file, enter your license file. Be sure to copy the entire contents of the JSON file including the final ‘}’.

  5. Save your changes.

The license file now displays the license expiration date.

Deploy a Fleet blueprint#

Fleet blueprints allow you to deploy pre-configured instances or complete fleets with minimal setup. Fleet blueprints automatically create instances, instance setting templates, and virtual networks. Using Fleet blueprints you can deploy everything from a minimal design with a single Design node to a full fleet with Elastic AI capabilities.

In this section, we’ll deploy a single Design node without Kubernetes (Elastic AI) capabilities.

  1. Under Quick Start, choose Fleet blueprints.

  2. Choose Deploy Minimal Design.


    Fleet Manager displays the fleet configuration page.

  3. Enter a descriptive name for the fleet.

    • Follow your organization’s naming convention for network resources.

    • For example, admin-learning-dss-01.

    • This name is added to all deployed instances, instance templates and virtual networks.

  4. Optional: Add tags to tag your AWS resources.

  5. Select Deploy.

    Fleet manager deploys the fleet and lets you know that the fleet is ready for provisioning.

  6. Select OK.

  7. Return to the Fleet Manager homepage to view All instances.

You are now ready to provision the instance.

Provision the instance#

The Dataiku instance(s) you deployed using the blueprint are not yet available to Dataiku users. In this section, we’ll provision the instance.

Before provisioning any instance(s), you can specify configuration options, including the VM type and the name of the AWS objects, and add tags.

  1. From Instances, choose All and then locate the new instance.

  2. Select the name of the instance to view its settings.

    The status of the instance is Not provisioned.

  3. Navigate to the Settings tab of the instance.

    Each field is labeled to let you know if the change requires reprovisioning.

  4. If you made any changes, select Save.

You can now provision the instance to make it available to Dataiku users.

  1. Select the Save menu arrow to display the list.

  2. Choose Provision.

  3. Wait while Fleet Manager provisions the instance.

In the Fleet Manager homepage, you can see that the status of the instance has changed from Not provisioned to Running.

The resources deployed in the AWS resource group now look like this:


You are now ready to launch the Dataiku instance.

Launch Dataiku#

In this section, we’ll launch the Dataiku instance.

  1. From Instances, choose All and locate the newly provisioned instance.

  2. Select the name of the instance to view its settings.

The dashboard displays the following information:

  • The instance details, including the storage capacity

  • Settings templates

  • The VM’s Virtual network connection

  • Basic VM information

  • Agent logs

To launch Dataiku:

  1. Select Retrieve to retrieve the initial admin password.

  2. Copy the password. It will display only once.

  3. Select Go to DSS.

  4. Sign in with your admin username and password.

  5. Change the initial password.


You can manage the admin password by visiting the Administration menu in your Dataiku instance. Visit the Security tab and then select the admin user. In Change password, enter a new password.