configure load balancer for wso2 api manager 3.2.0 - wso2-api-manager

I have configured WAF load balancer for three api gateway server and now I also have two analytics server, how should access to analytics dashborad? should I configured another load balancer for access to analytics dashboard?
could you please guide me?

Related

GCP Proxy to insecure endpoint

I would like to send a request (https) to GCP get GCP to route that request to another (http) onsite endpoint
for example
request intiator: https://some.google.domain.com/some-path (contains body headers etc)
GCP receives this request and forward to
http://myonsitedomain.com/some-path (contains body headers etc)
Is there a solution for this or do I have to create a cloud function for this?
External HTTP(S) Load Balancing is a proxy-based Layer 7 load balancer that enables you to run and scale your services behind a single external IP address. External HTTP(S) Load Balancing distributes HTTP and HTTPS traffic to backends hosted on a variety of Google Cloud platforms (such as Compute Engine, Google Kubernetes Engine (GKE), Cloud Storage, and so on), as well as external backends connected over the internet or via hybrid connectivity. Using this external load balancer you can resolve your issue, follow the source link for more information (source: GCP documentation)

How to access AWS SNS from an application served by internal classic load balancer?

I have an application running in an AWS EKS cluster, the application is previously serving with a public-facing load balancer thus it can easily AWS SNS service, but due to some security reasons we are asked to move that to serve via the internal load balancer, now after moving to the internal load balancer, the application is working but was not able to access SNS service.
How can we configure the application from the internal network to access the AWS SNS service?
You might be after these documents
https://aws.plainenglish.io/publishing-private-amazon-sns-messages-348d38ffc351
https://docs.aws.amazon.com/sns/latest/dg/sns-vpc-tutorial.html
In Short, as you are within a private network, you need to create VPC Endpoints in order to access the AWS services that are outside of a VPC.

WSO2 API Manager - How to configure WSO2 Analytics Server with 2 Instances of API Manager Up and Running

I'm using 2 instances of WSO2 API Manager 2.1.0 within the same node. (one instance as a gateway which is exposed to DMZ)
I tried to configure the WSO2 Analytics Server and came up with the following concern.
Since the gateway is already up and running with an offset of 1, how should I be setting the offset in the Analytics Server in order to get it to work? In the documentation, I noticed this: "By default, WSO2 API Manager has a port offset of 0 (no port offset) and WSO2 API Manager Analytics has an offset of 1. Therefore, this guide assumes that you do not have any other carbon servers running on the same machine with port offsets of 0 or 1." If so how should I proceed with configuring the Analytics Server?
Should I configure 2 Analytics Servers for both instances?
Any guidance for these concerns is highly appreciated.
Thanks in advance.
Configure a different port offset for the analytics server. You can configure the offset in <ANALYTICS_HOME>/repository/conf/carbon.xml. Set the offset as <Offset>2</Offset>. By configuring this, Your analytics server can be up in a different port (APIM_PORT+2).
Only one instance of Analytics is enough. Point all your APIM instances to the analytics server you configured.

secure https with wordpress on google compute engine , cloud sql proxy and cloud SQL

I am setting up a ecommerce site with following configuration.
1. wordpress on ubuntu on google compute engine VM
2. Database on Cloud SQL in the same google cloud project.
Wordpress connects to localhost and is routed to cloud SQL through cloud proxy. It is setup with service account.
I am using letsencrypt SSL certificate on the VM. With this, I am getting secure http:// on browser only for wp-admin session. I get info https level only, for the user sessions.
I tried SSL, using wordpress "secure db connection" plugin on top of the cloud proxy. It does not connect. Without this SSL, it gives me only info https level.
Please let me know the following:
Is the above configuration (cloud sql proxy for connecting to DB instance. And wordpress on VM with SSL) sufficient ? Is the problem in something else?
anyone successfully did cloud sql proxy with SSL ? or any other way to resolve info https problem?

statistics from apim manager if gateway is installed

If gateway server is installed in one server and api manager installed in another server and I have configured DAS in api manager server. Will my DAS server can collect statistics data from api manager server?
If you are using gateway manager or gateway worker profile then you need to enable below OSGI bundles in bundles.info for that profile
org.wso2.carbon.bam.service.data.publisher.stub,4.6.0,../plugins/org.wso2.carbon.bam.service.data.publisher.stub_4.6.0.jar,4,true
org.wso2.carbon.bam.service.data.publisher.ui,4.6.0,../plugins/org.wso2.carbon.bam.service.data.publisher.ui_4.6.0.jar,4,true
org.wso2.carbon.statistics,4.4.8,../plugins/org.wso2.carbon.statistics_4.4.8.jar,4,true
org.wso2.carbon.statistics.stub,4.4.8,../plugins/org.wso2.carbon.statistics.stub_4.4.8.jar,4,true
org.wso2.carbon.statistics.ui,4.4.8,../plugins/org.wso2.carbon.statistics.ui_4.4.8.jar,4,true

Resources