Author:
Fluent Commerce
Changed on:
31 Jan 2024
Attached to this page is the “connectors.yaml” template which is used to create Cloudformation Stack for the Connectors API. The resulting stack deploys ECS Fargate containers that run the API and produce a public endpoint. This public endpoint is secured with an SSL certificate which is applied to the Application Load Balancer.
The template provided here is a sample and may not work as is for all AWS accounts. It is also important to consider your company's requirements and adapt as necessary. This is not a production-ready template.
To successfully deploy the stack, certain prerequisites should be in place. These are listed below:
When manually deploying the template through the Cloudformation console, you need to provide several Parameters applicable to your environment.
Note: There will be a few Parameters with default values. The environment-specific ones have been enclosed in angle brackets. You can replace these with the values specific to your environment.
After successful deployment of the stack, you can get the public endpoint by going to the “Outputs” tab on the stack. It will be listed next to “ConnectorsPublicURL” logical resource name.
There are 3 key endpoints provided as part of the commercetools Connector:
As the connector has a web server running, if not secured or made private, it will respond to any HTTP requests, and when the resource is not found, it returns a blank with a 404 code. It is not necessary to secure the connector with a security layer such as Spring Security. Limiting the public URLs through CloudFormation should be sufficient.
If new custom endpoints are added to the connector, then the need for a security layer needs to be reconsidered.
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.