How CyberArk Built a Tenant Management Service for its SaaS Offering | Amazon Web Services

tfc

Hatched by tfc

Aug 29, 2023

4 min read

0

How CyberArk Built a Tenant Management Service for its SaaS Offering | Amazon Web Services

Forget LAMP Stack: LLM Stack is Here!

In the world of technology, companies are constantly innovating and finding new ways to improve their services. One such example is CyberArk, a company that specializes in cybersecurity solutions. They recently built a tenant management service for their Software-as-a-Service (SaaS) offering, using Amazon Web Services (AWS). This article will explore the steps involved in the tenant creation process and the role played by AWS in this endeavor.

The tenant creation process begins with a delivery team member authenticating to CyberArk's identity provider (IdP). Once logged in, the team member receives a JSON Web Token (JWT) with claims that describe their permissions. This authentication step ensures that only authorized individuals can create new tenants.

After authentication, the team member sends a request to the Amazon API Gateway REST API to create the tenant. This request contains relevant configuration details such as tenant admin contact information, the AWS region to deploy to, and the list of business services to create. The API Gateway acts as a mediator between the team member and the tenant creation process.

Upon receiving the request, the API Gateway triggers a Lambda function called the "create" handler. This function checks the request for authentication and authorization based on the claims in the team member's JWT. If the authentication and authorization checks pass, the "create" handler generates a unique tenant ID for the customer and stores the tenant configuration details in an Amazon DynamoDB table. The tenant status is set to "create in progress," and the "create" handler returns an HTTP 201 code to indicate a successful tenant creation request.

Adding the tenant configuration details to the DynamoDB table creates a new stream record in Amazon DynamoDB Streams. This new stream record triggers another AWS Lambda function called the "dispatcher." The "dispatcher" function parses the DynamoDB Streams record to retrieve the event action, which in this case is "create tenant." It then calls the tenant management Orchestration logical unit with the event details.

The tenant management Orchestration logical unit utilizes AWS Step Functions as the orchestration mechanism. Step Functions is a visual workflow service that helps developers use AWS services to build distributed applications, automate processes, orchestrate microservices, and create data and machine learning (ML) pipelines. In the tenant creation process, the Step Functions workflow performs various tasks, including waiting until all business services have finished tenant creation. Once all tasks are completed, the workflow responds with either a success or failure status.

While CyberArk focused on building their tenant management service, another company called HuggingFace has made significant strides in the field of AI. HuggingFace offers a fully managed infrastructure for deploying enterprise and custom-use models and falls under the SaaS category. With HuggingFace, companies can position themselves closer to the cutting edge of AI technology.

The LLM Stack (Language, Learning, and Models) offered by HuggingFace is an alternative to the traditional LAMP (Linux, Apache, MySQL, PHP) stack. The LLM Stack leverages AI and machine learning to provide more advanced and efficient solutions for businesses. By adopting the LLM Stack, companies can take advantage of the latest advancements in natural language processing and model development.

As the world becomes increasingly reliant on AI, companies that embrace these technologies will have a competitive advantage. By utilizing services like HuggingFace and AWS, businesses can stay at the forefront of innovation and provide their customers with cutting-edge solutions.

In conclusion, the tenant management service built by CyberArk for its SaaS offering showcases the power of AWS in enabling secure and efficient processes. The seamless integration of various AWS services, such as API Gateway, Lambda functions, DynamoDB, and Step Functions, ensures a smooth tenant creation process. Additionally, the emergence of companies like HuggingFace highlights the importance of AI in today's technological landscape.

Actionable Advice:

  1. Embrace cloud-based solutions: Adopting SaaS offerings like CyberArk's tenant management service can streamline your business processes and enhance security.
  2. Stay updated with AI advancements: Explore platforms like HuggingFace to leverage AI and machine learning for improved business outcomes.
  3. Utilize orchestration mechanisms: Consider implementing AWS Step Functions or similar workflow services to automate processes and optimize resource allocation.

Remember, the key to success lies in leveraging the latest technologies and staying ahead of the curve. So, embrace the possibilities offered by the LLM Stack, harness the power of AWS, and propel your business into the future of technology.

Sources

← Back to Library

Hatch New Ideas with Glasp AI 🐣

Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)

Start Hatching 🐣