Article
· Mar 15, 2023 2m read

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

 

Enable the User IAM

 

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

 

Upload the image to my EC2

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

 

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

 

Load the image into docker

sudo docker load -i iam_image.tar

 

Run the iam-setup.sh

source ./iam-setup.sh  

 

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 

 

Start the container

sudo docker compose up -d

 

Check the IAM UI

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

http://yourEC2publicAddress:8002/overview

Discussion (2)1
Log in or sign up to continue