Create an app
Learn how to create an app using the all new Boltic console.
Before you begin, make sure you have a Boltic account. If you don't have one, you can sign up for a free account at boltic.io.
-
Log in to the Boltic console.
-
Select the appropriate organization to which you want to add the app. If you don't have an organization, you will be prompted to create one.
-
Head to the
Compute
section in the sidebar. -
Click on the
Serverless
tab. -
Click
Create serverless
. -
There are multiple ways to create a serverless application as shown below.
Hosted Git
-
This section allows you to create a serverless application by hosting it on a Git repository provided by Boltic.
-
You can connect any of your existing repositories to Boltic by adding a new origin of the hosted repository to it. The instructions to add a new origin are provided in the console.
-
Builds are triggered automatically when you push code to the hosted repository
Note- The application will be in Draft state until you have pushed your code to the hosted repository powering the application
- Make sure you have added an SSH key to your Boltic account. You can find the instructions on how to manage keys in the SSH Keys section.
- Hosted Git is the recommended way to create a serverless application as it provides a seamless experience.
Use a blueprint
-
Blueprints are pre-configured templates that you can use to create your serverless application. You can choose from a variety of blueprints based on your requirements.
-
Once selected, you can modify the code as per your requirements.
-
This method is useful when you want to deploy small functions without much hassle and development overhead.
-
Builds are triggered automatically when you update the code in the console
Container image
Note- Container image currently supports only public repositories and images.
- Support for private repositories and images will be added soon.
-
If you already have a Docker image in a repository and just want to deploy that, you can skip the building process and go straight to the container image option.
-
-
Once you have created the application with all the required details, the status will change to
Building
Builds
-
You can click on any application and go to the
Builds
section to see the build details and logs. -
Once the build is successful, the status will change to
Running
.
Public URL
-
The created application will be accessible through the provided URL in the Boltic console. You can copy the URL by clicking on the
Copy URL
button.
Monitoring
-
You can monitor the application in real-time by going to the Monitor section. Here you can view the application logs, events, and statistics in real-time. This provides valuable insights into your application's performance and behavior.
Test
-
The console also provides a Test section where you can test your application by providing the required input.
Congratulations! You have successfully created and deployed your first serverless application using the Boltic console. 🚀