Overview
Search
⌃K
Links

Deploy a DuploCloud Portal in AWS

Deploy a DuploCloud management portal with Amazon Web Services
Use this procedure to create an initial DuploCloud Portal deployment using AWS.

Prerequisites

Before you begin to create your deployment:

Create a CloudFormation stack

You use CloudFormation to create an initial deployment.
  1. 1.
    Navigate to Services and select CloudFormation.
  2. 2.
    Select Create stack - with new resources (standard).
  3. 3.
    In the Prerequisite - Prepare template section, select Template is ready.
  4. 4.
    In the Specify template section, select Amazon S3 URL as the template source.
  5. 6.
    Click Create.
After creating the stack, an EC2 instance is initiated in the AWS account using the associated AMI. The following table lists available AMIs based on the region that you target for the deployment:
Region
AMI ID Value
ap-northeast-1
ami-0191c10b498d55752
ap-south-1
ami-0a41b5b9007e7f4cb
ca-central-1
ami-06e07d062e55ce3ca
eu-west-2
ami-0a568fd865d942af7
us-east-1
ami-019850d7e75ef6461
us-east-2
ami-00a7dd0e0dbecb276
us-west-1
ami-0bbbdc1ed9dbe79e3
us-west-2
ami-00af8b024a7f2935e

Specify CloudFormation stack parameters

In the Specify Stack Details screen, set the following stack parameters:
  • Stack Name: duplo-root-stack
  • MasterAmiId: Select a value from the table in Step 2, based on your region.
  • ENABLEBASTION: NO
  • SetupUrl: The URL you plan to use for your environment. For example: https://[ENVIRONMANT-NAME].mydomain.com
  • DUPLODNSPRFX: Use the format ${ENVIRONMANT-NAME}-apps.mydomain.com
  • DefaultAdmin: Your email address, as the first Administrative User.
  • ENABLEJITAWSADMINAPI: true
When you have specified all stack parameters, click Next to specify stack failure options.

Specify stack failure options

In the Stack Failure Options screen, set stack failure options.
  1. 1.
    Select Preserve successfully provisioned resources.
  2. 2.
    Click Next.
You are ready to create the stack.

Create the stack

After you have specified all parameters and options, create the stack.
  1. 1.
    In the Review page, verify the settings you entered for stack creation.
  2. 2.
    In the Capabilities dialog, select both Acknowledgments checkboxes.
  3. 3.
    Click Next to execute and create the stack.
Creating the stack takes between 10 to 15 minutes. Your CloudFormation Stack output is generated. You will need values from this output to create your deployment.

OpenVPN Subscription (optional)

While the stack is launching, take time to subscribe to the OpenVPN Access Server AWS Marketplace offering to be aware of all important news and communications.

Set up DNS entries

To set up DNS entries for your DuploCloud deployment, you must collect these values from the generated CloudFormation Stack output.
  • AuthELBDNS
  • AppDnsNameServers
Navigate to your DNS provider account where [MY-DOMAIN].com is managed and do the following.
  1. 1.
    Add a CNAME record for Name, using the value ofSetupUrl, which you previously specified.
  2. 2.
    Add a CNAME record for Value, using the value of AuthELBDNS, which you previously collected from the generated CloudFormation Stack output.
  3. 3.
    Add an NS record for Name, using the value of DUPLODNSPRFX, which you previously specified.
  4. 4.
    Add an NS record for Value, using the value of the nameservers collected by AppDnsNameServers from the generated CloudFormation Stack output.
  5. 5.
    Use https://mxtoolbox.com/DnsLookup.aspx to validate these records.

Enable Single Sign On (SSO)

Contact DuploCloud Support to enable Single Sign-On (SSO) for your deployment using Google SSO or Microsoft Account Login.

Confirm Access to DuploCloud Portal

Navigate to the DuploCloud Portal URL in your browser and confirm you can authenticate. If you have problems, contact DuploCloud Support.