Reputation: 16568
I have an EB environment setup and an ExpressJS application running fine on it. I'm planning to abstract it with AWS API Gateway, such that certain missing features (for example, caching) on my current Beanstalk environment will be automatically filled in by the API Gateway.
Now, I have created an API on API Gateway console, and I'm confused how to create and configure the Service Proxy Execution Role as well as the Managed Policies that needs to be associated. How to generate this resources and create a correct Role ARN, and what ActionName/Path Overrides to use? Following is the integration details.
Upvotes: 2
Views: 3699
Reputation: 4152
You would use AWS Service Proxy to interact with the Elastic Beanstalk "control plane" API .
In this case, to call your ExpressJS backend you would set up an HTTP integration, and use the ELB DNS name for your Elastic Beanstalk application, plus the express route, as the integration URI.
Hope this helps, Ryan
Upvotes: 3