Hey Guys,
Trying to setup a Snowplow mini instance and running into some snags. Each time I get the instance up and running, but can’t seem to get the Swagger UI setup correctly.
Also, I should mention I’m a product guy with a decent amount of technical knowledge, but don’t work much with AWS, so apologies if I’m missing assumptions more technical folks make : ) Thanks in advance for your patience.
I’m thinking that it has something to do with the security group setup (mine below):
Steps to repro:
- Launch instance according to setup guide
- After instance launches, I’m allocating and associating an elastic IP address to the instance since eventually I’d like to point a subdomain there ie data.ourcompany.com -> elastic IP
- I’m able to change the basic auth and upload an API key just fine. Refresh browser and login with new credentials
- I then get to this step: https://github.com/snowplow/snowplow-mini/wiki/Usage-guide#26-setting-baseurl-for-swagger-ui-optional
- Download the default Iglu Server Config file and make the following changes:
repo-server {
interface = “{{elastic_ip}}”
baseURL = “{{elastic_ip}}/iglu-server”
port = 8081
}
- Upload the conf file via the UI - no errors
- I then click the link which resolves to http://{{elastic_ip}}/iglu-server/
Expected:
Swagger UI renders
Actual:
Get a 502 Bad Gateway response
Any help much appreciated! Excited to get this up and running.