Catalyst Serverless - A Quick Start Guide
This section covers the overall steps involved in creating and developing your Catalyst applications by leveraging the Catalyst Serverless components. You can engineer, test, and deploy robust applications and microservices of any scale using the various components of Serverless.
- Create a Project - Access the Catalyst console to create a new project. After the project creation is complete, you will be able to access all components of Serverless and other Catalyst services from the console.
Additionally, you can also create a new project in the local environment by initializing it from the CLI. You can initialize project resources like functions, or client services along with the project. You must first install Catalyst CLI and log in to your remote account before you can access the Catalyst commands and work with your application locally.
- Engineer your application - You can initialize your function components as a Basic I/O,Advanced I/O, Event, Cron, Integration, or Browser Logic. You can then code your application locally using an IDE of your preference.
Catalyst Serverless functions can be coded in:
When you initialize your functions, you can choose the stack and install the required dependencies. A few configuration files pertaining to Catalyst will also be installed in your local project directory.
You can refer the code templates present in Catalyst SDKs to incorporate Catalyst CloudScale components in your application, such as for backend functionalities like database, storage, caching, etc and build anything from a simple microservice to a robust enterprise application. There are exclusive SDKs present for each of the supported programming languages, and you also have SDKs available for engineering Web, Android, iOS, and Flutter applications.
Addionally, you can employ Circuits to orchestrate your applications workflow from the console. Security Rules will contain default security definitions for your Basic I/O and Advanced I/O functions.
You can also build and deploy your application or service as an AppSail solution as an entire package. The PaaS component enables you to develop solutions independent of Catalyst and simply host them onto the platform.
-
Test your application - You can test your project resources like the functions or AppSail locally using the catalyst serve CLI command. You can also test the endpoints of your application by accessing them through their catalyst-generated URLs, or test functions by launching a shell for functions by using the CLI command catalyst functions: shell.
-
Deploy to console - Deploy your project resources to the console from the CLI using the catalyst deploy command after you test them locally. You can also upload functions directly in the console.
-
Log and Monitor - You can now avail the components of Catalyst DevOps to log and monitor your function. You can also secure your function endpoints, and perform all operations management tasks with DevOps.
-
Deploy to production - When your application or microservice is ready to be deployed, you can migrate your resources to the production environment.
You can continue to monitor your applications with Catalyst DevOps.
Last Updated 2024-09-12 18:16:13 +0530 +0530
Yes
No
Send your feedback to us