DEV Community

InterSystems Developer for InterSystems

Posted on • Originally published at community.intersystems.com

Walk through of deploying InterSystems API Manager (IAM) on AWS EC2

In this article, I am trying to walk through my deploying step of IAM on my EC2(ubuntu).

What is IAM?

IAM is InterSystems API Manager

you may reference to the link below to get more idea about IAM

https://docs.intersystems.com/components/csp/docbook/Doc.View.cls?KEY=PAGE_apimgr

generated description: apimgr description.jpg

 

Before deploying IAM

Check the license of your API host

Image description

Image description

 

Enable the User IAM

Image description

Image description

 

Deploy IAM

Reference 

https://community.intersystems.com/post/introducing-intersystems-api-manager

 

Download the image from the following link

https://wrc.intersystems.com/wrc/coDistGen.csp

I downloaded the following version to my pc

Image description

 

Upload the image to my EC2

I use the command scp to upload the image to my cloud

Image description

 

Make sure docker and docker compose are installed

If not, please reference to the following link

 https://docs.docker.com/engine/install/ubuntu/

 

Untar the image file

tar zpxvf IAM-3.0.2.0-4.tar.gz

Image description

 

Load the image into docker

sudo docker load -i iam_image.tar

Image description

 

Run the iam-setup.sh

source ./iam-setup.sh  

Image description

Image description

 

Edit the file : docker-compose.yml 

In order to let us visit the IAM UI from the environment outside the EC2, replace the localhost by the EC2 public address in the parameter KONG_PORTAL_GUI_HOST and KONG_ADMIN_GUI_URL

vi docker-compose.yml 

Image description

 

Start the container

sudo docker compose up -d

Image description

 

Check the IAM UI

You can access the UI of the IAM by the following link

http://yourEC2publicAddress:8002/overview

Image description

 

 

 

Top comments (0)