This page provides instructions for creating a Datomic Cloud System via the AWS Marketplace template. If you are upgrading or managing templates manually, see first upgrade.
Before you can run Datomic Cloud, you must have:
- An AWS Account That Only Supports EC2-VPC
- An EC2 Key Pair
To run Datomic Cloud, currently you must have an AWS Account that supports only EC2-VPC in the region in which Datomic Cloud runs. If you created your AWS Account on or after Dec 4, 2013, you should have a properly configured account that only supports EC2-VPC.
If you created your AWS Account prior to Dec 4, 2013, or if you are unsure when you created your account, you should verify that you have an EC2-VPC only region prior to going through the getting started instructions.
If you do not already have an EC2 Key Pair, create one from the EC2 Key Pair console .
- Click the Create Key Pair button
- Enter a name for your new Key Pair. Take note of this name–You will need it when you create your system.
- Press the Create button
- Save the downloaded certificate (.pem) file for later use
- From a terminal window run:
chmod 400 <path-to-your-pem-file>
Replacing <path-to-your-pem-file> with the path to the .pem file you downloaded in step 4.
Follow these steps from the Datomic listing on AWS Marketplace:
- Click the Continue to Subscribe button
- On the next page click the Accept Terms button to subscribe
- Wait until your subscription is confirmed with a message in the green status bar:
- Click the Continue to Configuration Button
- Choose a Fullfillment Option. First-time users should choose the "Solo" topology.
- Choose a Version and an AWS Region from the drop down menus.
- Click the Continue to Launch button.
- Select "Launch CloudFormation" from the the drop down menu and click the Launch button.
- Under "Choose a Template", select the "Specify an Amazon S3 template URL" option. The URL field will be pre-populated for you.
- Click the Next button
Fill in the template's parameter values as specified below.
- Stack Name
- Choose a name for your system. Use only lowercase letters, numbers, and hyphens. Your system name gets concatenated in various contexts and so should be kept short, e.g. fewer than 24 characters.
- Start bastion?
- Set this to "Yes" so that the template will start a bastion for developer internet access. You will need to authorize access to the bastion instance in a later step.
- AWS EC2 Key Pair
- The key pair to assign to compute nodes. Select a key pair for ssh access to nodes and the bastion host.
- Application Name
- Leave this blank to create an application with the same name as the system.
- Reuse existing storage on create
- Set this to "False".
This CloudFormation Template creates a VPC in which to run Datomic Cloud. Configure the settings for the VPC in the VPC Configuration section. See the AWS VPC Guide for details on specifying the CIDR blocks. Unless you know you need to change the CIDR block settings, you should accept the default configuration.
- VPC CIDR block
- The CIDR block to assign to the VPC. Accept the defaults.
- First, Second, and Third CIDR Blocks.
- Datomic will configure three subnets in the VPC. These three CIDR Blocks must be subsets of the VPC CIDR Block, and they must not overlap with each other. Accept the defaults.
- Existing IAM managed policy for node
- Optional. The name of an IAM managed policy to add to the role that group nodes run with. Leave blank.
Click the Next button.
- Leave the default settings
- Click the Next button.
- Under "Capabilities", click the checkbox stating "I acknowledge that AWS CloudFormation might create IAM resources with custom names."
- Click "Create" to launch the stack.
Your Datomic system will have a Cloudwatch dashboard named datomic-$(System)-$(Region). Open the CloudWatch dashboards and refresh the window until your dashboard appears. This can take several minutes.
If your dashboard does not appear after 15 minutes, check for a possible CloudFormation failure.
Once your dashboard is visible, click on it and find the "Alerts, Events" widget. If this shows zero Alerts and nonzero Events, your system is ready to go.
Next: Now you are ready to Configure User Access.