Powered by Zoomin Software. For more details please contactZoomin

Run on Amazon Web Services (AWS)

Creating a CloudFormation Stack using the AWS Command-Line Interface

Creating a CloudFormation Stack using the AWS Command-Line Interface

  • Last Updated: April 14, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 10.0
    • Documentation

In addition to using the AWS CloudFormation console, you can use the AWS CloudFormation command line interface (CLI) to create a CloudFormation stack. The AWS CloudFormation CLI is described in AWS Command Line Interface.

Note:

The AWS command line tools do not work with spaces for CloudFormation parameter values. Any parameter values containing a space will result in an error.

The list of CLI commands are documented in Create, update, and delete CloudFormation stacks with the AWS CLI and PowerShell.

The following is a summary on how to create a stack using the AWS CloudFormation CLI:

  1. Install and configure AWS CloudFormation CLI environment for your system, as described in Install or update to the latest version of the AWS CLI.

  2. Call the cfn-create-stack function() with similar parameters as shown in Creating a CloudFormation Stack Using the AWS Console. In addition, you must include the parameter: --capabilities "CAPABILITY_IAM", as described in AWS CloudFormation Sample Templates - AWS GovCloud (US) region.

  3. The cfn-create-stack function runs asynchronously, so it will return an id for the stack before the stack is created. You can use the cfn-describe-stack-events command with the stack id to check the status of your stack.

  4. Once the stack is created, you can use the fn-describe-stacks function to obtain the URL to the MarkLogic Admin Interface.

TitleResults for “How to create a CRG?”Also Available inAlert