Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add elasticsearch support #32

Open
AffiTheCreator opened this issue May 18, 2021 · 5 comments · May be fixed by #114
Open

Add elasticsearch support #32

AffiTheCreator opened this issue May 18, 2021 · 5 comments · May be fixed by #114
Labels
application-management Application settings management service feature-request New feature or request tenant-onboarding Tenant onboarding and provisioning service

Comments

@AffiTheCreator
Copy link

Saas Boost already supports all major databases, but it's missing ElasticSearch.

Use Case

I have an application that needs ElasticSearch, currently, the only method to get my application running is installing ElasticSearch Inside of the container with the rest of my application. Not ideal for my use case.

Proposed Solution

Other

This is a 🚀 Feature Request

@AffiTheCreator AffiTheCreator added feature-request New feature or request triage Needs categorization and prioritization labels May 18, 2021
@brtrvn brtrvn removed the triage Needs categorization and prioritization label May 18, 2021
@brtrvn
Copy link
Contributor

brtrvn commented May 18, 2021

Adding support for other services to be provisioned in the tenant environments is definitely on the roadmap. Thank you for submitting Elasticsearch. Other community members should +1 this issue if they value Elasticsearch integration.

The pattern to follow in the current architecture of SaaS Boost would be to add a new "extension" to the tenant onboarding system. Currently, we have 2 extensions -- Filesystem and Database. You could add a 3rd for ES and it could be patterned after the existing database extension to support Amazon Elasticsearch service. You have to choose instance types, version (6 or 7), number of nodes, etc. The Settings Service would gather up all of these variables and the Onboarding Service would look them up at provisioning time to drive a nested CloudFormation stack for each tenant deployment which would configure and instantiate all of the necessary resources. This also gets wired into the main tenant onboarding CloudFormation so that the application containers are provided with the necessary credentials to connect to the cluster.

Each tenant would get its own ES cluster, just as each gets their own Aurora/RDS cluster today. In future versions of SaaS Boost we will find ways to securely support pooled or shared infrastructure.

@aspcanada
Copy link

In future versions of SaaS Boost we will find ways to securely support pooled or shared infrastructure.

Is there some documentation on how we, the community, can get started on making this happen?

@4patelr 4patelr added application-management Application settings management service tenant-onboarding Tenant onboarding and provisioning service labels May 25, 2021
@AffiTheCreator
Copy link
Author

AffiTheCreator commented Jun 1, 2021

I'm working on a solution for this issue, here is what I have so far:

  1. tenant-onboarding-es.yaml - a new extension that gets called during the tenant-onboarding.yaml - https://github.com/AffiTheCreator/aws-saas-boost/blob/elasticsearch/resources/tenant-onboarding-es.yml
  2. Tenant-onboarding - https://github.com/AffiTheCreator/aws-saas-boost/blob/elasticsearch/resources/tenant-onboarding.yaml

EDITED:
@brtrvn

@AffiTheCreator
Copy link
Author

AffiTheCreator commented Jun 7, 2021

@AffiTheCreator
Copy link
Author

Today I got Elasticsearch working with SaaS Boost, maybe a new branch can be created to accommodate the new files.
Let me know if you want me to merge it with the new branch

@AffiTheCreator AffiTheCreator linked a pull request Jul 23, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application-management Application settings management service feature-request New feature or request tenant-onboarding Tenant onboarding and provisioning service
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants