Create a new Application
Applications can be created from the StateMesh Console or using the command line. This guide will show you how to create an application using the StateMesh Console. For instructions on how to use the CLI see the Command line section.
Using the StateMesh Console
The create a new application, follow these steps:
- Log in to the StateMesh Console.
- Click on the
Create...
link in the sidebar underApps
- Choose to start from a Template or choose My own application if you want to start from scratch.
- Provide a
Name
and an optional description for your application and choose the availability zone where your application will run. - Configure the resources for your application:
- Container: Container image for your app from a public or private repository.
- Network: Set the ports used for accessing the container.
- Storage: Add persistent volumes to your container.
- Advanced: Set environment variables, start command, and resource allocation requirements.
- Advanced Settings:
- Update strategy: Choose how the application should be updated by StateMesh
- Annotations: Labels applied to the application for filtering
- Container: Container image for your app from a public or private repository.
info
The Name
of the Application must be unique across each project. It's used for identifying the application in the cluster and for inter-application communication.
Applications can communicate to each-other using Name
as the hostname withing a project.