On this page you will learn how to connect your Gravitee Gateway to Obsidian step-by-step.
Overview of this Guide
Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
Prerequisites
The following is required to proceed:
A running instance of APIIDA´s API Control Plane
Access to the Amazon API Gateway Service with at least one API deployed in a stage
Docker to use the image of our agent (that acts as an intermediary)
Create a new Environment
To get started, simply open your API Control Plane instance and follow the instructions below.
Add an Environment for Gravitee
Navigate to “Environments” in the menu on the left side
Click on the “Create New Environment” button in the top right corner
Fill in the form (as exemplarily shown below)
...
Confirm by clicking on the "Create New Environment" button
Select your Provider
Choose your provider by clicking on it
Confirm by clicking on the "Next" button
You’ve completed the first step!
...
Include Page | ||||
---|---|---|---|---|
|
...
Provide the Gateway Information
...
You’ve completed the second step!
...
Include Page | ||
---|---|---|
|
...
|
...
The following describes how to create a Docker container for the agent. It is described using a Docker compose file so that additional agents can be easily added to your docker stack later.
...
image
: The docker image of the API Control Plane Agentcontainer_name
: You can freely choose the name of your Agent here as well as in line 3.environment
backendUrl
: The agent will establish a web-socket to this URL and thereby connect to your API Control Plane.gateway-config
: The path inside the container to the configuration you downloaded in step 2.
volumes
The outer path of the configuration file : The inner path of the configuration file
Click on “Download” to download your agent docker compose
Put both files in the same folder. Then run the following commands.
Code Block docker pull ghcr.io/apiida/obsidian-agent:latest
Download the latest image of the agent.
Code Block docker compose up
Starts the agent. It will connect automatically.
You’ve completed the third step!
|
...
Include Page | ||
---|---|---|
|
Head over to your API Control Plane instance
Select “Environments” in the menu on the left side
Your AWS Agent should now be connected to API Control Plane
Click on the tile or the entry in the table to get more detailed information about the status of the connection. This can be very useful in case of an error.
You’ve completed the last step!
You can now interact with your AWS Gateway through APIIDA´s API Control Plane.
Try it right now and discover your APIs!
💡 Tip: It is easy to add more agents!
...
|
...
Q&A
Expand | ||
---|---|---|
| ||
|