Run Curity Identity Server on AWS (AMI)

Run Curity Identity Server on AWS (AMI)

tutorials

Introduction

In this tutorial we will use the official AMI of the Curity Identity Server to run the server in an EC2 instance in AWS.

Finding the correct AMI

In the AWS console, navigate under EC2 AMIs and search for a public image with the name Curity Identity Server.
You will be presented with a list of images, sort them by creation date and select the Curity Identity Server version that you want to deploy.

AMI Owner Must be Curity

The AMI's owner must be 536652696790, which is Curity's AWS account ID

Launching a single Instance

Select the AMI you want to deploy and click Launch. Follow the wizard by selecting an Instance Type, configuring the Instance Details and adding Tags and Storage (no extra storage is mandatory). In Step 6 of the wizard, where you setup the Security Group, add two rules for the ports 6749 and 8443 which are the ports the Curity Identity Server uses by default to serve the Admin UI and Runtime services. Complete the wizard and wait for your Instance to start. You will be asked to either generate or use an existing SSH keypair which you will need later.

Accessing the Admin UI

First, note your instance's IP or public DNS from the Instances page in the AWS console. In order to access the Admin UI, you will need the admin account's password. By following the process described so far, the password is generated and saved in a file in the EC2 Instance. In order to find the password, you will need SSH access to the EC2 Instance.

1
ssh -i ssh-key.pem idsvr@<IP_OR_DNS>

Once you are in the instance's shell, you will find a file named curity_admin_password in the home directory of the idsvr user.

1
cat curity_admin_password

The output should look like this:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Welcome to Curity Identity Server
You can login to the admin UI in port 6749 using the credentials below

#################################################
#             Curity Identity Server            #
#          username: admin                      #
#          password: xxxxxxxxxxxxxxxx           #
#################################################

It is advisable that you change the admin password as soon as you login to the server and delete this file.

Then navigate in your browser to the URL https://<IP_OR_DNS>:6479/admin, use the username and password from the previous output in order to login to the Admin UI.

It is recommended that you change your admin password before performing any other changes.

Summary

Now Curity is up and running in an EC2 Instance but without any configuration. The next step is to setup the basic profiles and services.

CloudFormation Tutorial

You can also find a more advanced tutorial with AWS CloudFormation here

Let’s Stay in Touch!

Get the latest on identity management, API Security and authentication straight to your inbox.

Was this page helpful?